Skip to content

Commit 9e495da

Browse files
authored
Test python with ubuntu-24.04-arm in CI (WebAssembly#672)
See if it's faster...
1 parent f69cf1e commit 9e495da

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

.github/workflows/main.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ jobs:
221221
# copy of wasi-libc.
222222
python:
223223
name: Test Python
224-
runs-on: ubuntu-latest
224+
runs-on: ubuntu-24.04-arm
225225
env: ${{ matrix.env || fromJSON('{}') }}
226226
strategy:
227227
fail-fast: false
@@ -237,8 +237,8 @@ jobs:
237237
with:
238238
submodules: true
239239
- run: |
240-
curl https://github.com/WebAssembly/wasi-sdk/releases/download/wasi-sdk-24/wasi-sdk-24.0-x86_64-linux.tar.gz -L | tar xzvf -
241-
echo "WASI_SDK_PATH=`pwd`/wasi-sdk-24.0-x86_64-linux" >> $GITHUB_ENV
240+
curl https://github.com/WebAssembly/wasi-sdk/releases/download/wasi-sdk-24/wasi-sdk-24.0-arm64-linux.tar.gz -L | tar xzvf -
241+
echo "WASI_SDK_PATH=`pwd`/wasi-sdk-24.0-arm64-linux" >> $GITHUB_ENV
242242
if: runner.os == 'Linux'
243243
shell: bash
244244
working-directory: ${{ runner.tool_cache }}

test/CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,8 @@ if(NOT ENGINE OR ENGINE STREQUAL "")
5656
set(WASMTIME_ARCH "x86_64")
5757
elseif (CMAKE_HOST_SYSTEM_PROCESSOR STREQUAL "arm64")
5858
set(WASMTIME_ARCH "aarch64")
59+
elseif (CMAKE_HOST_SYSTEM_PROCESSOR STREQUAL "aarch64")
60+
set(WASMTIME_ARCH "aarch64")
5961
else()
6062
message(FATAL_ERROR "Unsupported architecture ${CMAKE_HOST_SYSTEM_PROCESSOR} for Wasmtime")
6163
endif()

0 commit comments

Comments
 (0)