fixup! fixup! fixup! fixup! fixup! fixup! fixup! wip: switch from hydra #41
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build flake outputs | |
on: | |
push: | |
branches: | |
- main | |
- next | |
- build/gha-nix-fast-build | |
# pull_request: | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.branch }} | |
cancel-in-progress: true | |
jobs: | |
nix: | |
# runs-on: ${{ matrix.system }} | |
runs-on: [self-hosted] | |
strategy: | |
matrix: | |
system: | |
# - aaarch64-darwin | |
# - aaarch64-linux | |
- x86_64-linux | |
fail-fast: false | |
steps: | |
- uses: actions/checkout@main | |
- name: Run nix-fast-build | |
run: nix-fast-build --flake .#hydraJobs | |
--systems "${{ matrix.system }}" | |
--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 |