-
Notifications
You must be signed in to change notification settings - Fork 0
41 lines (38 loc) · 948 Bytes
/
build.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
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