mirror of
https://github.com/hyprwm/aquamarine.git
synced 2024-12-22 11:39:49 +01:00
CI/Nix: init
This commit is contained in:
parent
19c19d36e9
commit
aadc5dd5e6
1 changed files with 27 additions and 0 deletions
27
.github/workflows/nix.yml
vendored
Normal file
27
.github/workflows/nix.yml
vendored
Normal file
|
@ -0,0 +1,27 @@
|
|||
name: Build & Test
|
||||
|
||||
on: [push, pull_request, workflow_dispatch]
|
||||
jobs:
|
||||
nix:
|
||||
strategy:
|
||||
matrix:
|
||||
package:
|
||||
- aquamarine
|
||||
- aquamarine-with-tests
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
- uses: cachix/install-nix-action@v26
|
||||
- uses: DeterminateSystems/magic-nix-cache-action@main
|
||||
|
||||
# not needed (yet)
|
||||
# - uses: cachix/cachix-action@v12
|
||||
# with:
|
||||
# name: hyprland
|
||||
# authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
|
||||
|
||||
- name: Build & Test
|
||||
run: nix build .#${{ matrix.package }} --print-build-logs
|
||||
|
Loading…
Reference in a new issue