Skip to content

Commit a5fb908

Browse files
committed
Add targets for WASI, Android, and iOS
1 parent 8c593c8 commit a5fb908

2 files changed

Lines changed: 9 additions & 1 deletion

File tree

.github/workflows/build.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -383,6 +383,9 @@ jobs:
383383
- uses: actions/checkout@v4
384384
with:
385385
persist-credentials: false
386+
- uses: dtolnay/rust-toolchain@master
387+
with:
388+
targets: ${{ matrix.arch }}-linux-android
386389
- name: Build and test
387390
run: ./Android/android.py ci --fast-ci ${{ matrix.arch }}-linux-android
388391

@@ -396,7 +399,9 @@ jobs:
396399
- uses: actions/checkout@v4
397400
with:
398401
persist-credentials: false
399-
402+
- uses: dtolnay/rust-toolchain@master
403+
with:
404+
targets: aarch64-apple-ios-sim
400405
# GitHub recommends explicitly selecting the desired Xcode version:
401406
# https://github.com/actions/runner-images/issues/12541#issuecomment-3083850140
402407
# This became a necessity as a result of

.github/workflows/reusable-wasi.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,9 @@ jobs:
4848
uses: actions/setup-python@v5
4949
with:
5050
python-version: '3.x'
51+
- uses: dtolnay/rust-toolchain@master
52+
with:
53+
targets: wasm32-wasip1
5154
- name: "Runner image version"
5255
run: echo "IMAGE_OS_VERSION=${ImageOS}-${ImageVersion}" >> "$GITHUB_ENV"
5356
- name: "Configure build Python"

0 commit comments

Comments
 (0)