Skip to content

Commit e31f292

Browse files
committed
Assume Apple silicon by default
1 parent 464f8a3 commit e31f292

File tree

1 file changed

+6
-10
lines changed

1 file changed

+6
-10
lines changed

.github/workflows/main.yml

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ jobs:
1212
strategy:
1313
matrix:
1414
os: [ macos-latest ]
15-
# NOTE: when changing the MSRV version, change it below as well
1615
rust: [ 1.70.0, stable, nightly ]
1716

1817
steps:
@@ -24,9 +23,6 @@ jobs:
2423
with:
2524
toolchain: ${{ matrix.rust }}
2625

27-
# `x509_parser` dev-dependency has transitive dependency `time` which
28-
# has a 6-month MSRV policy, don't run tests on MSRV version since they
29-
# will always fail.
3026
- name: Run cargo test
3127
run: cargo test --all-features --all
3228

@@ -71,9 +67,9 @@ jobs:
7167
- name: Run check
7268
run: cargo check --all-features -p security-framework --target aarch64-apple-ios
7369

74-
apple-silicon:
75-
name: Apple Silicon compile-check
76-
runs-on: ubuntu-latest
70+
apple-intel:
71+
name: Old x86-64 test
72+
runs-on: macos-13
7773
steps:
7874
- name: Checkout sources
7975
uses: actions/checkout@v2
@@ -82,7 +78,7 @@ jobs:
8278
uses: dtolnay/rust-toolchain@v1
8379
with:
8480
toolchain: stable
85-
target: aarch64-apple-darwin
86-
- name: Run check
87-
run: cargo check --all-features -p security-framework --target aarch64-apple-darwin
81+
target: x86_64-apple-darwin
82+
- name: Run test
83+
run: cargo test --all-features -p security-framework --target x86_64-apple-darwin
8884

0 commit comments

Comments
 (0)