aboutsummaryrefslogtreecommitdiff
path: root/ci.sh
diff options
context:
space:
mode:
authorDario Nieuwenhuis <[email protected]>2023-10-07 01:33:43 +0200
committerDario Nieuwenhuis <[email protected]>2023-10-07 01:34:17 +0200
commit9090a78df4c3838ee8fdfd6641f5fea7d8e9906e (patch)
treeb45945c62cafb20abaef05585034f96f95a251fa /ci.sh
parent534eb960e9f7c9bb28cbd6ffe10b6cc43fd55ff7 (diff)
ci: set target dir if not specified.
Diffstat (limited to 'ci.sh')
-rwxr-xr-xci.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/ci.sh b/ci.sh
index 9038a0660..332222982 100755
--- a/ci.sh
+++ b/ci.sh
@@ -1,9 +1,12 @@
1#!/bin/bash 1#!/bin/bash
2 2
3set -euo pipefail 3set -eo pipefail
4 4
5export RUSTFLAGS=-Dwarnings 5export RUSTFLAGS=-Dwarnings
6export DEFMT_LOG=trace,embassy_hal_internal=debug,embassy_net_esp_hosted=debug,cyw43=info,cyw43_pio=info,smoltcp=info 6export DEFMT_LOG=trace,embassy_hal_internal=debug,embassy_net_esp_hosted=debug,cyw43=info,cyw43_pio=info,smoltcp=info
7if [[ -z "${CARGO_TARGET_DIR}" ]]; then
8 export CARGO_TARGET_DIR=target_ci
9fi
7 10
8TARGET=$(rustc -vV | sed -n 's|host: ||p') 11TARGET=$(rustc -vV | sed -n 's|host: ||p')
9 12