-
Notifications
You must be signed in to change notification settings - Fork 0
41 lines (40 loc) · 1.11 KB
/
ci.yaml
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: CI
on:
push:
jobs:
pre_ci:
uses: dtolnay/.github/.github/workflows/pre_ci.yml@master
build-packages:
strategy:
fail-fast: false
matrix:
package:
- installer-stable
- alvr
- nixvim
- opentofu
- plasma-aero-theme
- qpm-cli
- sandwine
- wgsl-analyzer
- yt-dlp
- nixosConfigurations.marie-desktop.config.system.build.kernel
name: Build package ${{ matrix.package }}
runs-on: ubuntu-latest
needs: pre_ci
if: needs.pre_ci.outputs.continue
steps:
- uses: actions/checkout@v4
- uses: cachix/install-nix-action@ba0dd844c9180cbf77aa72a116d6fbc515d0e87b # v27
- name: Build ${{ matrix.package }}
env:
CACHIX_AUTH_TOKEN: ${{ secrets.CACHIX_AUTH_TOKEN }}
run: |
nix shell --inputs-from . \
nixpkgs#nix-fast-build \
-c \
nix-fast-build \
--skip-cached \
--no-nom \
--cachix-cache uwumarie \
--flake '.#${{ matrix.package }}'