Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

C2A Boom: Install pre-compiled binaries #392

Merged
merged 7 commits into from
Dec 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions examples/mobc/boom-tools/.gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
/bin/*
/bin/.keep
/binstall/*
/.crates.toml
/.crates2.json
25 changes: 18 additions & 7 deletions examples/mobc/boom-tools/install.sh
Original file line number Diff line number Diff line change
@@ -1,11 +1,22 @@
#!/bin/bash -Cue

export CARGO_NET_GIT_FETCH_WITH_CLI=true
export BINSTALL_VERSION="v1.10.14"
export JRSONNET_VERSION="v0.5.0-pre96-test"

cargo install --debug --root . tmtc-c2a --git https://github.com/arkedge/gaia.git --tag v0.6.1
curl -L --proto '=https' --tlsv1.2 -sSf "https://raw.githubusercontent.com/cargo-bins/cargo-binstall/${BINSTALL_VERSION}/install-from-binstall-release.sh" | env BINSTALL_VERSION=${BINSTALL_VERSION} CARGO_HOME=$(pwd) bash

cargo install --debug --root . tlmcmddb-cli --version 0.2.0
cargo install --debug --root . kble --version 0.2.0
cargo install --debug --root . kble-c2a --version 0.2.0
cargo install --debug --root . kble-eb90 --version 0.2.0
cargo install --debug --root . jrsonnet --version 0.5.0-pre9 --locked
./bin/cargo-binstall --root . tmtc-c2a --version 1.0.0 --no-confirm

./bin/cargo-binstall --root . tlmcmddb-cli --version 2.6.1 --no-confirm
./bin/cargo-binstall --root . kble --version 0.3.0 --no-confirm
./bin/cargo-binstall --root . kble-c2a --version 0.3.0 --no-confirm
./bin/cargo-binstall --root . kble-eb90 --version 0.3.0 --no-confirm

## install jrsonnet
arch=$(uname -m)
if [ "$arch" = "x86_64" ]; then
arch="amd64"
fi
os=$(uname -s | tr -s '[:upper:]' '[:lower:]')
curl -L "https://github.com/CertainLach/jrsonnet/releases/download/${JRSONNET_VERSION}/jrsonnet-linux-${arch}" -o ./bin/jrsonnet
chmod +x ./bin/jrsonnet
Loading
Loading