Merge pull request #41 from zimbatm/github-actions

add Github Action to run the tests
This commit is contained in:
Guillaume Bouchard 2020-04-28 13:55:15 +02:00 committed by GitHub
commit 7f934a88ce
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 13 additions and 18 deletions

View File

@ -1,18 +0,0 @@
version: 2
jobs:
nix:
docker:
- image: nixos/nix:latest
working_directory: ~/NixGL
steps:
- checkout
- run:
name: Build all wrapper (with default version for nvidia)
command: nix-build ./all.nix
workflows:
version: 2
nix_stack:
jobs:
- nix

13
.github/workflows/test.yml vendored Normal file
View File

@ -0,0 +1,13 @@
name: 'Test'
on: [ push, pull_request ]
jobs:
test:
name: 'Test'
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v2
- uses: cachix/install-nix-action@v8
- run: nix-build all.nix