Skip to content

Commit

Permalink
wip ci: Temporarily reenable macOS tests
Browse files Browse the repository at this point in the history
  • Loading branch information
HeinrichApfelmus committed Nov 22, 2023
1 parent e5a6ca6 commit 9335c73
Showing 1 changed file with 14 additions and 10 deletions.
24 changes: 14 additions & 10 deletions .buildkite/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ env:
NIX_PATH: "channel:nixos-21.11"

# Per-host variables - shared across containers on host
macos: "x86_64-darwin"
macos: "aarch64-darwin"
linux: "x86_64-linux"


Expand All @@ -20,8 +20,12 @@ steps:
- wait: ~
if: 'build.branch == "staging"'

- block: "Build package and docker image (linux)"
key: trigger-linux

- label: 'Check nix (linux)'
# Check whether regenerate.sh was applied when it had to be applied.
depends_on: trigger-linux
key: linux-nix
commands:
- './nix/regenerate.sh'
Expand Down Expand Up @@ -133,33 +137,33 @@ steps:
- block: "macOS steps"
depends_on: linux-nix
key: trigger-macos
if: 'build.branch != "master"'
if: 0 == 1 #'build.branch != "master"'

- label: 'Check nix (macOS)'
depends_on: trigger-macos
key: macos-nix
commands:
- './nix/regenerate.sh'
- 'nix flake info'
agents:
system: ${macos}
if: 0 == 1 # Disabled for now until a macos mini is available
# if: 0 == 1 # Disabled for now until a macos mini is available

- label: 'Run unit tests (macOS)'
- label: 'Run unit tests (macOS, x86_64)'
depends_on: macos-nix
key: macos-build-tests
command: 'GC_DONT_GC=1 nix build --max-silent-time 0 --max-jobs 1 -L .#ci.${macos}.tests.run.unit'
command: 'GC_DONT_GC=1 nix build --max-silent-time 0 --max-jobs 1 -L .#ci.x86_64-darwin.tests.run.unit'
agents:
system: ${macos}
if: 0 == 1 # Disabled for now until a macos mini is available
# if: 0 == 1 # Disabled for now until a macos mini is available

- label: 'Build package (macOS)'
- label: 'Build package (macOS, x86_64)'
depends_on: macos-nix
key: build-macos
command: nix build --max-silent-time 0 --max-jobs 1 -o result/macos-intel .#ci.artifacts.macos-intel.release
command: nix build --max-silent-time 0 --max-jobs 1 -o result/macos-intel .#packages.x86_64-darwin.ci.artifacts.macos-intel.release
artifact_paths: [ "./result/macos-intel/**" ]
agents:
system: ${macos}
if: 0 == 1 # Disabled for now until a macos mini is available
# if: 0 == 1 # Disabled for now until a macos mini is available

- block: "Build package and docker image (linux)"
depends_on: linux-nix
Expand Down

0 comments on commit 9335c73

Please sign in to comment.