Skip to content

Commit aadc5dd

Browse files
committed
CI/Nix: init
1 parent 19c19d3 commit aadc5dd

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

.github/workflows/nix.yml

+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: Build & Test
2+
3+
on: [push, pull_request, workflow_dispatch]
4+
jobs:
5+
nix:
6+
strategy:
7+
matrix:
8+
package:
9+
- aquamarine
10+
- aquamarine-with-tests
11+
12+
runs-on: ubuntu-latest
13+
steps:
14+
- uses: actions/checkout@v3
15+
16+
- uses: cachix/install-nix-action@v26
17+
- uses: DeterminateSystems/magic-nix-cache-action@main
18+
19+
# not needed (yet)
20+
# - uses: cachix/cachix-action@v12
21+
# with:
22+
# name: hyprland
23+
# authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
24+
25+
- name: Build & Test
26+
run: nix build .#${{ matrix.package }} --print-build-logs
27+

0 commit comments

Comments
 (0)