Skip to content

Commit

Permalink
ci: add arm64 macos runner
Browse files Browse the repository at this point in the history
  • Loading branch information
vthib committed Dec 9, 2024
1 parent 0b42fcf commit 46263a1
Showing 1 changed file with 15 additions and 3 deletions.
18 changes: 15 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -135,8 +135,8 @@ jobs:
target: i686-pc-windows-msvc

test-macos:
name: Test Macos 13
runs-on: macos-13
name: Test ${{matrix.runner}}
runs-on: ${{matrix.runner}}

env:
RUSTFLAGS: -Dwarnings
Expand All @@ -154,7 +154,9 @@ jobs:
- name: Run tests
env:
YARA_CRYPTO_LIB: openssl
run: cargo test
run: |
pkg-config --cflags libcrypto
cargo test
- name: Run tests with Openssl
env:
Expand All @@ -171,6 +173,16 @@ jobs:
run: |
sudo cargo test -- --test-threads=1 --ignored
strategy:
fail-fast: false
matrix:
build: [macos-x64, macos-arm64]
include:
- build: macos-x64
runner: macos-13
- build: macos-arm64
runner: macos-14

clippy:
name: Clippy
runs-on: ubuntu-22.04
Expand Down

0 comments on commit 46263a1

Please sign in to comment.