Skip to content

chiange the world

chiange the world #415

Workflow file for this run

on: push
concurrency: build
jobs:
build:
strategy:
fail-fast: false
max-parallel: 1
matrix:
include:
- name: chi
output: darwinConfigurations.chi.system
runs-on: [macOS, ARM64]
- name: hermes-macos
output: darwinConfigurations.hermes-macos.system
runs-on: [macOS, ARM64]
- name: hermes-nixos
output: nixosConfigurations.hermes-nixos.config.system.build.toplevel
runs-on: [macOS, ARM64]
- name: phi-nixos
output: nixosConfigurations.phi-nixos.config.system.build.toplevel
runs-on: ubuntu-latest
- name: sigma
output: nixosConfigurations.sigma.config.system.build.toplevel
runs-on: ubuntu-latest
- name: echo
output: darwinConfigurations.echo.system
runs-on: [macOS, ARM64]
- name: eris
output: nixosConfigurations.eris.config.system.build.toplevel
runs-on: ubuntu-latest
name: ${{ matrix.name }}
runs-on: ${{ matrix.runs-on }}
steps:
- name: Free space on GitHub-hosted Runner
if: ${{ matrix.runs-on == 'ubuntu-latest' }}
run: |
# 13.5GiB
sudo rm -rf /usr/local/lib/android
# 8.6GiB
sudo rm -rf "$AGENT_TOOLSDIRECTORY"
# 4.7GiB
sudo rm -rf /usr/local/.ghcup
- uses: actions/[email protected]
- uses: cachix/install-nix-action@v22
with:
install_url: https://releases.nixos.org/nix/nix-2.16.1/install
nix_path: nixpkgs=channel:nixos-unstable
- uses: cachix/cachix-action@v15
with:
name: enzime
signingKey: '${{ secrets.CACHIX_SIGNING_KEY }}'
skipAddingSubstituter: ${{ contains(matrix.runs-on, 'macOS') }}
- run: nix flake update
- run: git reset --hard
- run: nix flake check
- run: nix build --print-build-logs .#${{ matrix.output }}