Skip to content

Commit 368f33d

Browse files
authored
CI: test cmov on aarch64 native runners (#1437)
Replaces `cross` tests with native runners
1 parent be339a4 commit 368f33d

File tree

2 files changed

+32
-17
lines changed

2 files changed

+32
-17
lines changed

.github/workflows/cmov.yml

Lines changed: 27 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -55,27 +55,47 @@ jobs:
5555
strategy:
5656
matrix:
5757
include:
58-
# `x86` Linux
58+
# `aarch64` Linux
59+
- target: aarch64-unknown-linux-gnu
60+
rust: 1.85.0 # MSRV
61+
runner: ubuntu-24.04-arm
62+
- target: aarch64-unknown-linux-gnu
63+
rust: stable
64+
runner: ubuntu-24.04-arm
65+
66+
# `aarch64` macOS
67+
- target: aarch64-apple-darwin
68+
rust: 1.85.0 # MSRV
69+
runner: macos-latest
70+
- target: aarch64-apple-darwin
71+
rust: stable
72+
runner: macos-latest
73+
74+
# `x86` Linux (32-bit)
5975
- target: i686-unknown-linux-gnu
6076
platform: ubuntu-latest
6177
rust: 1.85.0 # MSRV
6278
deps: sudo apt update && sudo apt install gcc-multilib
79+
- target: i686-unknown-linux-gnu
80+
platform: ubuntu-latest
81+
rust: stable
82+
deps: sudo apt update && sudo apt install gcc-multilib
6383

6484
# `x86_64` Linux
6585
- target: x86_64-unknown-linux-gnu
6686
platform: ubuntu-latest
6787
rust: 1.85.0 # MSRV
88+
- target: x86_64-unknown-linux-gnu
89+
platform: ubuntu-latest
90+
rust: stable
6891

6992
# `x86_64` Windows
7093
- target: x86_64-pc-windows-msvc
7194
platform: windows-latest
7295
rust: 1.85.0 # MSRV
73-
74-
# `x86_64` macOS
75-
- target: x86_64-apple-darwin
76-
platform: macos-latest
77-
rust: 1.85.0 # MSRV
78-
96+
- target: x86_64-pc-windows-msvc
97+
platform: windows-latest
98+
rust: stable
7999
runs-on: ${{ matrix.platform }}
80100
steps:
81101
- uses: actions/checkout@v6
@@ -106,11 +126,6 @@ jobs:
106126
rust: 1.85.0 # MSRV
107127
- target: armv7-unknown-linux-gnueabi
108128
rust: stable # MSRV
109-
# ARM64
110-
- target: aarch64-unknown-linux-gnu
111-
rust: 1.85.0 # MSRV
112-
- target: aarch64-unknown-linux-gnu
113-
rust: stable
114129
# PPC32
115130
- target: powerpc-unknown-linux-gnu
116131
rust: 1.85.0 # MSRV

.github/workflows/ctutils.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ on:
44
pull_request:
55
paths:
66
- ".github/workflows/ctutils.yml"
7+
- "cmov/**"
78
- "ctutils/**"
89
- "Cargo.*"
910
push:
@@ -46,11 +47,10 @@ jobs:
4647
- run: cargo build --target ${{ matrix.target }}
4748
- run: cargo build --target ${{ matrix.target }} --features alloc
4849

49-
# Disabled until there's a stable `cmov` v0.5.0 release
50-
# minimal-versions:
51-
# uses: RustCrypto/actions/.github/workflows/minimal-versions.yml@master
52-
# with:
53-
# working-directory: ${{ github.workflow }}
50+
minimal-versions:
51+
uses: RustCrypto/actions/.github/workflows/minimal-versions.yml@master
52+
with:
53+
working-directory: ${{ github.workflow }}
5454

5555
test:
5656
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)