mirror of
https://github.com/DeterminateSystems/nix-installer-action.git
synced 2024-12-23 13:32:06 +01:00
Merge pull request #87 from DeterminateSystems/fix-docker-invocation
Add CI run for aarch64-darwin
This commit is contained in:
commit
8d4286b90e
1 changed files with 22 additions and 5 deletions
27
.github/workflows/ci.yml
vendored
27
.github/workflows/ci.yml
vendored
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue