mirror of
https://github.com/NixOS/patchelf.git
synced 2025-10-23 00:58:24 +08:00
Merge pull request #204 from NixOS/github-actions
github actions -> travis
This commit is contained in:
13
.github/workflows/ci.yml
vendored
Normal file
13
.github/workflows/ci.yml
vendored
Normal 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
|
@@ -1,7 +0,0 @@
|
|||||||
language: cpp
|
|
||||||
dist: xenial
|
|
||||||
script:
|
|
||||||
- ./bootstrap.sh
|
|
||||||
- ./configure
|
|
||||||
- make
|
|
||||||
- cd tests && make check
|
|
@@ -1,5 +1,5 @@
|
|||||||
{ patchelfSrc ? { outPath = ./.; revCount = 1234; shortRev = "abcdef"; }
|
{ 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
|
, officialRelease ? false
|
||||||
}:
|
}:
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user