@@ -16,36 +16,38 @@ jobs:
1616 strategy :
1717 matrix :
1818 include :
19- - os : ubuntu-latest
19+ - os : ubuntu-26.04
2020 rust : stable
2121 name : " Linux x86 (stable)"
22- - os : ubuntu-latest
22+ - os : ubuntu-26.04
2323 rust : nightly
2424 name : " Linux x86 (nightly)"
25- - os : ubuntu-latest
25+ - os : ubuntu-26.04
2626 rust : nightly
2727 name : " Linux x86 (nightly tail calls)"
2828 args : " --features tinywasm/nightly-tail-calls"
29- - os : ubuntu-latest
29+ - os : ubuntu-26.04
3030 rust : stable
3131 name : " Linux x86 (stable, no default features)"
3232 args : " --no-default-features"
33- - os : ubuntu-latest
33+ - os : ubuntu-26.04
3434 rust : nightly
3535 name : " Linux x86 (nightly, no default features)"
3636 args : " --no-default-features"
37- - os : ubuntu-latest
37+ - os : ubuntu-26.04
3838 rust : nightly
3939 name : " Linux x86 (nightly tail calls, no default features)"
4040 args : " --no-default-features --features tinywasm/nightly-tail-calls"
41- - os : macos-14
41+ - os : macos-26
4242 rust : stable
4343 name : " macOS arm64 (Apple M1)"
44- - os : ubuntu-latest
44+ - os : windows-2025
45+ rust : stable
46+ name : " Windows x86_64"
47+ - os : ubuntu-26.04-arm
4548 rust : stable
4649 name : " Linux arm64"
47- target : aarch64-unknown-linux-gnu
48- - os : ubuntu-latest
50+ - os : ubuntu-26.04-arm
4951 rust : stable
5052 name : " Linux armv7"
5153 target : armv7-unknown-linux-gnueabihf
@@ -75,10 +77,21 @@ jobs:
7577 run : cargo clippy --workspace ${{ matrix.args }}
7678 if : matrix.target == ''
7779
78- - name : Run tests (${{ matrix.target }})
79- uses : houseabsolute/actions-rust-cross@21b0f18dc621b25bfae556ff2791fca4173121e8 # v1.0.8
80+ - name : Install armv7 tools
81+ run : sudo apt-get update && sudo apt-get install -y gcc-arm-linux-gnueabihf qemu-user
82+ if : matrix.target != ''
83+
84+ - name : Install Rust toolchain (${{ matrix.target }})
85+ uses : actions-rust-lang/setup-rust-toolchain@ecabd13d1c56bd1345c230e542e9144811ad706f # v2.0.0
8086 with :
81- command : test
82- target : ${{ matrix.target }}
8387 toolchain : ${{ matrix.rust }}
88+ target : ${{ matrix.target }}
89+ rustflags : " "
90+ if : matrix.target != ''
91+
92+ - name : Run tests (${{ matrix.target }})
93+ run : cargo test --workspace --target ${{ matrix.target }}
94+ env :
95+ CARGO_TARGET_ARMV7_UNKNOWN_LINUX_GNUEABIHF_LINKER : arm-linux-gnueabihf-gcc
96+ CARGO_TARGET_ARMV7_UNKNOWN_LINUX_GNUEABIHF_RUNNER : qemu-arm -L /usr/arm-linux-gnueabihf
8497 if : matrix.target != ''
0 commit comments