Skip to content

Commit

Permalink
[ci/macos] Adding arm64 for macos CI
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesETsmith committed Oct 1, 2024
1 parent 7907c3e commit 31ef066
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/all_push_masos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [macos-13]
compiler: [g++-12]
os: [macos-14, macos-14-large] # macos-14 is arm64, macos-14-large is x86_64
compiler: [g++-12, g++-13]
python-version: ["3.12"]
steps:
- uses: actions/checkout@v2
Expand All @@ -21,10 +21,11 @@ jobs:
python-version: ${{ matrix.python-version }}
- name: Install Python dependencies
run: python -m pip install cmake scikit-build-core
- name: Configure CMake
env:
CXX: ${{ matrix.compiler }}
run: cmake -B ${{github.workspace}}/build -DCMAKE_CXX_COMPILER=${CXX}
# TODO: improve compiler setup for macos, right now we only use what's already on the github runners
# - name: Configure CMake
# env:
# CXX: ${{ matrix.compiler }}
# run: cmake -B ${{github.workspace}}/build -DCMAKE_CXX_COMPILER=${CXX}
- name: Build
run: |
cmake --build ${{github.workspace}}/build --verbose --parallel
Expand Down

0 comments on commit 31ef066

Please sign in to comment.