wip: unfucking something #71
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
push: | |
# We don't want to wasted CI minutes on things already on main | |
branches-ignore: | |
- 'main' | |
jobs: | |
check_development: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ macos-12, macos-14, ubuntu-latest ] | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 1 | |
- uses: DeterminateSystems/nix-installer-action@main | |
- uses: DeterminateSystems/magic-nix-cache-action@main | |
- name: Test nix environment | |
run: nix develop | |
check_linux: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
host: [ fat-controller, mum, patient-zero ] | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 1 | |
- uses: DeterminateSystems/nix-installer-action@main | |
- uses: DeterminateSystems/magic-nix-cache-action@main | |
- uses: DeterminateSystems/flake-checker-action@main | |
- name: Test system builds | |
run: | | |
nix build .#nixosConfigurations.${{ matrix.host }}.config.system.build.toplevel | |
check_x86_64-darwin: | |
runs-on: macos-12 | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 1 | |
- uses: DeterminateSystems/nix-installer-action@main | |
- uses: DeterminateSystems/magic-nix-cache-action@main | |
- name: Test machine | |
run: nix build .#darwinConfigurations.macbookpro.system | |
check_aarch64-darwin: | |
runs-on: macos-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 1 | |
- uses: DeterminateSystems/nix-installer-action@main | |
- uses: DeterminateSystems/magic-nix-cache-action@main | |
- name: Test machine | |
run: nix build .#darwinConfigurations.AU-AM-1820.system |