-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #392 from arkedge/feature/c2a-boom-precompiled-bin…
…aries C2A Boom: Install pre-compiled binaries
- Loading branch information
Showing
6 changed files
with
1,108 additions
and
854 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
/bin/* | ||
/bin/.keep | ||
/binstall/* | ||
/.crates.toml | ||
/.crates2.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
Oops, something went wrong.