Skip to content

Commit a06ad9b

Browse files
committed
wip
1 parent 60280bd commit a06ad9b

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
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

0 commit comments

Comments
 (0)