Skip to content

CI

CI #1222

Workflow file for this run

name: CI
on:
pull_request:
push:
branches:
- main
workflow_dispatch:
jobs:
build:
strategy:
matrix:
architecture:
- system: x86_64-linux
runner: [linux, x64, ktisis, ktisis-n4-highmem-4, ktisis-30GB]
- system: aarch64-linux
runner: [linux, ARM64, ktisis, ktisis-c4a-highmem-4, ktisis-30GB]
attribute:
- vm.closure
- vm-stable.closure
name: Build - ${{ matrix.architecture.system }} - ${{ matrix.attribute }}
runs-on: ${{ matrix.architecture.runner }}
steps:
- uses: actions/checkout@v4
- uses: DeterminateSystems/nix-installer-action@v16
- uses: cachix/cachix-action@v15
with:
name: cosmic
authToken: ${{ secrets.CACHIX_AUTH_TOKEN }}
- env:
SYSTEM: ${{ matrix.architecture.system }}
ATTRIBUTE: ${{ matrix.attribute }}
run: |
nix -vL build --show-trace --cores 4 --max-jobs 1 --system "$SYSTEM" ".#$ATTRIBUTE"