This commit is contained in:
parent
6591ef4c6f
commit
3325bed3b5
1 changed files with 8 additions and 8 deletions
|
@ -2,13 +2,13 @@ matrix:
|
||||||
RUST: [stable]
|
RUST: [stable]
|
||||||
|
|
||||||
pipeline:
|
pipeline:
|
||||||
test:
|
# test:
|
||||||
image: rust
|
# image: rust
|
||||||
environment: [CARGO_TERM_COLOR=always]
|
# environment: [CARGO_TERM_COLOR=always]
|
||||||
commands:
|
# commands:
|
||||||
- rustup default $RUST
|
# - rustup default $RUST
|
||||||
- cargo check
|
# - cargo check
|
||||||
- cargo test
|
# - cargo test
|
||||||
|
|
||||||
build-docker-image:
|
build-docker-image:
|
||||||
image: nixos/nix
|
image: nixos/nix
|
||||||
|
@ -16,7 +16,7 @@ pipeline:
|
||||||
- ls -la
|
- ls -la
|
||||||
- pwd
|
- pwd
|
||||||
- nix --extra-experimental-features "nix-command flakes" build -o image.tar.gz .#liveterm-docker
|
- nix --extra-experimental-features "nix-command flakes" build -o image.tar.gz .#liveterm-docker
|
||||||
- cp $(readlink -f image.tar.gz) /shared/image.tar.gz
|
- cp --remove-destination $(readlink -f image.tar.gz) /shared/image.tar.gz
|
||||||
volumes:
|
volumes:
|
||||||
- "liveterm-shared:/shared"
|
- "liveterm-shared:/shared"
|
||||||
when:
|
when:
|
||||||
|
|
Loading…
Reference in a new issue