File tree Expand file tree Collapse file tree 4 files changed +6
-5
lines changed
Expand file tree Collapse file tree 4 files changed +6
-5
lines changed Original file line number Diff line number Diff line change 11# see https://github.com/WebAssembly/wasi-sdk/releases for exact possibilities
22WASI_OS=macos # 'macos' | 'linux' | ''windows'
33WASI_ARCH=x86_64 # 'x86_64' | 'arm64'
4- WASI_VERSION=25
4+ WASI_VERSION=27
55WASI_VERSION_FULL=${WASI_VERSION}.0
Original file line number Diff line number Diff line change 1717 else
1818 echo "WASI_OS=linux" >> $GITHUB_ENV
1919 fi
20- echo "WASI_VERSION_FULL=25 .0" >> $GITHUB_ENV
21- echo "WASI_VERSION=25 " >> $GITHUB_ENV
20+ echo "WASI_VERSION_FULL=27 .0" >> $GITHUB_ENV
21+ echo "WASI_VERSION=27 " >> $GITHUB_ENV
2222 - uses : actions/checkout@v4
2323 - uses : actions-rs/toolchain@v1
2424 with :
Original file line number Diff line number Diff line change 1717 else
1818 echo "WASI_OS=linux" >> $GITHUB_ENV
1919 fi
20- echo "WASI_VERSION_FULL=25 .0" >> $GITHUB_ENV
21- echo "WASI_VERSION=25 " >> $GITHUB_ENV
20+ echo "WASI_VERSION_FULL=27 .0" >> $GITHUB_ENV
21+ echo "WASI_VERSION=27 " >> $GITHUB_ENV
2222 - uses : actions/checkout@v4
2323 - uses : actions-rs/toolchain@v1
2424 with :
Original file line number Diff line number Diff line change @@ -18,6 +18,7 @@ dl-wasi-sdk:
1818 FILENAME=wasi-sdk-${WASI_VERSION_FULL}-${WASI_ARCH}-${WASI_OS}.tar.gz
1919 curl -L -o c_deps/ ${FILENAME} https:// github.com/ WebAssembly/ wasi-sdk/ releases/ download/ wasi-sdk-${WASI_VERSION}/ ${FILENAME}
2020 tar -C c_deps -xvf c_deps/ ${FILENAME}
21+ rm -rf c_deps/ wasi-sdk
2122 mv c_deps/ wasi-sdk-${WASI_VERSION_FULL}-${WASI_ARCH}-${WASI_OS} c_deps/ wasi-sdk
2223
2324# Generate the C bindings for the plugin
You can’t perform that action at this time.
0 commit comments