mirror of
https://github.com/deuxfleurs-org/garage.git
synced 2026-08-18 09:23:13 +00:00
Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| a259f820a4 |
@@ -1,28 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
set -euxo pipefail
|
|
||||||
|
|
||||||
echo "-- check --"
|
|
||||||
nix-shell --attr rust --run "cargo fmt -- --check"
|
|
||||||
|
|
||||||
echo "-- build --"
|
|
||||||
nix-build --no-build-output --attr clippy.amd64 --argstr git_version $COMMIT
|
|
||||||
|
|
||||||
echo "-- unit tests --"
|
|
||||||
export GARAGE_TEST_INTEGRATION_EXE=result-bin/bin/garage
|
|
||||||
nix-build --no-build-output --attr test.amd64
|
|
||||||
./result/bin/garage_db-*
|
|
||||||
./result/bin/garage_api-*
|
|
||||||
./result/bin/garage_model-*
|
|
||||||
./result/bin/garage_rpc-*
|
|
||||||
./result/bin/garage_table-*
|
|
||||||
./result/bin/garage_util-*
|
|
||||||
./result/bin/garage_web-*
|
|
||||||
./result/bin/garage-*
|
|
||||||
|
|
||||||
echo "-- integration tests --"
|
|
||||||
./result/bin/integration-*
|
|
||||||
|
|
||||||
echo "-- smoke tests --"
|
|
||||||
rm result
|
|
||||||
nix-build --no-build-output --attr clippy.amd64 --argstr git_version $COMMIT
|
|
||||||
nix-shell --attr integration --run ./script/test-smoke.sh || (cat /tmp/garage.log; false)
|
|
||||||
@@ -32,6 +32,13 @@ in {
|
|||||||
i386 = build_debug_and_release "i686-unknown-linux-musl";
|
i386 = build_debug_and_release "i686-unknown-linux-musl";
|
||||||
arm64 = build_debug_and_release "aarch64-unknown-linux-musl";
|
arm64 = build_debug_and_release "aarch64-unknown-linux-musl";
|
||||||
arm = build_debug_and_release "armv6l-unknown-linux-musleabihf";
|
arm = build_debug_and_release "armv6l-unknown-linux-musleabihf";
|
||||||
|
win = {
|
||||||
|
amd64 = build_debug_and_release "x86_64-w64-mingw32";
|
||||||
|
};
|
||||||
|
apple = {
|
||||||
|
arm64 = build_debug_and_release "aarch64-apple-darwin";
|
||||||
|
amd64 = build_debug_and_release "x86_64-apple-darwin";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
test = {
|
test = {
|
||||||
amd64 = test (compile {
|
amd64 = test (compile {
|
||||||
|
|||||||
Reference in New Issue
Block a user