Skip to content

Commit b6f2ff9

Browse files
committed
more CI updates
Signed-off-by: Joel Dice <joel.dice@fermyon.com>
1 parent b4cad42 commit b6f2ff9

File tree

2 files changed

+13
-13
lines changed

2 files changed

+13
-13
lines changed

.github/workflows/release.yaml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,8 @@ jobs:
5757
run: |
5858
cd /tmp
5959
curl -LO https://github.com/WebAssembly/wasi-sdk/releases/download/wasi-sdk-${WASI_SDK_VERSION}/wasi-sdk-${WASI_SDK_VERSION}.0-x86_64-linux.tar.gz
60-
tar xf wasi-sdk-${WASI_SDK_VERSION}-x86_64-linux.tar.gz
61-
mv wasi-sdk-${WASI_SDK_VERSION}-x86_64-linux /opt/wasi-sdk
60+
tar xf wasi-sdk-${WASI_SDK_VERSION}.0-x86_64-linux.tar.gz
61+
mv wasi-sdk-${WASI_SDK_VERSION}.0-x86_64-linux /opt/wasi-sdk
6262
6363
- name: Cache CPython
6464
id: cache-cpython-wasi
@@ -84,7 +84,7 @@ jobs:
8484
os: "ubuntu-latest",
8585
arch: "amd64",
8686
maturin_target: "x86_64",
87-
wasiSDK: "linux",
87+
wasiSDK: "x86_64-linux",
8888
extension: "",
8989
buildArgs: "",
9090
target: "",
@@ -94,7 +94,7 @@ jobs:
9494
os: "ubuntu-latest",
9595
arch: "aarch64",
9696
maturin_target: "aarch64",
97-
wasiSDK: "linux",
97+
wasiSDK: "x86_64-linux",
9898
extension: "",
9999
buildArgs: "--target aarch64-unknown-linux-gnu",
100100
target: "aarch64-unknown-linux-gnu",
@@ -104,7 +104,7 @@ jobs:
104104
os: "macos-latest",
105105
arch: "amd64",
106106
maturin_target: "x86_64",
107-
wasiSDK: "macos",
107+
wasiSDK: "x86_64-macos",
108108
extension: "",
109109
buildArgs: "",
110110
target: "",
@@ -114,7 +114,7 @@ jobs:
114114
os: "macos-latest",
115115
arch: "aarch64",
116116
maturin_target: "aarch64",
117-
wasiSDK: "macos",
117+
wasiSDK: "arm64-macos",
118118
extension: "",
119119
buildArgs: "--target aarch64-apple-darwin",
120120
target: "aarch64-apple-darwin",
@@ -124,7 +124,7 @@ jobs:
124124
os: "windows-latest",
125125
arch: "amd64",
126126
maturin_target: "x64",
127-
wasiSDK: "mingw",
127+
wasiSDK: "x86_64-windows",
128128
extension: ".exe",
129129
buildArgs: "",
130130
target: "",
@@ -181,18 +181,18 @@ jobs:
181181
shell: bash
182182
run: |
183183
cd /tmp
184-
curl -LO https://github.com/dicej/wasi-sdk/releases/download/${WASI_SDK_RELEASE}/wasi-sdk-${WASI_SDK_VERSION}-${{ matrix.config.wasiSDK }}.tar.gz
185-
tar xf wasi-sdk-${WASI_SDK_VERSION}-${{ matrix.config.wasiSDK }}.tar.gz
184+
curl -LO https://github.com/WebAssembly/wasi-sdk/releases/download/wasi-sdk-${WASI_SDK_VERSION}/wasi-sdk-${WASI_SDK_VERSION}.0-${{ matrix.config.wasiSDK }}.tar.gz
185+
tar xf wasi-sdk-${WASI_SDK_VERSION}.0-${{ matrix.config.wasiSDK }}.tar.gz
186186
187187
- name: Install WASI-SDK
188188
if: runner.os != 'Windows'
189189
shell: bash
190-
run: sudo mv /tmp/wasi-sdk-${WASI_SDK_VERSION} /opt/wasi-sdk
190+
run: sudo mv /tmp/wasi-sdk-${WASI_SDK_VERSION}.0-${{ matrix.config.wasiSDK }} /opt/wasi-sdk
191191

192192
- name: Install WASI-SDK on Windows
193193
if: runner.os == 'Windows'
194194
shell: bash
195-
run: echo "WASI_SDK_PATH=$(cygpath -m /tmp/wasi-sdk-${WASI_SDK_VERSION})" >> ${GITHUB_ENV}
195+
run: echo "WASI_SDK_PATH=$(cygpath -m /tmp/wasi-sdk-${WASI_SDK_VERSION}.0-${{ matrix.config.wasiSDK }})" >> ${GITHUB_ENV}
196196

197197
- name: Restore CPython
198198
id: cache-cpython-wasi

.github/workflows/test.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,8 @@ jobs:
5555
run: |
5656
cd /tmp
5757
curl -LO https://github.com/WebAssembly/wasi-sdk/releases/download/wasi-sdk-${WASI_SDK_VERSION}/wasi-sdk-${WASI_SDK_VERSION}.0-x86_64-linux.tar.gz
58-
tar xf wasi-sdk-${WASI_SDK_VERSION}-x86_64-linux.tar.gz
59-
mv wasi-sdk-${WASI_SDK_VERSION}-x86_64-linux /opt/wasi-sdk
58+
tar xf wasi-sdk-${WASI_SDK_VERSION}.0-x86_64-linux.tar.gz
59+
mv wasi-sdk-${WASI_SDK_VERSION}.0-x86_64-linux /opt/wasi-sdk
6060
6161
- name: Cache CPython
6262
id: cache-cpython-wasi

0 commit comments

Comments
 (0)