From 681165e84c35fcc760977c799aa1372ebdd83f46 Mon Sep 17 00:00:00 2001 From: René van Dorst Date: Sun, 20 Aug 2023 23:26:22 +0200 Subject: add embassy-net-adin1110 to .github/ci/test.sh --- .github/ci/test.sh | 2 ++ 1 file changed, 2 insertions(+) (limited to '.github/ci') diff --git a/.github/ci/test.sh b/.github/ci/test.sh index 2892bcf8d..04f4fc7c4 100755 --- a/.github/ci/test.sh +++ b/.github/ci/test.sh @@ -28,3 +28,5 @@ cargo test --manifest-path ./embassy-rp/Cargo.toml --no-default-features --featu cargo test --manifest-path ./embassy-stm32/Cargo.toml --no-default-features --features nightly,stm32f429vg,exti,time-driver-any,exti cargo test --manifest-path ./embassy-stm32/Cargo.toml --no-default-features --features nightly,stm32f732ze,exti,time-driver-any,exti cargo test --manifest-path ./embassy-stm32/Cargo.toml --no-default-features --features nightly,stm32f769ni,exti,time-driver-any,exti + +cargo test --manifest-path ./embassy-net-adin1110/Cargo.toml -- cgit From ca588f901f5987b8335f380ef8b5dddd7060f75b Mon Sep 17 00:00:00 2001 From: René van Dorst Date: Mon, 21 Aug 2023 20:44:42 +0200 Subject: add embassy-net-adin1110 to .github/ci/doc.sh --- .github/ci/doc.sh | 1 + 1 file changed, 1 insertion(+) (limited to '.github/ci') diff --git a/.github/ci/doc.sh b/.github/ci/doc.sh index 57184dc1d..c317a12e3 100755 --- a/.github/ci/doc.sh +++ b/.github/ci/doc.sh @@ -39,6 +39,7 @@ docserver-builder -i ./embassy-net-wiznet -o webroot/crates/embassy-net-wiznet/g docserver-builder -i ./embassy-net-enc28j60 -o webroot/crates/embassy-net-enc28j60/git.zup docserver-builder -i ./embassy-net-esp-hosted -o webroot/crates/embassy-net-esp-hosted/git.zup docserver-builder -i ./embassy-stm32-wpan -o webroot/crates/embassy-stm32-wpan/git.zup --output-static webroot/static +docserver-builder -i ./embassy-net-adin1110 -o webroot/crates/embassy-net-adin1110/git.zup export KUBECONFIG=/ci/secrets/kubeconfig.yml POD=$(kubectl -n embassy get po -l app=docserver -o jsonpath={.items[0].metadata.name}) -- cgit From 9dd58660c31371f8bdfd81f2b16fb117bf3ab647 Mon Sep 17 00:00:00 2001 From: Dario Nieuwenhuis Date: Sun, 3 Sep 2023 01:36:03 +0200 Subject: Add teleprobe cache. --- .github/ci/build.sh | 1 + 1 file changed, 1 insertion(+) (limited to '.github/ci') diff --git a/.github/ci/build.sh b/.github/ci/build.sh index 30ca1e6f0..36bf7e7dc 100755 --- a/.github/ci/build.sh +++ b/.github/ci/build.sh @@ -11,6 +11,7 @@ if [ -f /ci/secrets/teleprobe-token.txt ]; then echo Got teleprobe token! export TELEPROBE_HOST=https://teleprobe.embassy.dev export TELEPROBE_TOKEN=$(cat /ci/secrets/teleprobe-token.txt) + export TELEPROBE_CACHE=/ci/cache/teleprobe_cache.json fi hashtime restore /ci/cache/filetime.json || true -- cgit From e11db9fa5934882dbf332aaacb676bbe370c1aa1 Mon Sep 17 00:00:00 2001 From: Dario Nieuwenhuis Date: Tue, 12 Sep 2023 01:43:57 +0200 Subject: ci: disable stm32 docs build temporarily because it's bringing CI down for some reason. --- .github/ci/doc.sh | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to '.github/ci') diff --git a/.github/ci/doc.sh b/.github/ci/doc.sh index c317a12e3..d889f922d 100755 --- a/.github/ci/doc.sh +++ b/.github/ci/doc.sh @@ -48,8 +48,9 @@ kubectl cp webroot/static $POD:/data # build and upload stm32 last # so that it doesn't prevent other crates from getting docs updates when it breaks. -rm -rf webroot -docserver-builder -i ./embassy-stm32 -o webroot/crates/embassy-stm32/git.zup -POD=$(kubectl -n embassy get po -l app=docserver -o jsonpath={.items[0].metadata.name}) -kubectl cp webroot/crates $POD:/data +# temporarily disabled because it's bringing CI down. +#rm -rf webroot +#docserver-builder -i ./embassy-stm32 -o webroot/crates/embassy-stm32/git.zup +#POD=$(kubectl -n embassy get po -l app=docserver -o jsonpath={.items[0].metadata.name}) +#kubectl cp webroot/crates $POD:/data -- cgit From 7c77d2bd94afcc5dc174f9b3e5c2ce947c6fabb0 Mon Sep 17 00:00:00 2001 From: Dario Nieuwenhuis Date: Fri, 15 Sep 2023 03:43:46 +0200 Subject: ci: reenable stm32 docs. --- .github/ci/doc.sh | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to '.github/ci') diff --git a/.github/ci/doc.sh b/.github/ci/doc.sh index d889f922d..66caa9150 100755 --- a/.github/ci/doc.sh +++ b/.github/ci/doc.sh @@ -49,8 +49,7 @@ kubectl cp webroot/static $POD:/data # build and upload stm32 last # so that it doesn't prevent other crates from getting docs updates when it breaks. -# temporarily disabled because it's bringing CI down. -#rm -rf webroot -#docserver-builder -i ./embassy-stm32 -o webroot/crates/embassy-stm32/git.zup -#POD=$(kubectl -n embassy get po -l app=docserver -o jsonpath={.items[0].metadata.name}) -#kubectl cp webroot/crates $POD:/data +rm -rf webroot +docserver-builder -i ./embassy-stm32 -o webroot/crates/embassy-stm32/git.zup +POD=$(kubectl -n embassy get po -l app=docserver -o jsonpath={.items[0].metadata.name}) +kubectl cp webroot/crates $POD:/data -- cgit From a2a26f489b81a0ad34c5244f2acfde2ecb9951fe Mon Sep 17 00:00:00 2001 From: Dario Nieuwenhuis Date: Thu, 14 Sep 2023 18:04:43 +0200 Subject: ci: set net.git-fetch-with-cli=true --- .github/ci/build-stable.sh | 4 ++++ .github/ci/build.sh | 4 ++++ .github/ci/test.sh | 4 ++++ 3 files changed, 12 insertions(+) (limited to '.github/ci') diff --git a/.github/ci/build-stable.sh b/.github/ci/build-stable.sh index 0dadd6102..8012f6923 100755 --- a/.github/ci/build-stable.sh +++ b/.github/ci/build-stable.sh @@ -8,6 +8,10 @@ export RUSTUP_HOME=/ci/cache/rustup export CARGO_HOME=/ci/cache/cargo export CARGO_TARGET_DIR=/ci/cache/target +# needed for "dumb HTTP" transport support +# used when pointing stm32-metapac to a CI-built one. +export CARGO_NET_GIT_FETCH_WITH_CLI=true + hashtime restore /ci/cache/filetime.json || true hashtime save /ci/cache/filetime.json diff --git a/.github/ci/build.sh b/.github/ci/build.sh index 36bf7e7dc..78ab976df 100755 --- a/.github/ci/build.sh +++ b/.github/ci/build.sh @@ -14,6 +14,10 @@ if [ -f /ci/secrets/teleprobe-token.txt ]; then export TELEPROBE_CACHE=/ci/cache/teleprobe_cache.json fi +# needed for "dumb HTTP" transport support +# used when pointing stm32-metapac to a CI-built one. +export CARGO_NET_GIT_FETCH_WITH_CLI=true + hashtime restore /ci/cache/filetime.json || true hashtime save /ci/cache/filetime.json diff --git a/.github/ci/test.sh b/.github/ci/test.sh index 04f4fc7c4..af0f21c2a 100755 --- a/.github/ci/test.sh +++ b/.github/ci/test.sh @@ -8,6 +8,10 @@ export RUSTUP_HOME=/ci/cache/rustup export CARGO_HOME=/ci/cache/cargo export CARGO_TARGET_DIR=/ci/cache/target +# needed for "dumb HTTP" transport support +# used when pointing stm32-metapac to a CI-built one. +export CARGO_NET_GIT_FETCH_WITH_CLI=true + hashtime restore /ci/cache/filetime.json || true hashtime save /ci/cache/filetime.json -- cgit