Skip to content

Commit

Permalink
Update macos ci (#69)
Browse files Browse the repository at this point in the history
  • Loading branch information
franziskuskiefer authored Sep 4, 2024
1 parent 7c486f1 commit 3025536
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 12 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/benches.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ jobs:
fail-fast: false
matrix:
os:
- macos-11
- macos-13
- macos-latest
- ubuntu-latest
- windows-latest

Expand Down
4 changes: 1 addition & 3 deletions .github/workflows/ios.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,12 @@ env:

jobs:
build:
runs-on: macos-11
runs-on: macos-13

steps:
- uses: actions/checkout@v2
- name: Setup MacOS
run: |
sudo rm -Rf /Library/Developer/CommandLineTools/SDKs/*
sudo xcode-select -s /Applications/Xcode_12.4.app
rustup target install aarch64-apple-darwin
rustup target install aarch64-apple-ios
- name: Apple Silicon Build
Expand Down
14 changes: 6 additions & 8 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ jobs:
fail-fast: false
matrix:
os:
- macos-11
- macos-13
- macos-latest
- ubuntu-latest
- windows-latest

Expand All @@ -41,23 +42,20 @@ jobs:
working-directory: rust_crypto_provider
run: cargo build --verbose --all-features
# Apple Silicon
- if: matrix.os == 'macos-11'
- if: matrix.os == 'macos-13'
run: |
brew install pkg-config
sudo rm -Rf /Library/Developer/CommandLineTools/SDKs/*
sudo xcode-select -s /Applications/Xcode_12.4.app
rustup target install aarch64-apple-darwin
rustup target install aarch64-apple-ios
- name: Build
run: cargo build --verbose
- name: Apple Silicon Build
if: matrix.os == 'macos-11'
if: matrix.os == 'macos-13'
run: |
cargo build --target aarch64-apple-darwin --tests --verbose
cargo build --release --target aarch64-apple-darwin --tests --verbose
# ARM64 iOS
- name: iOS aarch64
if: matrix.os == 'macos-11'
if: matrix.os == 'macos-13'
run: |
cargo build --target aarch64-apple-ios --tests --verbose
cargo build --release --target aarch64-apple-ios --tests --verbose
Expand Down Expand Up @@ -96,7 +94,7 @@ jobs:
fail-fast: false
matrix:
os:
- macos-11
- macos-13
- ubuntu-latest
runs-on: ${{ matrix.os }}
steps:
Expand Down

0 comments on commit 3025536

Please sign in to comment.