Add github CI
This commit is contained in:
parent
a0672b6bc6
commit
25b96fcc3d
1 changed files with 22 additions and 0 deletions
22
.github/workflows/ci.yaml
vendored
Normal file
22
.github/workflows/ci.yaml
vendored
Normal file
|
@ -0,0 +1,22 @@
|
|||
name: "CI"
|
||||
on:
|
||||
# Run only when pushing to master branch, and making PRs
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
pull_request:
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: cachix/install-nix-action@v13
|
||||
with:
|
||||
install_url: https://nixos-nix-install-tests.cachix.org/serve/i6laym9jw3wg9mw6ncyrk6gjx4l34vvx/install
|
||||
install_options: "--tarball-url-prefix https://nixos-nix-install-tests.cachix.org/serve"
|
||||
extra_nix_config: |
|
||||
experimental-features = nix-command flakes
|
||||
- name: Build
|
||||
id: build
|
||||
run: |
|
||||
nix build -j auto
|
Loading…
Reference in a new issue