Skip to content

Commit 59f77da

Browse files
committed
chore(ci): add back macOS x64 tests
1 parent 8f75005 commit 59f77da

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

.github/workflows/tests.yaml

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,19 +34,27 @@ jobs:
3434
strategy:
3535
fail-fast: false
3636
matrix:
37-
name: [ubuntu-latest, macOS-arm-latest]
37+
name: [ubuntu-latest, macOS-arm-latest, maxOS-x64-latest]
3838
rust: [ '${{ inputs.rust-version }}' ]
3939
features: [all, none, default]
4040
include:
4141
- name: ubuntu-latest
4242
os: ubuntu-latest
4343
release-os: linux
4444
release-arch: amd64
45+
cargo_targets: "x86_64-unknown-linux-musl"
4546
runner: [self-hosted, linux, X64]
4647
- name: macOS-arm-latest
4748
os: macOS-latest
4849
release-os: darwin
4950
release-arch: aarch64
51+
cargo_targets: "aarch64-apple-darwin"
52+
runner: [self-hosted, macOS, ARM64]
53+
- name: macOS-x64-latest
54+
os: macOS-latest
55+
release-os: darwin
56+
release-arch: x86_64
57+
cargo_targets: "x86_64-apple-darwin"
5058
runner: [self-hosted, macOS, ARM64]
5159
env:
5260
# Using self-hosted runners so use local cache for sccache and
@@ -58,10 +66,15 @@ jobs:
5866
with:
5967
ref: ${{ inputs.git-ref }}
6068

69+
- name: Ensure musl support
70+
if: ${{ contains(matrix.cargo_targets, '-musl') }}
71+
run: sudo apt-get install musl-tools -y
72+
6173
- name: Install ${{ matrix.rust }} rust
6274
uses: dtolnay/rust-toolchain@master
6375
with:
6476
toolchain: ${{ matrix.rust }}
77+
targets: ${{ matrix.cargo_targets }}
6578

6679
- name: Install cargo-nextest
6780
uses: taiki-e/install-action@v2

0 commit comments

Comments
 (0)