mirror of
https://github.com/Nutomic/ibis.git
synced 2025-01-10 12:05:49 +00:00
cleanup
This commit is contained in:
parent
b19a0d0917
commit
7e5ea8805c
2 changed files with 15 additions and 16 deletions
|
@ -3,21 +3,6 @@ variables:
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
|
||||||
build_release:
|
|
||||||
image: *rust_image
|
|
||||||
environment:
|
|
||||||
CARGO_HOME: .cargo_home
|
|
||||||
commands:
|
|
||||||
- wget https://github.com/cargo-bins/cargo-binstall/releases/latest/download/cargo-binstall-x86_64-unknown-linux-musl.tgz
|
|
||||||
- tar -xvf cargo-binstall-x86_64-unknown-linux-musl.tgz
|
|
||||||
- rustup target add wasm32-unknown-unknown
|
|
||||||
- ./cargo-binstall -y trunk
|
|
||||||
- export PATH="$PATH:$(pwd)/.cargo_home/bin/"
|
|
||||||
- echo $PATH
|
|
||||||
- ./scripts/build_release.sh
|
|
||||||
#when:
|
|
||||||
# event: tag
|
|
||||||
|
|
||||||
cargo_fmt:
|
cargo_fmt:
|
||||||
image: rustlang/rust:nightly
|
image: rustlang/rust:nightly
|
||||||
environment:
|
environment:
|
||||||
|
@ -85,6 +70,20 @@ steps:
|
||||||
- export PATH="/usr/lib/postgresql/15/bin:/usr/local/cargo/bin:$PATH"
|
- export PATH="/usr/lib/postgresql/15/bin:/usr/local/cargo/bin:$PATH"
|
||||||
- sudo -u testuser env "PATH=$PATH" cargo test --no-fail-fast
|
- sudo -u testuser env "PATH=$PATH" cargo test --no-fail-fast
|
||||||
|
|
||||||
|
build_release:
|
||||||
|
image: *rust_image
|
||||||
|
environment:
|
||||||
|
CARGO_HOME: .cargo_home
|
||||||
|
commands:
|
||||||
|
- wget https://github.com/cargo-bins/cargo-binstall/releases/latest/download/cargo-binstall-x86_64-unknown-linux-musl.tgz
|
||||||
|
- tar -xvf cargo-binstall-x86_64-unknown-linux-musl.tgz
|
||||||
|
- rustup target add wasm32-unknown-unknown
|
||||||
|
- ./cargo-binstall -y trunk
|
||||||
|
- export PATH="$PATH:$(pwd)/.cargo_home/bin/"
|
||||||
|
- ./scripts/build_release.sh
|
||||||
|
when:
|
||||||
|
event: tag
|
||||||
|
|
||||||
publish_release:
|
publish_release:
|
||||||
image: woodpeckerci/plugin-github-release
|
image: woodpeckerci/plugin-github-release
|
||||||
settings:
|
settings:
|
||||||
|
|
Loading…
Reference in a new issue