summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDomen Kožar <domen@dev.si>2020-06-03 13:51:09 (GMT)
committerGitHub <noreply@github.com>2020-06-03 13:51:09 (GMT)
commit6dfc3c20a9788e9f6897a56d0f64377ce9fb87be (patch)
treeefac36e9ddca66cb569537ef59183399de7c2c19
parent12e2b7b813c3b8c9f18399fbffa0337c688ab09e (diff)
parentab0d67ba181b168735363d9e769f4c609b26aa1a (diff)
downloadpatchelf-6dfc3c20a9788e9f6897a56d0f64377ce9fb87be.zip
patchelf-6dfc3c20a9788e9f6897a56d0f64377ce9fb87be.tar.gz
patchelf-6dfc3c20a9788e9f6897a56d0f64377ce9fb87be.tar.bz2
Merge pull request #204 from NixOS/github-actions
github actions -> travis
-rw-r--r--.github/workflows/ci.yml13
-rw-r--r--.travis.yml7
-rw-r--r--release.nix2
3 files changed, 14 insertions, 8 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
new file mode 100644
index 0000000..a4c6829
--- /dev/null
+++ b/.github/workflows/ci.yml
@@ -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
diff --git a/.travis.yml b/.travis.yml
deleted file mode 100644
index e112de4..0000000
--- a/.travis.yml
+++ /dev/null
@@ -1,7 +0,0 @@
-language: cpp
-dist: xenial
-script:
- - ./bootstrap.sh
- - ./configure
- - make
- - cd tests && make check
diff --git a/release.nix b/release.nix
index 2cf9181..06bf91d 100644
--- a/release.nix
+++ b/release.nix
@@ -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
}: