Skip to content

Commit

Permalink
Enable aarch64-linux in ci (#2069)
Browse files Browse the repository at this point in the history
* Enable aarch64-linux in ci

We are not building haskell.nix CI on ci.iog.io for now.

* ifdLevel 0

* Bump nix-tools haskellNix

* Bump nix-tools haskellNix

* Disable aarch64-multiplatform-musl for now

* ifdLevel 1

* Run Hydra

* Drop nixpkgs R2211 from ci

* ifdLevel 2

* ifdLevel 3

* Remove ghc9820230704 from ci
  • Loading branch information
hamishmack authored Oct 2, 2023
1 parent 54adb7f commit 3d2b0bf
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 32 deletions.
8 changes: 1 addition & 7 deletions ci.nix
Original file line number Diff line number Diff line change
Expand Up @@ -71,12 +71,7 @@
# cabal-install and nix-tools plans. When removing a ghc version
# from here (so that is no longer cached) also remove ./materialized/ghcXXX.
# Update supported-ghc-versions.md to reflect any changes made here.
nixpkgs.lib.optionalAttrs (nixpkgsName == "R2211") {
ghc8107 = false;
ghc902 = false;
ghc928 = false;
ghc947 = false;
} // nixpkgs.lib.optionalAttrs (nixpkgsName == "R2305") {
nixpkgs.lib.optionalAttrs (nixpkgsName == "R2305") {
ghc8107 = false;
ghc902 = false;
ghc928 = false;
Expand All @@ -89,7 +84,6 @@
ghc928 = true;
ghc947 = true;
ghc962 = true;
ghc9820230704 = true;
${ghc980X nixpkgs} = true;
${ghc99X nixpkgs} = true;
}));
Expand Down
3 changes: 1 addition & 2 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -108,8 +108,7 @@
systems = [
"x86_64-linux"
"x86_64-darwin"
# TODO switch back on when ci.iog.io has builders for aarch64-linux
# "aarch64-linux"
"aarch64-linux"
"aarch64-darwin"
];

Expand Down
42 changes: 21 additions & 21 deletions nix-tools/flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 3 additions & 2 deletions nix-tools/flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,9 @@
# tarballs with static builds.
// lib.optionalAttrs (pkgs.buildPlatform.system == "x86_64-linux")
{ binary-tarball = mkTarball pkgs.pkgsCross.musl64; }
// lib.optionalAttrs (pkgs.buildPlatform.system == "aarch64-linux")
{ binary-tarball = mkTarball pkgs.pkgsCross.aarch64-multiplatform-musl; }
# aarch64-multiplatform-musl cross compile is currently broken
# // lib.optionalAttrs (pkgs.buildPlatform.system == "aarch64-linux")
# { binary-tarball = mkTarball pkgs.pkgsCross.aarch64-multiplatform-musl; }
);
};

Expand Down

0 comments on commit 3d2b0bf

Please sign in to comment.