File tree Expand file tree Collapse file tree 1 file changed +32
-0
lines changed
Expand file tree Collapse file tree 1 file changed +32
-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+ - uses : egor-tensin/vs-shell@v2
25+ - name : Build native image
26+ run : |
27+ .\build.bat
28+ cd bindings\java
29+ mkdir supranational\blst
30+ swig -c++ -java -package supranational.blst -outdir supranational\blst -o blst_wrap.cpp ..\blst.swg
31+ cl /nologo /LD /O2 /W3 /wd4267 /D_CRT_SECURE_NO_WARNINGS /I "$env:JAVA_HOME\include" /I ..\ /I "$env:JAVA_HOME\include\win32" blst_wrap.cpp ..\..\blst.lib /link /OUT:blst_wrap.dll
32+ dir
You can’t perform that action at this time.
0 commit comments