Skip to content

Commit

Permalink
ci: Add aarch64 macOS to CI matrix
Browse files Browse the repository at this point in the history
* Add 'macos-latest' runners which are macos-14 aarch64 machines.
* Add libtool to brew install list.
  • Loading branch information
matthewfeickert committed Sep 16, 2024
1 parent 992874b commit 65f9cc9
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
fail-fast: false
matrix:
python-version: ["3.8", "3.12"]
runs-on: [ubuntu-latest, macos-13]
runs-on: [ubuntu-latest, macos-13, macos-latest]
arch: [auto64]
steps:
- uses: actions/checkout@v4
Expand All @@ -48,16 +48,14 @@ jobs:
- name: Install compiler tools on macOS
if: runner.os == 'macOS'
run: |
brew install make automake swig gmp mpfr boost
export PATH="/usr/local/opt/make/libexec/gnubin:$PATH"
brew install make automake swig gmp mpfr boost libtool
- name: Install extra deps on Linux
if: runner.os == 'Linux'
run: sudo apt-get update && sudo apt-get install -y libboost-dev libmpfr-dev swig autoconf libtool

- name: Install package
run: |
echo $PATH
python -m pip install '.[test]' -v
- name: Test package
Expand All @@ -69,7 +67,7 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-13]
os: [ubuntu-latest, macos-13, macos-latest]
python: [312]
arch: [auto64]

Expand All @@ -86,8 +84,7 @@ jobs:
- name: Install compiler tools on macOS
if: runner.os == 'macOS'
run: |
brew install make automake swig mpfr boost
export PATH="/usr/local/opt/make/libexec/gnubin:$PATH"
brew install make automake swig mpfr boost libtool
- name: Clone gmp
if: runner.os == 'macOS'
Expand Down

0 comments on commit 65f9cc9

Please sign in to comment.