Skip to content

Commit 4b883cf

Browse files
committed
Add musl32 and android tests
1 parent ecabb6e commit 4b883cf

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

ci.nix

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,8 @@
6666
ghc98 = false;
6767
} // nixpkgs.lib.optionalAttrs (nixpkgsName == "unstable") {
6868
ghc810 = true;
69-
ghc92 = false;
70-
ghc94 = false;
69+
ghc92 = true;
70+
ghc94 = true;
7171
ghc96 = true;
7272
ghc98 = true;
7373
ghc98llvm = false;
@@ -81,30 +81,30 @@
8181
let lib = nixpkgs.lib;
8282
in lib.optionalAttrs (nixpkgsName == "unstable"
8383
&& (__match ".*llvm" compiler-nix-name == null)
84-
&& ((system == "x86_64-linux" && !builtins.elem compiler-nix-name ["ghc884" "ghc902" "ghc928" "ghc948"])
85-
|| (system == "aarch64-linux" && !builtins.elem compiler-nix-name ["ghc884" "ghc902" "ghc928" "ghc948"])
86-
|| (system == "x86_64-darwin" && !builtins.elem compiler-nix-name ["ghc884" "ghc902" "ghc928" "ghc948" "ghc966" "ghc982"])
87-
|| (system == "aarch64-darwin" && !builtins.elem compiler-nix-name ["ghc884" "ghc902" "ghc928" "ghc948" "ghc966" "ghc982"])
84+
&& ((system == "x86_64-linux" && !builtins.elem compiler-nix-name ["ghc902" "ghc928" "ghc948"])
85+
|| (system == "aarch64-linux" && !builtins.elem compiler-nix-name ["ghc902" "ghc928" "ghc948"])
86+
|| (system == "x86_64-darwin" && !builtins.elem compiler-nix-name ["ghc902" "ghc928" "ghc948" "ghc966" "ghc982"])
87+
|| (system == "aarch64-darwin" && !builtins.elem compiler-nix-name ["ghc902" "ghc928" "ghc948" "ghc966" "ghc982"])
8888
)) {
8989
inherit (lib.systems.examples) ghcjs;
9090
} // lib.optionalAttrs (
9191
(__match ".*llvm" compiler-nix-name == null)
92-
&& ((system == "x86_64-linux" && !builtins.elem compiler-nix-name ["ghc884" "ghc902" "ghc928" "ghc91120240918"]) # Including GHC HEAD here because the patches for rts/RtsSymbols.c no longer apply and mingwW64 GHC build fails without them
92+
&& ((system == "x86_64-linux" && !builtins.elem compiler-nix-name ["ghc902" "ghc928" "ghc91120240918"]) # Including GHC HEAD here because the patches for rts/RtsSymbols.c no longer apply and mingwW64 GHC build fails without them
9393
|| (system == "x86_64-darwin" && builtins.elem compiler-nix-name []))) { # TODO add ghc versions when we have more darwin build capacity
9494
inherit (lib.systems.examples) mingwW64;
9595
} // lib.optionalAttrs (nixpkgsName == "unstable"
9696
&& (__match ".*llvm" compiler-nix-name == null)
97-
&& ((system == "x86_64-linux" && !builtins.elem compiler-nix-name ["ghc884" "ghc8107" "ghc902" "ghc928" "ghc948"])
97+
&& ((system == "x86_64-linux" && !builtins.elem compiler-nix-name ["ghc8107" "ghc902" "ghc928" "ghc948"])
9898
|| (system == "x86_64-darwin" && builtins.elem compiler-nix-name []))) { # TODO add ghc versions when we have more darwin build capacity
9999
inherit (lib.systems.examples) ucrt64;
100-
} // lib.optionalAttrs (system == "x86_64-linux" && nixpkgsName == "unstable" && !builtins.elem compiler-nix-name ["ghc884" "ghc902" "ghc928" "ghc948"]) {
100+
} // lib.optionalAttrs (system == "x86_64-linux" && nixpkgsName == "unstable") {
101101
# Musl cross only works on linux
102102
# aarch64 cross only works on linux
103-
inherit (lib.systems.examples) musl64 aarch64-multiplatform;
104-
} // lib.optionalAttrs (system == "x86_64-linux" && nixpkgsName == "unstable" && builtins.elem compiler-nix-name ["ghc927" "ghc928"]) {
103+
inherit (lib.systems.examples) musl32 musl64 aarch64-multiplatform aarch64-android armv7a-android-prebuilt;
104+
} // lib.optionalAttrs (system == "x86_64-linux" && nixpkgsName == "unstable" && !builtins.elem compiler-nix-name ["ghc8107" "ghc902"]) {
105105
# TODO fix this for the compilers we build with hadrian (ghc >=9.4)
106106
inherit (lib.systems.examples) aarch64-multiplatform-musl;
107-
} // lib.optionalAttrs (system == "aarch64-linux" && nixpkgsName == "unstable" && !builtins.elem compiler-nix-name ["ghc884" "ghc8107" "ghc902"]) {
107+
} // lib.optionalAttrs (system == "aarch64-linux" && nixpkgsName == "unstable" && !builtins.elem compiler-nix-name ["ghc8107" "ghc902"]) {
108108
inherit (lib.systems.examples) aarch64-multiplatform-musl;
109109
};
110110
isDisabled = d: d.meta.disabled or false;

0 commit comments

Comments
 (0)