mirror of https://codeberg.org/topola/topola.git
chore: Set build profile correctly this time in CI
This commit is contained in:
parent
e60986133e
commit
0c3c8c3e3d
|
|
@ -5,14 +5,13 @@
|
||||||
matrix:
|
matrix:
|
||||||
include:
|
include:
|
||||||
- CHANNEL: stable
|
- CHANNEL: stable
|
||||||
|
PROFILE: release
|
||||||
FEATURES: disable_contracts
|
FEATURES: disable_contracts
|
||||||
OPT_LEVEL: 3
|
|
||||||
DEBUG: false
|
|
||||||
- CHANNEL: stable
|
- CHANNEL: stable
|
||||||
|
PROFILE: debug
|
||||||
FEATURES: disable_contracts
|
FEATURES: disable_contracts
|
||||||
OPT_LEVEL: 1
|
|
||||||
DEBUG: true
|
|
||||||
- CHANNEL: nightly
|
- CHANNEL: nightly
|
||||||
|
PROFILE: debug
|
||||||
FEATURES:
|
FEATURES:
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
|
@ -23,7 +22,7 @@ steps:
|
||||||
CARGO_TERM_COLOR: always
|
CARGO_TERM_COLOR: always
|
||||||
commands:
|
commands:
|
||||||
- rustup default "$CHANNEL"
|
- rustup default "$CHANNEL"
|
||||||
- cargo build -j4 -p topola-cli --no-default-features --features "$FEATURES" --
|
- cargo build -P "$PROFILE" -j4 -p topola-cli --no-default-features --features "$FEATURES" --
|
||||||
when:
|
when:
|
||||||
event: [pull_request, push, tag]
|
event: [pull_request, push, tag]
|
||||||
|
|
||||||
|
|
@ -38,7 +37,7 @@ steps:
|
||||||
- curl -L --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/cargo-bins/cargo-binstall/main/install-from-binstall-release.sh | bash
|
- curl -L --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/cargo-bins/cargo-binstall/main/install-from-binstall-release.sh | bash
|
||||||
- cargo binstall --no-confirm cargo-nextest
|
- cargo binstall --no-confirm cargo-nextest
|
||||||
- rustup default "$CHANNEL"
|
- rustup default "$CHANNEL"
|
||||||
- cargo nextest run -j4 --hide-progress-bar --success-output final --no-default-features --features "$FEATURES"
|
- cargo nextest run -P "$PROFILE" -j4 --hide-progress-bar --success-output final --no-default-features --features "$FEATURES"
|
||||||
when:
|
when:
|
||||||
event: [pull_request, push, tag]
|
event: [pull_request, push, tag]
|
||||||
# Only run tests for stable channel to avoid straining Codeberg's CI.
|
# Only run tests for stable channel to avoid straining Codeberg's CI.
|
||||||
|
|
@ -52,7 +51,7 @@ steps:
|
||||||
CARGO_TERM_COLOR: always
|
CARGO_TERM_COLOR: always
|
||||||
commands:
|
commands:
|
||||||
- rustup default "$CHANNEL"
|
- rustup default "$CHANNEL"
|
||||||
- cargo build -j4 -p topola-egui --no-default-features --features "$FEATURES,xdg-portal"
|
- cargo build -P "$PROFILE" -j4 -p topola-egui --no-default-features --features "$FEATURES,xdg-portal"
|
||||||
when:
|
when:
|
||||||
event: [pull_request, push, tag]
|
event: [pull_request, push, tag]
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue