Skip to content

feat: pin Linux 6.12 on everything #10

feat: pin Linux 6.12 on everything

feat: pin Linux 6.12 on everything #10

name: Build 🏗️ Workstations ️️🖥️
on:
push:
branches:
- main
paths:
- 'flake.lock'
workflow_dispatch:
jobs:
build-host:
runs-on: ubuntu-22.04
strategy:
matrix:
host:
- phasma
- vader
permissions:
contents: read
id-token: write
steps:
- uses: actions/checkout@v4
- uses: DeterminateSystems/nix-installer-action@v16
with:
determinate: true
- uses: DeterminateSystems/flakehub-cache-action@v1
- name: Building 👷 ${{ matrix.host }} 🐧
run: |
# Disable non-redist packages
for NON_REDIST in cider pico8; do
if [ -d "pkgs/${NON_REDIST}" ]; then
mv -v "pkgs/${NON_REDIST}" "pkgs/${NON_REDIST}-disabled"
mv -v pkgs/${NON_REDIST}-ci pkgs/${NON_REDIST}
fi
done
nix build .#nixosConfigurations.${{ matrix.host }}.config.system.build.toplevel -L
- uses: "DeterminateSystems/flakehub-push@v5"
with:
include-output-paths: true
visibility: "public"
build-home:
runs-on: ubuntu-22.04
strategy:
matrix:
home:
- martin@phasma
- martin@vader
permissions:
contents: read
id-token: write
steps:
- uses: actions/checkout@v4
- uses: DeterminateSystems/nix-installer-action@v16
with:
determinate: true
- uses: DeterminateSystems/flakehub-cache-action@v1
- name: Building 👷 ${{ matrix.home }} 🏠
run: |
# Disable non-redist packages
for NON_REDIST in cider pico8; do
if [ -d "pkgs/${NON_REDIST}" ]; then
mv -v "pkgs/${NON_REDIST}" "pkgs/${NON_REDIST}-disabled"
mv -v pkgs/${NON_REDIST}-ci pkgs/${NON_REDIST}
fi
done
nix run nixpkgs#home-manager -- build --flake .#${{ matrix.home }} -L
- uses: "DeterminateSystems/flakehub-push@v5"
with:
include-output-paths: true
visibility: "public"