Migrate CI and builds to Just, add "full" builds (#660)

This commit is contained in:
Félix Saparelli 2023-01-08 18:27:36 +13:00 committed by GitHub
parent 305bf8123d
commit aea9df602c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
30 changed files with 717 additions and 463 deletions

33
e2e-tests/other-repos.sh Executable file
View file

@ -0,0 +1,33 @@
#!/bin/bash
set -euxo pipefail
unset CARGO_INSTALL_ROOT
export CARGO_HOME=$(mktemp -d 2>/dev/null || mktemp -d -t 'cargo-home')
export PATH="$CARGO_HOME/bin:$PATH"
# Test default GitLab pkg-url templates
"./$1" binstall \
--force \
--manifest-path "manifests/gitlab-test-Cargo.toml" \
--no-confirm \
--disable-strategies compile \
cargo-binstall
# Test default BitBucket pkg-url templates
"./$1" binstall \
--force \
--manifest-path "manifests/bitbucket-test-Cargo.toml" \
--no-confirm \
--disable-strategies compile \
cargo-binstall
# Test default Github pkg-url templates,
# with bin-dir provided
"./$1" binstall \
--force \
--manifest-path "manifests/github-test-Cargo2.toml" \
--no-confirm \
--disable-strategies compile \
cargo-binstall