This commit is contained in:
Felix Ableitner 2024-02-29 13:16:59 +01:00
parent 2314b3f5ed
commit cba9e5d57e
1 changed files with 6 additions and 1 deletions

View File

@ -10,10 +10,15 @@ steps:
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
- ./cargo-binstall -y trunk
- mv cargo-binstall .cargo_home/bin/
- export PATH="$PATH:.cargo_home/bin/"
- cargo binstall -y trunk
- trunk build --release
- cargo build --release
- ls -la target/release/ibis
- cp target/release/ibis .
- gzip ibis
- ls -la ibis.gz
cargo_fmt:
image: *rust_image