mirror of
https://github.com/Nutomic/ibis.git
synced 2024-11-25 00:11:10 +00:00
Fix trunk config, use specific trunk version for ci
This commit is contained in:
parent
e8202a47d4
commit
51ada1fc4f
3 changed files with 6 additions and 4 deletions
|
@ -1,6 +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"
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
cargo_fmt:
|
cargo_fmt:
|
||||||
|
@ -86,10 +87,9 @@ steps:
|
||||||
environment:
|
environment:
|
||||||
CARGO_HOME: .cargo_home
|
CARGO_HOME: .cargo_home
|
||||||
commands:
|
commands:
|
||||||
- wget https://github.com/cargo-bins/cargo-binstall/releases/latest/download/cargo-binstall-x86_64-unknown-linux-musl.tgz
|
- *install_binstall
|
||||||
- tar -xvf cargo-binstall-x86_64-unknown-linux-musl.tgz
|
|
||||||
- rustup target add wasm32-unknown-unknown
|
- rustup target add wasm32-unknown-unknown
|
||||||
- ./cargo-binstall -y trunk
|
- *install_trunk
|
||||||
- export PATH="$PATH:$(pwd)/.cargo_home/bin/"
|
- export PATH="$PATH:$(pwd)/.cargo_home/bin/"
|
||||||
- ./scripts/build_release.sh
|
- ./scripts/build_release.sh
|
||||||
when:
|
when:
|
||||||
|
|
2
Cargo.lock
generated
2
Cargo.lock
generated
|
@ -1704,7 +1704,7 @@ dependencies = [
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "ibis"
|
name = "ibis"
|
||||||
version = "0.1.1"
|
version = "0.1.2"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"activitypub_federation",
|
"activitypub_federation",
|
||||||
"anyhow",
|
"anyhow",
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
[build]
|
[build]
|
||||||
filehash = false
|
filehash = false
|
||||||
target = "assets/index.html"
|
target = "assets/index.html"
|
||||||
|
dist = "assets/dist"
|
||||||
|
minify = "on_release"
|
||||||
|
|
Loading…
Reference in a new issue