Add CI workflow 👷

This commit is contained in:
Daniel Thwaites 2022-06-15 15:23:44 +01:00
parent 378380675e
commit 80752af316
No known key found for this signature in database
GPG key ID: D8AFC4BF05670F9D

17
.github/workflows/build.yml vendored Normal file
View file

@ -0,0 +1,17 @@
name: Build
on: push
jobs:
build:
name: Build
uses: nixbuild/nixbuild-action/.github/workflows/ci-workflow.yml@v11
# Secret key will not be available to forks
if: github.repository_owner == 'danth'
secrets:
nixbuild_ssh_key: ${{ secrets.NIXBUILD_SSH_KEY }}
with:
filter_builds: '.system == "x86_64-linux"'
label_builds: '"\(.attr)"'