mirror of
https://github.com/Nutomic/ibis.git
synced 2024-12-04 08:31:09 +00:00
Fix release build
This commit is contained in:
parent
fceead8062
commit
8b71a37fd2
2 changed files with 3 additions and 4 deletions
|
@ -1,7 +1,7 @@
|
||||||
variables:
|
variables:
|
||||||
- &rust_image "rust:1.81"
|
- &rust_image "rust:1.81"
|
||||||
- &install_binstall "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"
|
- &install_binstall "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"
|
||||||
- &install_trunk "cargo-binstall -y trunk@0.21.1"
|
- &install_cargo_leptos "cargo-binstall -y cargo-leptos@0.2.20"
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
cargo_fmt:
|
cargo_fmt:
|
||||||
|
@ -81,7 +81,7 @@ steps:
|
||||||
commands:
|
commands:
|
||||||
- *install_binstall
|
- *install_binstall
|
||||||
- rustup target add wasm32-unknown-unknown
|
- rustup target add wasm32-unknown-unknown
|
||||||
- *install_trunk
|
- *install_cargo_leptos
|
||||||
- export PATH="$PATH:$(pwd)/.cargo_home/bin/"
|
- export PATH="$PATH:$(pwd)/.cargo_home/bin/"
|
||||||
- ./scripts/build_release.sh
|
- ./scripts/build_release.sh
|
||||||
when:
|
when:
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
CARGO_TARGET_DIR=target/frontend trunk build --release
|
cargo leptos build --release
|
||||||
cargo build --release
|
|
||||||
gzip target/release/ibis -c > ibis.gz
|
gzip target/release/ibis -c > ibis.gz
|
||||||
|
|
Loading…
Reference in a new issue