Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Assume Apple silicon by default #212

Merged
merged 1 commit into from
Sep 1, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 6 additions & 10 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ jobs:
strategy:
matrix:
os: [ macos-latest ]
# NOTE: when changing the MSRV version, change it below as well
rust: [ 1.70.0, stable, nightly ]

steps:
Expand All @@ -24,9 +23,6 @@ jobs:
with:
toolchain: ${{ matrix.rust }}

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

Expand Down Expand Up @@ -71,9 +67,9 @@ jobs:
- name: Run check
run: cargo check --all-features -p security-framework --target aarch64-apple-ios

apple-silicon:
name: Apple Silicon compile-check
runs-on: ubuntu-latest
apple-intel:
name: Old x86-64 test
runs-on: macos-13
steps:
- name: Checkout sources
uses: actions/checkout@v2
Expand All @@ -82,7 +78,7 @@ jobs:
uses: dtolnay/rust-toolchain@v1
with:
toolchain: stable
target: aarch64-apple-darwin
- name: Run check
run: cargo check --all-features -p security-framework --target aarch64-apple-darwin
target: x86_64-apple-darwin
- name: Run test
run: cargo test --all-features -p security-framework --target x86_64-apple-darwin

Loading