-
Notifications
You must be signed in to change notification settings - Fork 238
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Move more CI to 20.09 (attempt 2) #975
Changes from 14 commits
f7f7bf1
3446d2e
524c4f4
9b4184c
0bcedfe
7ec06f8
8a185f0
1accb2c
b405cd7
a805b6e
7ab55f6
bd2b99b
5a70a4e
565b31f
05ba746
e6f2a28
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,14 +24,12 @@ | |
# Update supported-ghc-versions.md to reflect any changes made here. | ||
{ | ||
ghc865 = true; | ||
} // nixpkgs.lib.optionalAttrs (nixpkgsName == "R2003") { | ||
} // nixpkgs.lib.optionalAttrs (nixpkgsName == "R2009") { | ||
ghc883 = false; | ||
ghc884 = true; | ||
ghc8101 = false; | ||
ghc8102 = true; | ||
ghc810220201118 = false; | ||
} // nixpkgs.lib.optionalAttrs (nixpkgsName == "R2009") { | ||
ghc8102 = true; | ||
}); | ||
systems = nixpkgs: nixpkgs.lib.filterAttrs (_: v: builtins.elem v supportedSystems) { | ||
# I wanted to take these from 'lib.systems.examples', but apparently there isn't one for linux! | ||
|
@@ -42,9 +40,11 @@ | |
# We need to use the actual nixpkgs version we're working with here, since the values | ||
# of 'lib.systems.examples' are not understood between all versions | ||
let lib = nixpkgs.lib; | ||
in lib.optionalAttrs (nixpkgsName == "R2003" && (__elem compiler-nix-name ["ghc865" "ghc884"])) { | ||
in lib.optionalAttrs (nixpkgsName == "R2009" && (__elem compiler-nix-name ["ghc865" "ghc884"])) { | ||
inherit (lib.systems.examples) ghcjs; | ||
} // lib.optionalAttrs (system == "x86_64-linux" && (nixpkgsName == "R2009" || (!(__elem compiler-nix-name ["ghc8101" "ghc8102" "ghc810220201118"])))) { | ||
} // lib.optionalAttrs (system == "x86_64-linux" && ( | ||
(nixpkgsName == "R2009" && __elem compiler-nix-name ["ghc8101" "ghc8102" "ghc810220201118"]) | ||
|| (nixpkgsName == "R2003" && __elem compiler-nix-name ["ghc865"]))) { | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I'm not sure this change matches the commit message? This turns off 8.10 + 20.09 and 8.6.5 + 20.03, is that what you meant to do? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Ignore me, I can't read. |
||
# Windows cross compilation is currently broken on macOS | ||
inherit (lib.systems.examples) mingwW64; | ||
} // lib.optionalAttrs (system == "x86_64-linux") { | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe we should flip this and only run ghcjs tests on a particular chosen GHC version. IDK.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I also can't read here (for some reason I thought this was
!elem
)