Skip to content

Commit

Permalink
skeleton: use sourcesOverride to build against iohk-nix of current PR
Browse files Browse the repository at this point in the history
  • Loading branch information
jbgi committed Dec 4, 2019
1 parent c7d4a4c commit 054f10f
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions skeleton/.buildkite/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ env:
steps:
- label: Check Hydra evaluation of release.nix
commands:
- "cd skeleton" # TODO: remove this line
- "nix-build -A commonLib.check-hydra -o check-hydra.sh"
- "cd skeleton" # TODO: remove this line and the sourcesOverride arg
- "nix-build -A commonLib.check-hydra -o check-hydra.sh --arg sourcesOverride '{iohk-nix = ./..;}'"
# TODO: uncomment the following line
# - "./check-hydra.sh"
agents:
Expand All @@ -23,26 +23,26 @@ steps:
# This will ensure that the generated Nix code is kept up to date.
- label: Check auto-generated Nix
commands:
- "cd skeleton" # TODO: remove this line
- "nix-build -A commonLib.check-nix-tools -o check-nix-tools.sh"
- "cd skeleton" # TODO: remove this line and the sourcesOverride arg
- "nix-build -A commonLib.check-nix-tools -o check-nix-tools.sh --arg sourcesOverride '{iohk-nix = ./..;}'"
- "./check-nix-tools.sh"
agents:
system: x86_64-linux

# TODO: Remove this and define your own build steps.
- label: Lint the fuzz
commands:
- "cd skeleton" # TODO: remove this line
- "nix-build -A checks.lint-fuzz -o check-lint-fuzz.sh"
- "cd skeleton" # TODO: remove this line and the sourcesOverride arg
- "nix-build -A checks.lint-fuzz -o check-lint-fuzz.sh --arg sourcesOverride '{iohk-nix = ./..;}'"
- "./check-lint-fuzz.sh"
agents:
system: x86_64-linux

# Imperative build steps (broken)
# Imperative build steps
- label: Stack build
commands:
- "cd skeleton" # TODO: remove this line
- "nix-build .buildkite/default.nix -o sr"
- "cd skeleton" # TODO: remove this line and the sourcesOverride arg
- "nix-build .buildkite/default.nix -o sr --arg sourcesOverride '{iohk-nix = ./..;}'"
- "./sr/bin/rebuild --build-dir=$BUILD_DIR --cache-dir=$CACHE_DIR"
agents:
system: x86_64-linux
Expand Down

0 comments on commit 054f10f

Please sign in to comment.