mirror of
https://github.com/hyprwm/hyprgraphics.git
synced 2024-12-27 13:29:49 +01:00
28 lines
605 B
YAML
28 lines
605 B
YAML
|
name: Build & Test
|
||
|
|
||
|
on: [push, pull_request, workflow_dispatch]
|
||
|
jobs:
|
||
|
nix:
|
||
|
strategy:
|
||
|
matrix:
|
||
|
package:
|
||
|
- hyprgraphics
|
||
|
- hyprgraphics-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
|
||
|
|