|
|
@ -45,13 +45,13 @@ before_script:
|
|
|
|
# Set CARGO_HOME to a cacheable path
|
|
|
|
# Set CARGO_HOME to a cacheable path
|
|
|
|
- export CARGO_HOME="$(git rev-parse --show-toplevel)/.gitlab-ci.d/cargo"
|
|
|
|
- export CARGO_HOME="$(git rev-parse --show-toplevel)/.gitlab-ci.d/cargo"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Cache attic client
|
|
|
|
|
|
|
|
- ./bin/nix-build-and-cache --inputs-from . attic
|
|
|
|
|
|
|
|
|
|
|
|
ci:
|
|
|
|
ci:
|
|
|
|
stage: ci
|
|
|
|
stage: ci
|
|
|
|
image: nixos/nix:2.20.4
|
|
|
|
image: nixos/nix:2.20.4
|
|
|
|
script:
|
|
|
|
script:
|
|
|
|
# Cache attic client
|
|
|
|
|
|
|
|
- ./bin/nix-build-and-cache --inputs-from . attic
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Cache the inputs required for the devShell
|
|
|
|
# Cache the inputs required for the devShell
|
|
|
|
- ./bin/nix-build-and-cache .#devShells.x86_64-linux.default.inputDerivation
|
|
|
|
- ./bin/nix-build-and-cache .#devShells.x86_64-linux.default.inputDerivation
|
|
|
|
|
|
|
|
|
|
|
|