Skip to content

Build ISO

Build ISO #7

Workflow file for this run

name: "Build ISO"
on:
workflow_dispatch:
jobs:
tests:
strategy:
matrix:
arch:
- x86_64
# - aarch64
nixPath:
- nixpkgs=channel:nixos-unstable
runs-on: ubuntu-latest
steps:
- name: Free Disk Space (Ubuntu)
uses: jlumbroso/free-disk-space@main
with:
# this might remove tools that are actually needed,
# if set to "true" but frees about 6 GB
tool-cache: false
# all of these default to true, but feel free to set to
# "false" if necessary for your workflow
android: true
dotnet: true
haskell: true
large-packages: true
docker-images: true
swap-storage: true
- name: Checkout repository
uses: actions/checkout@v4
- name: Install nix
uses: cachix/install-nix-action@v23
with:
nix_path: "${{ matrix.nixPath }}"
extra_nix_config: |
experimental-features = nix-command flakes
access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}
- name: Show nixpkgs version
run: nix-instantiate --eval -E '(import <nixpkgs> {}).lib.version'
- name: Build x86_64 ISO
if: ${{ matrix.arch == 'x86_64' }}
run: nix build .#iso --accept-flake-config