We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 60280bd commit 768aaf5Copy full SHA for 768aaf5
1 file changed
.github/workflows/build-windows.yml
@@ -0,0 +1,29 @@
1
+name: Publish artifacts to Maven Central
2
+
3
+on:
4
+ pull_request:
5
+ workflow_dispatch:
6
+ inputs:
7
+ version:
8
+ description: Version
9
+ default: 0.3.15
10
11
+jobs:
12
+ build-native:
13
+ runs-on: windows-2022
14
15
+ steps:
16
+ - uses: actions/checkout@v4
17
+ with:
18
+ repository: supranational/blst
19
+ ref: v0.3.15
20
+ - uses: actions/setup-java@v4
21
22
+ distribution: 'temurin'
23
+ java-version: '11'
24
+ - name: Build native image
25
+ run: |
26
+ .\build.bat
27
+ cd bindings\java
28
+ swig -c++ -java -package supranational.blst -outdir supranational\blst -o blst_wrap.cpp .\blst.swg
29
+ cl /nologo /LD /O2 /W3 /D_CRT_SECURE_NO_WARNINGS /I "%JAVA_HOME%\include" /I "%JAVA_HOME%\include\win32" blst_wrap.cpp libblst.lib %LDFLAGS% /link /OUT:blst_wrap.dll
0 commit comments