From ca4c38115a33a139596c24c4cb6fa50a41c537bf Mon Sep 17 00:00:00 2001 From: Penelope Yong Date: Wed, 27 Nov 2024 15:30:30 +0000 Subject: [PATCH] Update macOS GHA runner to aarch64 --- .github/workflows/CI.yml | 46 ++++++++++++++++++++++++++-------------- 1 file changed, 30 insertions(+), 16 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 4015ab331..d3e4352ea 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -19,39 +19,53 @@ permissions: jobs: test: - runs-on: ${{ matrix.os }} + runs-on: ${{ matrix.runner.os }} strategy: matrix: - version: - - 'min' # minimum supported version - - '1' # current stable version - os: - - ubuntu-latest - arch: - - x64 - num_threads: - - 1 - - 2 - include: + runner: + # Current stable version + - version: '1' + os: ubuntu-latest + arch: x64 + num_threads: 2 + # Minimum supported version + - version: 'min' + os: ubuntu-latest + arch: x64 + num_threads: 2 + # Single-threaded + - version: '1' + os: ubuntu-latest + arch: x64 + num_threads: 1 + # Minimum supported version, single-threaded + - version: 'min' + os: ubuntu-latest + arch: x64 + num_threads: 1 + # x86 - version: '1' os: ubuntu-latest arch: x86 num_threads: 2 + # Windows - version: '1' os: windows-latest arch: x64 num_threads: 2 + # macOS - version: '1' os: macOS-latest - arch: x64 + arch: aarch64 num_threads: 2 + steps: - uses: actions/checkout@v4 - uses: julia-actions/setup-julia@v2 with: - version: ${{ matrix.version }} - arch: ${{ matrix.arch }} + version: ${{ matrix.runner.version }} + arch: ${{ matrix.runner.arch }} - uses: julia-actions/cache@v2 @@ -60,7 +74,7 @@ jobs: - uses: julia-actions/julia-runtest@v1 env: GROUP: All - JULIA_NUM_THREADS: ${{ matrix.num_threads }} + JULIA_NUM_THREADS: ${{ matrix.runner.num_threads }} - uses: julia-actions/julia-processcoverage@v1