Merge pull request #87 from DeterminateSystems/fix-docker-invocation

Add CI run for aarch64-darwin
This commit is contained in:
Luc Perkins 2024-05-15 17:25:33 -04:00 committed by GitHub
commit 8d4286b90e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -7,6 +7,15 @@ on:
workflow_dispatch: workflow_dispatch:
jobs: jobs:
tests:
runs-on: ubuntu-22.04
needs:
- check-dist-up-to-date
- install-nix-linux
- install-nix-macos
steps:
- run: true
check-dist-up-to-date: check-dist-up-to-date:
name: Check the dist/ folder is up to date name: Check the dist/ folder is up to date
runs-on: ubuntu-22.04 runs-on: ubuntu-22.04
@ -28,8 +37,9 @@ jobs:
run: git status --porcelain=v1 run: git status --porcelain=v1
- name: Ensure no staged changes - name: Ensure no staged changes
run: git diff --exit-code run: git diff --exit-code
run-test-suite:
name: Run test suite install-nix-linux:
name: Run test suite for Linux systems
strategy: strategy:
matrix: matrix:
runner: runner:
@ -116,9 +126,16 @@ jobs:
duration: 5m duration: 5m
authorized-users: grahamc authorized-users: grahamc
run-x86_64-darwin: install-nix-macos:
name: Run x86_64 Darwin name: Run test suite for macOS systems
runs-on: macos-12 strategy:
matrix:
runner:
# x86_64-darwin
- macos-12
# aarch64-darwin
- macos-latest-xlarge
runs-on: ${{ matrix.runner }}
permissions: permissions:
contents: read contents: read
id-token: write id-token: write