Skip to content

Commit

Permalink
Disable windows and macos builds in nix
Browse files Browse the repository at this point in the history
  • Loading branch information
rvl committed May 20, 2021
1 parent 2d24326 commit 7ce773f
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions release.nix
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,11 @@
# Build for linux
, linuxBuild ? builtins.elem "x86_64-linux" supportedSystems

# Build for macos
, macosBuild ? builtins.elem "x86_64-darwin" supportedSystems
# PR #2657 Temporarily disable macos build
, macosBuild ? false

# Cross compilation to Windows is currently only supported on linux.
, windowsBuild ? builtins.elem "x86_64-linux" supportedCrossSystems
# PR #2657 Temporarily disable mingw32 cross build
, windowsBuild ? false

# A Hydra option
, scrubJobs ? true
Expand Down Expand Up @@ -194,6 +194,7 @@ let
[ jobs.cardano-node-linux ]
]))
# macOS builds:
# NB. you can replace macosBuild with false to remove these jobs from "required"
(optionals macosBuild (concatLists [
(collectJobs jobs.macos.checks)
(collectJobs jobs.macos.nixosTests)
Expand All @@ -202,6 +203,7 @@ let
[ jobs.cardano-node-macos ]
]))
# Windows builds:
# NB. you can replace windowsBuild with false to remove these jobs from "required"
(optional windowsBuild jobs.cardano-node-win64)
(optionals windowsBuild (collectJobs jobs.windows.checks))
# Default system builds (linux on hydra):
Expand Down

0 comments on commit 7ce773f

Please sign in to comment.