Skip to content

fixup! fixup! fixup! fixup! fixup! fixup! wip: switch from hydra #50

fixup! fixup! fixup! fixup! fixup! fixup! wip: switch from hydra

fixup! fixup! fixup! fixup! fixup! fixup! wip: switch from hydra #50

Workflow file for this run

name: Build flake outputs
on:
push:
branches:
- main
- next
- build/gha-nix-fast-build
# pull_request:
env:
BRANCH_NAME: ${{ github.head_ref || github.ref_name }}
RUN_ID: ${{ github.run_id }}
concurrency:
group: ${{ github.workflow }}-${{ github.branch }}
cancel-in-progress: true
jobs:
build:
# runs-on: ${{ matrix.system }}
runs-on: [self-hosted]
strategy:
matrix:
job:
- systems: x86_64-linux
- systems: aaarch64-darwin aaarch64-linux
mac_address: 16:3e:75:99:c8:5a
fail-fast: false
steps:
- uses: actions/checkout@main
- name: Wake builder
if: ${{ matrix.job.mac_address != '' }}
run: wol "${{ matrix.job.mac_address }}"
- name: Run nix-fast-build
run: nix-fast-build --flake .#hydraJobs
--systems "${{ matrix.job.systems }}"
--eval-workers 4
--result-format junit
--result-file report.xml
--no-nom
- name: Generate build report
uses: dorny/test-reporter@main
if: success() || failure()
with:
name: Build Repoprt
path: report.xml
reporter: jest-junit
- name: Add GC roots
if: success()
run: ./.github/workflows/gc-roots.nu add "$BRANCH_NAME" "$RUN_ID"