Merge pull request #204 from NixOS/github-actions

github actions -> travis
This commit is contained in:
Domen Kožar
2020-06-03 15:51:09 +02:00
committed by GitHub
3 changed files with 14 additions and 8 deletions

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

@@ -0,0 +1,13 @@
name: "CI"
on:
pull_request:
push:
jobs:
tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: cachix/install-nix-action@v9
with:
skip_adding_nixpkgs_channel: true
- run: nix-build release.nix

View File

@@ -1,7 +0,0 @@
language: cpp
dist: xenial
script:
- ./bootstrap.sh
- ./configure
- make
- cd tests && make check

View File

@@ -1,5 +1,5 @@
{ patchelfSrc ? { outPath = ./.; revCount = 1234; shortRev = "abcdef"; }
, nixpkgs ? builtins.fetchTarball https://github.com/NixOS/nixpkgs-channels/archive/nixos-19.03.tar.gz
, nixpkgs ? builtins.fetchTarball https://github.com/NixOS/nixpkgs-channels/archive/nixos-20.03.tar.gz
, officialRelease ? false
}: