Skip to content

Commit

Permalink
Merge pull request #392 from arkedge/feature/c2a-boom-precompiled-bin…
Browse files Browse the repository at this point in the history
…aries

C2A Boom: Install pre-compiled binaries
  • Loading branch information
sksat authored Dec 9, 2024
2 parents b9d68d5 + ec9d325 commit 97972a0
Show file tree
Hide file tree
Showing 6 changed files with 1,108 additions and 854 deletions.
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

0 comments on commit 97972a0

Please sign in to comment.