Skip to content

Commit ab09011

Browse files
committed
build swig
1 parent 325b8f5 commit ab09011

1 file changed

Lines changed: 15 additions & 1 deletion

File tree

.github/workflows/publish.yml

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
include:
3030
- platform: darwin
3131
os: macos-14
32-
brew-packages: https://raw.githubusercontent.com/Homebrew/homebrew-core/d68a6bc0fa0fe84d4ab40a7df228a2b9bc48bc37/Formula/s/swig.rb
32+
brew-packages: swig
3333
cmd: ./run.me
3434
- platform: darwin
3535
arch: x86-64
@@ -56,6 +56,20 @@ jobs:
5656
cl /nologo /MT /LD /O2 /W3 /wd4267 /EHsc /D_CRT_SECURE_NO_WARNINGS /I "$env:JAVA_HOME\include" /I ..\ /I "$env:JAVA_HOME\include\win32" blst_wrap.cpp blst.lib /link /OUT:supranational/blst/Windows/amd64/blst.dll
5757
5858
steps:
59+
- uses: actions/checkout@v6
60+
with:
61+
repository: swig/swig
62+
path: swig
63+
ref: v4.2.1
64+
- run: |
65+
cd swig
66+
./autogen.sh
67+
./configure --prefix=$HOME/swig
68+
make
69+
make install
70+
cd ~/swig/share/swig && ln -s `ls` current
71+
echo "$HOME/swig/bin" >> $GITHUB_PATH
72+
- run: swig --version
5973
- uses: actions/checkout@v6
6074
with:
6175
repository: supranational/blst

0 commit comments

Comments
 (0)