ci: goodbye github builder

Changed files
-67
.github
workflows
-67
.github/workflows/build.yaml
···
-
name: Check and Build configuration
-
-
on:
-
push:
-
-
jobs:
-
check:
-
runs-on: ubuntu-latest
-
steps:
-
- name: Checkout
-
uses: actions/checkout@v4
-
-
- name: Replace .cry files with some bollocks
-
run: find . -name "*.cry" -execdir bash -c 'echo some bollocks > {}' \;
-
-
- name: Install Nix
-
uses: DeterminateSystems/nix-installer-action@v10
-
with:
-
extra-conf: |
-
experimental-features = nix-command flakes
-
-
- name: Run nix flake check
-
run: nix flake check
-
-
- name: Check with DeterminateSystems/flake-checker-action
-
uses: DeterminateSystems/flake-checker-action@v5
-
with:
-
ignore-missing-flake-lock: false
-
-
build:
-
needs: check
-
runs-on: ubuntu-latest
-
strategy:
-
matrix:
-
host:
-
- koumakan
-
- renko
-
- bocchi
-
- kita
-
- ryo
-
- nijika
-
-
steps:
-
- name: Maximize build space
-
uses: easimon/maximize-build-space@master
-
with:
-
overprovision-lvm: 'true'
-
remove-dotnet: 'true'
-
remove-android: 'true'
-
remove-haskell: 'true'
-
remove-codeql: 'true'
-
remove-docker-images: 'true'
-
-
- name: Checkout
-
uses: actions/checkout@v4
-
-
- name: Install Nix
-
uses: DeterminateSystems/nix-installer-action@v10
-
with:
-
extra-conf: |
-
fallback = true # why is this not the default?
-
connect-timeout = 30
-
netrc-file = /etc/nix/netrc
-
experimental-features = nix-command flakes
-
-
- name: Build configuration
-
run: nix run github:Mic92/nix-fast-build -- --no-nom --skip-cached --flake .#nixosConfigurations."${{ matrix.host }}".config.system.build.toplevel
···