Merge pull request #41 from zimbatm/github-actions
add Github Action to run the tests
This commit is contained in:
commit
7f934a88ce
|
@ -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
13
.github/workflows/test.yml
vendored
Normal 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
|
||||
|
Loading…
Reference in New Issue
Block a user