Give myself access to non-critical infra #93
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: | |
branches: | |
- master | |
pull_request: | |
merge_group: | |
permissions: | |
contents: read | |
jobs: | |
# We probably should replace with a different faster CI soon, | |
# but atleast this gives us confidence for now | |
nix-build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: cachix/install-nix-action@V28 | |
- uses: DeterminateSystems/magic-nix-cache-action@v8 | |
- run: nix run github:Mic92/nix-fast-build -- --no-nom | |
# all builds combined consume too much disk space... we should soon switch to something else | |
nixos: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
# we actually cannot build umbriel just now | |
# but it also looks like it doesn't run important stuff | |
#machine: [caliban, umbriel] | |
machine: [caliban] | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: cachix/install-nix-action@V28 | |
- uses: DeterminateSystems/magic-nix-cache-action@v8 | |
- run: nix build '.#nixosConfigurations."${{ matrix.machine }}.nixos.org".config.system.build.toplevel' | |
nix-darwin: | |
runs-on: macos-latest | |
strategy: | |
matrix: | |
# Doesn't seem that x86_64 is still in use? | |
machine: [arm64] | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: cachix/install-nix-action@V28 | |
- uses: DeterminateSystems/magic-nix-cache-action@v8 | |
- run: nix build '.#darwinConfigurations."${{ matrix.machine }}".config.system.build.toplevel' |