Merge pull request #977 from jacereda/nixpkgsci

Attempt to run CI jobs using Nixpkgs.
This commit is contained in:
Erik Svedäng 2020-11-19 08:43:09 +01:00 committed by GitHub
commit b7455dc4d5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

16
.github/workflows/nixpkgs.yml vendored Normal file
View File

@ -0,0 +1,16 @@
name: "Nixpkgs CI"
on:
pull_request:
push:
jobs:
tests:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [macos-latest, ubuntu-latest]
steps:
- uses: actions/checkout@v2.3.4
- uses: cachix/install-nix-action@v12
with:
nix_path: nixpkgs=channel:nixos-unstable
- run: nix-build