diff options
author | Domen Kožar <domen@dev.si> | 2020-06-23 14:16:37 +0200 |
---|---|---|
committer | Domen Kožar <domen@dev.si> | 2020-06-23 14:48:47 +0200 |
commit | 1e1867de901651a317244e406c057383952dd509 (patch) | |
tree | 437061a2a526ba45c42c194294778aab7c7ddd7c | |
parent | 33daa5afcb24a1a8d5cc746de06f26d9a89bce35 (diff) | |
download | patchelf-aarch64.tar.gz |
CI for aarch64aarch64
-rw-r--r-- | .travis.yml | 4 | ||||
-rw-r--r-- | release.nix | 3 |
2 files changed, 6 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..1585844 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,4 @@ +arch: + - arm64 +language: nix +script: nix-build release.nix -A build.aarch64-linux diff --git a/release.nix b/release.nix index 06bf91d..dbac5e2 100644 --- a/release.nix +++ b/release.nix @@ -1,6 +1,7 @@ { patchelfSrc ? { outPath = ./.; revCount = 1234; shortRev = "abcdef"; } , nixpkgs ? builtins.fetchTarball https://github.com/NixOS/nixpkgs-channels/archive/nixos-20.03.tar.gz , officialRelease ? false +, systems ? [ "x86_64-linux" "i686-linux" "aarch64-linux" ] }: let @@ -39,7 +40,7 @@ let }; - build = pkgs.lib.genAttrs [ "x86_64-linux" "i686-linux" "aarch64-linux" /* "x86_64-freebsd" "i686-freebsd" "x86_64-darwin" "i686-solaris" "i686-cygwin" */ ] (system: + build = pkgs.lib.genAttrs systems (system: with import nixpkgs { inherit system; }; |