]> git.ipfire.org Git - thirdparty/knot-resolver.git/commitdiff
ci/pkgtest: make nixos-unstable into a x86+arm matrix
authorVladimír Čunát <vladimir.cunat@nic.cz>
Thu, 7 Apr 2022 17:29:04 +0000 (19:29 +0200)
committerVladimír Čunát <vladimir.cunat@nic.cz>
Sat, 4 Jun 2022 13:43:50 +0000 (13:43 +0000)
Other pkgtest jobs can't do this, as they're designed for LXC
and we don't have an arm+LXC runner.

ci/pkgtest.yaml

index d2eb61265c43b9465d10d8e3cfd57befe033e9a1..87df49f9a7229ab0e0c94a6e02333bee72b7f0ea 100644 (file)
@@ -143,12 +143,14 @@ ubuntu-21.10:pkgbuild:
 nixos-unstable:pkgbuild:
   <<: *pkgbuild
   # We do NOT use LXC, for now at least.
+  parallel:
+    matrix:
+      - PLATFORM: [ amd64, arm64 ]
   tags:
     - docker
     - linux
-    - amd64
-  # TODO: untag after resolving problems around https://github.com/NixOS/nix/issues/5776
-  image: nixos/nix:2.3.12
+    - ${PLATFORM}
+  image: nixos/nix
 
   variables:
     #NIX_PATH: nixpkgs=https://github.com/nixos/nixpkgs/archive/nixos-unstable.tar.gz