tangled
alpha
login
or
join now
pluie.me
/
flake
2
fork
atom
All my system configs and packages in one repo
2
fork
atom
overview
issues
pulls
pipelines
ci: switch to tangled spindles
pluie.me
5 months ago
adf05c37
e5c7e904
verified
This commit was signed with the committer's
known signature
.
pluie.me
SSH Key Fingerprint:
SHA256:YtI1D7vlcZ4obaiJ4tQihtswcMhHKdfYZuc4whOX2y8=
0/1
ci.yml
failed
59s
+25
-63
3 changed files
expand all
collapse all
unified
split
.github
workflows
ci.yml
.tangled
workflows
ci.yml
garnix.yaml
-58
.github/workflows/ci.yml
reviewed
···
1
1
-
name: CI
2
2
-
3
3
-
on:
4
4
-
pull_request:
5
5
-
workflow_call:
6
6
-
secrets:
7
7
-
CACHIX_AUTH_TOKEN:
8
8
-
description: "Auth token for cachix"
9
9
-
workflow_dispatch:
10
10
-
11
11
-
env:
12
12
-
JUST_ARGS: --inputs-from . nixpkgs#just --command
13
13
-
14
14
-
jobs:
15
15
-
build:
16
16
-
name: Build outputs
17
17
-
runs-on: ubuntu-latest
18
18
-
19
19
-
steps:
20
20
-
- uses: actions/checkout@v4
21
21
-
22
22
-
- name: Install Nix
23
23
-
uses: DeterminateSystems/nix-installer-action@v9
24
24
-
25
25
-
- name: Setup Cachix
26
26
-
uses: cachix/cachix-action@v14
27
27
-
with:
28
28
-
name: pluiedev
29
29
-
authToken: ${{ secrets.CACHIX_AUTH_TOKEN }}
30
30
-
31
31
-
- name: Run build
32
32
-
run: |
33
33
-
nix shell ${{ env.JUST_ARGS }} just ci
34
34
-
35
35
-
check:
36
36
-
strategy:
37
37
-
fail-fast: false
38
38
-
matrix:
39
39
-
os: [ubuntu-latest, macos-latest]
40
40
-
41
41
-
name: Check flake (${{ matrix.os }})
42
42
-
runs-on: ${{ matrix.os }}
43
43
-
44
44
-
steps:
45
45
-
- uses: actions/checkout@v4
46
46
-
47
47
-
- name: Install Nix
48
48
-
uses: DeterminateSystems/nix-installer-action@v9
49
49
-
50
50
-
- name: Setup Cachix
51
51
-
uses: cachix/cachix-action@v14
52
52
-
with:
53
53
-
name: getchoo
54
54
-
authToken: ${{ secrets.CACHIX_AUTH_TOKEN }}
55
55
-
56
56
-
- name: Run check
57
57
-
run: |
58
58
-
nix shell ${{ env.JUST_ARGS }} just check
+25
.tangled/workflows/ci.yml
reviewed
···
1
1
+
when:
2
2
+
- event: ["push", "pull_request", "manual"]
3
3
+
branch: ["main"]
4
4
+
5
5
+
engine: "nixery"
6
6
+
7
7
+
# using the default values
8
8
+
clone:
9
9
+
skip: false
10
10
+
depth: 1
11
11
+
submodules: false
12
12
+
13
13
+
dependencies:
14
14
+
nixpkgs:
15
15
+
- nix
16
16
+
- cachix
17
17
+
18
18
+
environment:
19
19
+
CACHE_NAME: "pluiedev"
20
20
+
21
21
+
steps:
22
22
+
- name: "Evaluate pappardelle"
23
23
+
command: "nix eval .#nixosConfigurations.pappardelle.config.system.build.toplevel"
24
24
+
- name: "Build pappardelle"
25
25
+
command: "cachix watch-exec $CACHE_NAME -- nix eval .#nixosConfigurations.pappardelle.config.system.build.toplevel"
-5
garnix.yaml
reviewed
···
1
1
-
builds:
2
2
-
exclude: []
3
3
-
include:
4
4
-
- "nixosConfigurations.*"
5
5
-
- "packages.*"