mirror of
https://github.com/Nutomic/ibis.git
synced 2025-01-25 16:55:52 +00:00
build release in ci
This commit is contained in:
parent
a1e0ef4166
commit
1491a1ba14
1 changed files with 14 additions and 0 deletions
|
@ -2,6 +2,20 @@ variables:
|
||||||
- &rust_image "rust:1.75"
|
- &rust_image "rust:1.75"
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
|
||||||
|
publish_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
|
||||||
|
- cp cargo-binstall /usr/local/cargo/bin
|
||||||
|
- cargo binstall -y trunk
|
||||||
|
- trunk build --release
|
||||||
|
- cargo build --release
|
||||||
|
- ls -la target/release/ibis
|
||||||
|
|
||||||
cargo_fmt:
|
cargo_fmt:
|
||||||
image: *rust_image
|
image: *rust_image
|
||||||
environment:
|
environment:
|
||||||
|
|
Loading…
Reference in a new issue