use test image in ci

This commit is contained in:
crapStone 2024-10-02 09:57:35 +02:00
parent b5a07b76d9
commit 6d4fae002b
No known key found for this signature in database
GPG Key ID: 22D4BF0CF7CC29C8
3 changed files with 9 additions and 9 deletions

View File

@ -7,12 +7,12 @@ matrix:
steps: steps:
build_cli: build_cli:
image: rust image: codeberg.org/crapstone/topola-test:${CHANNEL}
pull: true
environment: environment:
RUST_BACKTRACE: 1 RUST_BACKTRACE: 1
CARGO_TERM_COLOR: always CARGO_TERM_COLOR: always
commands: commands:
- rustup default "$CHANNEL" - cargo build --features "$FEATURES" --target-dir ~/target/ --
- cargo build --features "$FEATURES" --
when: when:
event: [pull_request, push, tag] event: [pull_request, push, tag]

View File

@ -7,12 +7,12 @@ matrix:
steps: steps:
build_egui: build_egui:
image: rust image: codeberg.org/crapstone/topola-test:${CHANNEL}
pull: true
environment: environment:
RUST_BACKTRACE: 1 RUST_BACKTRACE: 1
CARGO_TERM_COLOR: always CARGO_TERM_COLOR: always
commands: commands:
- rustup default "$CHANNEL" - cargo build --features "$FEATURES" --bin "topola-egui" --target-dir ~/target/
- cargo build --features "$FEATURES" --bin "topola-egui"
when: when:
event: [pull_request, push, tag] event: [pull_request, push, tag]

View File

@ -7,12 +7,12 @@ matrix:
steps: steps:
test: test:
image: rust image: codeberg.org/crapstone/topola-test:${CHANNEL}
pull: true
environment: environment:
RUST_BACKTRACE: 1 RUST_BACKTRACE: 1
CARGO_TERM_COLOR: always CARGO_TERM_COLOR: always
commands: commands:
- rustup default "$CHANNEL" - cargo test --verbose --features "$FEATURES" --target-dir ~/target/
- cargo test --verbose --features "$FEATURES"
when: when:
event: [pull_request, push, tag] event: [pull_request, push, tag]