Skip to content

Commit 1356ad1

Browse files
ci: add windows runner, update runner images
Signed-off-by: Henry <mail@henrygressmann.de>
1 parent c0be647 commit 1356ad1

3 files changed

Lines changed: 30 additions & 17 deletions

File tree

‎.github/workflows/audit.yaml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
security-events: write
3030
uses: google/osv-scanner-action/.github/workflows/osv-scanner-reusable-pr.yml@a345acffa64b0eaede81a3d9aae6141214d9c8fc # v2.6.0
3131
with:
32-
runs-on: ubuntu-24.04
32+
runs-on: ubuntu-26.04
3333
upload-sarif: false
3434
scan-args: --lockfile=./Cargo.lock
3535

@@ -41,6 +41,6 @@ jobs:
4141
security-events: write
4242
uses: google/osv-scanner-action/.github/workflows/osv-scanner-reusable.yml@a345acffa64b0eaede81a3d9aae6141214d9c8fc # v2.6.0
4343
with:
44-
runs-on: ubuntu-24.04
44+
runs-on: ubuntu-26.04
4545
fail-on-vuln: false
4646
scan-args: --lockfile=./Cargo.lock

‎.github/workflows/release.yaml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ on:
55

66
jobs:
77
publish:
8-
runs-on: ubuntu-latest
8+
runs-on: ubuntu-26.04
99
environment: release
1010
permissions:
1111
id-token: write

‎.github/workflows/test.yaml‎

Lines changed: 27 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)