File tree Expand file tree Collapse file tree 1 file changed +30
-0
lines changed
Expand file tree Collapse file tree 1 file changed +30
-0
lines changed Original file line number Diff line number Diff line change 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+ with :
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+ "C:\Program Files\Microsoft Visual Studio\2022\BuildTools\VC\Auxiliary\Build\vcvarsall.bat"
30+ 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
You can’t perform that action at this time.
0 commit comments