Skip to content

Commit e76e589

Browse files
committed
Reduce the number of compilers tested
1 parent 366a923 commit e76e589

File tree

2 files changed

+10
-12
lines changed

2 files changed

+10
-12
lines changed

ci.nix

+9-11
Original file line numberDiff line numberDiff line change
@@ -62,19 +62,17 @@
6262
# from here (so that is no longer cached) also remove ./materialized/ghcXXX.
6363
# Update supported-ghc-versions.md to reflect any changes made here.
6464
nixpkgs.lib.optionalAttrs (nixpkgsName == "R2405") {
65-
ghc94 = false;
6665
ghc96 = false;
6766
ghc98 = false;
6867
} // nixpkgs.lib.optionalAttrs (nixpkgsName == "unstable") {
6968
ghc810 = true;
70-
ghc90 = false;
71-
ghc92 = true;
72-
ghc94 = true;
69+
ghc92 = false;
70+
ghc94 = false;
7371
ghc96 = true;
74-
ghc96llvm = true;
7572
ghc98 = true;
76-
ghc98llvm = true;
73+
ghc98llvm = false;
7774
ghc910 = true;
75+
ghc910llvm = true;
7876
ghc911 = true;
7977
})));
8078
crossSystems = nixpkgsName: nixpkgs: compiler-nix-name:
@@ -85,21 +83,21 @@
8583
&& (__match ".*llvm" compiler-nix-name == null)
8684
&& ((system == "x86_64-linux" && !builtins.elem compiler-nix-name ["ghc884" "ghc902" "ghc928" "ghc948"])
8785
|| (system == "aarch64-linux" && !builtins.elem compiler-nix-name ["ghc884" "ghc902" "ghc928" "ghc948"])
88-
|| (system == "x86_64-darwin" && !builtins.elem compiler-nix-name ["ghc884" "ghc902" "ghc928" "ghc948"])
89-
|| (system == "aarch64-darwin" && !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"])
9088
)) {
9189
inherit (lib.systems.examples) ghcjs;
9290
} // lib.optionalAttrs (
9391
(__match ".*llvm" compiler-nix-name == null)
94-
&& ((system == "x86_64-linux" && !builtins.elem compiler-nix-name ["ghc884" "ghc91120240620"]) # 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 ["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
9593
|| (system == "x86_64-darwin" && builtins.elem compiler-nix-name []))) { # TODO add ghc versions when we have more darwin build capacity
9694
inherit (lib.systems.examples) mingwW64;
9795
} // lib.optionalAttrs (nixpkgsName == "unstable"
9896
&& (__match ".*llvm" compiler-nix-name == null)
99-
&& ((system == "x86_64-linux" && !builtins.elem compiler-nix-name ["ghc884" "ghc8107" "ghc902" "ghc928"])
97+
&& ((system == "x86_64-linux" && !builtins.elem compiler-nix-name ["ghc884" "ghc8107" "ghc902" "ghc928" "ghc948"])
10098
|| (system == "x86_64-darwin" && builtins.elem compiler-nix-name []))) { # TODO add ghc versions when we have more darwin build capacity
10199
inherit (lib.systems.examples) ucrt64;
102-
} // lib.optionalAttrs (system == "x86_64-linux" && nixpkgsName == "unstable" && !builtins.elem compiler-nix-name ["ghc884"]) {
100+
} // lib.optionalAttrs (system == "x86_64-linux" && nixpkgsName == "unstable" && !builtins.elem compiler-nix-name ["ghc884" "ghc902" "ghc928" "ghc948"]) {
103101
# Musl cross only works on linux
104102
# aarch64 cross only works on linux
105103
inherit (lib.systems.examples) musl64 aarch64-multiplatform;

test/plugin/default.nix

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ in recurseIntoAttrs {
2020

2121
# Not sure why this breaks for ghc 8.10.7
2222
meta.disabled = compiler-nix-name == "ghc8107"
23-
|| builtins.elem compiler-nix-name [ "ghc91120240620" ]
23+
|| builtins.elem compiler-nix-name [ "ghc91120240918" ]
2424
|| stdenv.hostPlatform.isMusl
2525
|| stdenv.hostPlatform.isGhcjs
2626
|| stdenv.hostPlatform.isWindows

0 commit comments

Comments
 (0)