Skip to content

Commit

Permalink
Update CI configuration: change Windows OS version to 2022, restore a…
Browse files Browse the repository at this point in the history
…arch64-unknown-linux-musl to test houseabsolute/actions-rust-cross@fix-running-on-arm-host, and put aarch64-unknown-linux-gnu back to cross: true
  • Loading branch information
lilith committed Jan 21, 2025
1 parent b62d02b commit 1c7c191
Showing 1 changed file with 11 additions and 10 deletions.
21 changes: 11 additions & 10 deletions .github/workflows/test_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
fail-fast: false
matrix:
# setup different OS and targets
# TODO: add musl+mimalloc-secure for linux builds to drop libc dependency

include:
- name: ubuntu_20_04-x86_64
os: ubuntu-20.04
Expand Down Expand Up @@ -48,9 +48,10 @@ jobs:
target-cpu: generic
target: aarch64-unknown-linux-gnu
features: neon
cross: 'true'

- name: win32
os: windows-2019
os: windows-2022
target: i686-pc-windows-msvc
cross: 'true'

Expand All @@ -64,13 +65,13 @@ jobs:
# todo target: aarch64-pc-windows-msvc instead of in test_woa.yml (once an official image is released)
# todo: Someday rewrite imageflow for wasm32-unknown-emscripten

# todo: Waiting on https://github.com/NoXF/libwebp-sys/issues/36
# - name: aarch64-unknown-linux-musl
# os: ubuntu-24.04 # cross doesn't support ubuntu-24-arm-32gb
# target-cpu: generic
# target: aarch64-unknown-linux-musl
# features: mimalloc
# cross: 'true'
# todo: Won't pass tests due to https://github.com/NoXF/libwebp-sys/issues/36
- name: aarch64-unknown-linux-musl
os: ubuntu-24-arm-32gb # ubuntu-24.04 # cross doesn't support ubuntu-24-arm-32gb
target-cpu: generic
target: aarch64-unknown-linux-musl
features: mimalloc
cross: 'true'


runs-on: ${{matrix.os}}
Expand Down Expand Up @@ -99,7 +100,7 @@ jobs:

# matrix items USING CROSS
- name: Cross Test
uses: houseabsolute/actions-rust-cross@v1
uses: houseabsolute/actions-rust-cross@fix-running-on-arm-host
env:
RUSTFLAGS: "${{ matrix.cpu-target && format('-C target-cpu={0}',matrix.cpu-target) }}"
with:
Expand Down

0 comments on commit 1c7c191

Please sign in to comment.