ci: add aarch64-darwin tests where possible

This commit is contained in:
Sander 2024-05-15 09:23:14 +00:00
parent d6c2f5b788
commit 529d659217
No known key found for this signature in database
GPG key ID: D1A763BC84F34603

View file

@ -8,8 +8,12 @@ on:
jobs: jobs:
simple-build: simple-build:
strategy: strategy:
fail-fast: false
matrix: matrix:
os: [ubuntu-latest, macos-13] os:
- ubuntu-latest
- macos-latest
- macos-13
runs-on: ${{ matrix.os }} runs-on: ${{ matrix.os }}
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
@ -22,10 +26,15 @@ jobs:
# cachix should be available and be able to configure a cache # cachix should be available and be able to configure a cache
- run: cachix use cachix - run: cachix use cachix
- run: nix-build test.nix - run: nix-build test.nix
custom-nix-path: custom-nix-path:
strategy: strategy:
fail-fast: false
matrix: matrix:
os: [ubuntu-latest, macos-13] os:
- ubuntu-latest
- macos-latest
- macos-13
runs-on: ${{ matrix.os }} runs-on: ${{ matrix.os }}
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
@ -38,8 +47,12 @@ jobs:
extra-nix-config: extra-nix-config:
strategy: strategy:
fail-fast: false
matrix: matrix:
os: [ubuntu-latest, macos-13] os:
- ubuntu-latest
- macos-latest
- macos-13
runs-on: ${{ matrix.os }} runs-on: ${{ matrix.os }}
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
@ -54,8 +67,12 @@ jobs:
flakes: flakes:
strategy: strategy:
fail-fast: false
matrix: matrix:
os: [ubuntu-latest, macos-13] os:
- ubuntu-latest
- macos-latest
- macos-13
runs-on: ${{ matrix.os }} runs-on: ${{ matrix.os }}
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
@ -65,8 +82,12 @@ jobs:
installer-options: installer-options:
strategy: strategy:
fail-fast: false
matrix: matrix:
os: [ubuntu-latest, macos-13] os:
- ubuntu-latest
# - macos-latest missing installer for aarch64-darwin
- macos-13
runs-on: ${{ matrix.os }} runs-on: ${{ matrix.os }}
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
@ -80,8 +101,12 @@ jobs:
oldest-supported-installer: oldest-supported-installer:
strategy: strategy:
matrix: fail-fast: false
os: [ubuntu-latest, macos-13] matrix:
os:
- ubuntu-latest
- macos-latest
- macos-13
runs-on: ${{ matrix.os }} runs-on: ${{ matrix.os }}
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
@ -94,8 +119,8 @@ jobs:
act-support: act-support:
strategy: strategy:
matrix: matrix:
os: [ubuntu-latest] os: [ubuntu-latest]
runs-on: ${{ matrix.os }} runs-on: ${{ matrix.os }}
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4