From 1e1867de901651a317244e406c057383952dd509 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Domen=20Ko=C5=BEar?= Date: Tue, 23 Jun 2020 14:16:37 +0200 Subject: CI for aarch64 --- .travis.yml | 4 ++++ release.nix | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 .travis.yml 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; }; -- cgit v0.12