From a8e905f14ecf238675b343c037d20700ab6f4881 Mon Sep 17 00:00:00 2001 From: "robert.jeutter" Date: Thu, 5 Jun 2025 06:48:44 +0200 Subject: net-nrf91: add nrf9151 support. --- .github/ci/doc.sh | 1 + 1 file changed, 1 insertion(+) (limited to '.github') diff --git a/.github/ci/doc.sh b/.github/ci/doc.sh index 58ffe5f2e..06c61f8c0 100755 --- a/.github/ci/doc.sh +++ b/.github/ci/doc.sh @@ -42,6 +42,7 @@ docserver-builder -i ./embassy-usb-logger -o webroot/crates/embassy-usb-logger/g docserver-builder -i ./embassy-usb-synopsys-otg -o webroot/crates/embassy-usb-synopsys-otg/git.zup docserver-builder -i ./embassy-net -o webroot/crates/embassy-net/git.zup +docserver-builder -i ./embassy-net-nrf91 -o webroot/crates/embassy-net-nrf91/git.zup docserver-builder -i ./embassy-net-driver -o webroot/crates/embassy-net-driver/git.zup docserver-builder -i ./embassy-net-driver-channel -o webroot/crates/embassy-net-driver-channel/git.zup docserver-builder -i ./embassy-net-wiznet -o webroot/crates/embassy-net-wiznet/git.zup -- cgit From 510adb3b69daffec533292140221be36e2ed5ba2 Mon Sep 17 00:00:00 2001 From: i509VCB Date: Tue, 22 Jul 2025 18:30:31 -0500 Subject: nxp: make docs generate --- .github/ci/doc.sh | 1 + 1 file changed, 1 insertion(+) (limited to '.github') diff --git a/.github/ci/doc.sh b/.github/ci/doc.sh index 06c61f8c0..90662af82 100755 --- a/.github/ci/doc.sh +++ b/.github/ci/doc.sh @@ -26,6 +26,7 @@ docserver-builder -i ./embassy-futures -o webroot/crates/embassy-futures/git.zup docserver-builder -i ./embassy-nrf -o webroot/crates/embassy-nrf/git.zup docserver-builder -i ./embassy-rp -o webroot/crates/embassy-rp/git.zup docserver-builder -i ./embassy-mspm0 -o webroot/crates/embassy-mspm0/git.zup +docserver-builder -i ./embassy-nxp -o webroot/crates/embassy-nxp/git.zup docserver-builder -i ./embassy-sync -o webroot/crates/embassy-sync/git.zup docserver-builder -i ./cyw43 -o webroot/crates/cyw43/git.zup docserver-builder -i ./cyw43-pio -o webroot/crates/cyw43-pio/git.zup -- cgit From b49d809346bb420c7994c75fa0121f6d28870c05 Mon Sep 17 00:00:00 2001 From: Dario Nieuwenhuis Date: Thu, 24 Jul 2025 23:29:54 +0200 Subject: Add dedup to doc job. --- .github/ci/doc.sh | 2 ++ 1 file changed, 2 insertions(+) (limited to '.github') diff --git a/.github/ci/doc.sh b/.github/ci/doc.sh index 90662af82..9162b37ae 100755 --- a/.github/ci/doc.sh +++ b/.github/ci/doc.sh @@ -1,5 +1,7 @@ #!/bin/bash ## on push branch=main +## priority -10 +## dedup dequeue set -euxo pipefail -- cgit From 915513753aea689f73d1300acc069ac985be3a0b Mon Sep 17 00:00:00 2001 From: Dario Nieuwenhuis Date: Thu, 24 Jul 2025 23:30:36 +0200 Subject: Add dedup to book job. --- .github/ci/book.sh | 2 ++ 1 file changed, 2 insertions(+) (limited to '.github') diff --git a/.github/ci/book.sh b/.github/ci/book.sh index 285cdc8fa..2466f53f5 100755 --- a/.github/ci/book.sh +++ b/.github/ci/book.sh @@ -1,5 +1,7 @@ #!/bin/bash ## on push branch=main +## priority -9 +## dedup dequeue set -euxo pipefail -- cgit From 77a8bc27e9c34e363f321132ebb9e8d8ff684a9f Mon Sep 17 00:00:00 2001 From: Dario Nieuwenhuis Date: Sun, 27 Jul 2025 02:03:43 +0200 Subject: ci: lower book, doc job prio --- .github/ci/book.sh | 2 +- .github/ci/doc.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to '.github') diff --git a/.github/ci/book.sh b/.github/ci/book.sh index 2466f53f5..c91d10d16 100755 --- a/.github/ci/book.sh +++ b/.github/ci/book.sh @@ -1,6 +1,6 @@ #!/bin/bash ## on push branch=main -## priority -9 +## priority -100 ## dedup dequeue set -euxo pipefail diff --git a/.github/ci/doc.sh b/.github/ci/doc.sh index 9162b37ae..26971afdc 100755 --- a/.github/ci/doc.sh +++ b/.github/ci/doc.sh @@ -1,6 +1,6 @@ #!/bin/bash ## on push branch=main -## priority -10 +## priority -100 ## dedup dequeue set -euxo pipefail -- cgit From c708cefe03363135c466a3c0e8543a95973bce7a Mon Sep 17 00:00:00 2001 From: Dario Nieuwenhuis Date: Sun, 27 Jul 2025 23:38:23 +0200 Subject: Add cooldown to doc, book jobs. --- .github/ci/book.sh | 2 ++ .github/ci/doc.sh | 1 + 2 files changed, 3 insertions(+) (limited to '.github') diff --git a/.github/ci/book.sh b/.github/ci/book.sh index c91d10d16..dada4b348 100755 --- a/.github/ci/book.sh +++ b/.github/ci/book.sh @@ -2,6 +2,7 @@ ## on push branch=main ## priority -100 ## dedup dequeue +## cooldown 15m set -euxo pipefail @@ -17,3 +18,4 @@ kubectl exec $POD -- mkdir -p /usr/share/nginx/html kubectl cp book.tar $POD:/usr/share/nginx/html/ kubectl exec $POD -- find /usr/share/nginx/html kubectl exec $POD -- tar -C /usr/share/nginx/html -xvf /usr/share/nginx/html/book.tar +3 diff --git a/.github/ci/doc.sh b/.github/ci/doc.sh index 26971afdc..ac96008d8 100755 --- a/.github/ci/doc.sh +++ b/.github/ci/doc.sh @@ -2,6 +2,7 @@ ## on push branch=main ## priority -100 ## dedup dequeue +## cooldown 15m set -euxo pipefail -- cgit From b00de39af82dee0c0e46ae504b5790ed2d61178f Mon Sep 17 00:00:00 2001 From: Dario Nieuwenhuis Date: Tue, 29 Jul 2025 13:31:54 +0200 Subject: Fix build of embassy-time with std+defmt. --- .github/ci/book.sh | 1 - 1 file changed, 1 deletion(-) (limited to '.github') diff --git a/.github/ci/book.sh b/.github/ci/book.sh index dada4b348..6c300bf09 100755 --- a/.github/ci/book.sh +++ b/.github/ci/book.sh @@ -18,4 +18,3 @@ kubectl exec $POD -- mkdir -p /usr/share/nginx/html kubectl cp book.tar $POD:/usr/share/nginx/html/ kubectl exec $POD -- find /usr/share/nginx/html kubectl exec $POD -- tar -C /usr/share/nginx/html -xvf /usr/share/nginx/html/book.tar -3 -- cgit From 8bbfa7ac1b7165a690f5062ce85c45898b3160bd Mon Sep 17 00:00:00 2001 From: Ulf Lilleengen Date: Tue, 12 Aug 2025 21:35:54 +0200 Subject: chore: add changelog enforcement --- .github/workflows/changelog.yml | 353 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 353 insertions(+) create mode 100644 .github/workflows/changelog.yml (limited to '.github') diff --git a/.github/workflows/changelog.yml b/.github/workflows/changelog.yml new file mode 100644 index 000000000..94e8f353a --- /dev/null +++ b/.github/workflows/changelog.yml @@ -0,0 +1,353 @@ +name: Changelog check + +on: + pull_request: + # We will not track changes for the following packages/directories. + paths-ignore: + - "/examples/" + - "/docs/" + - "/out/" + - "/tests/" + - "/release/" + - "/cyw43-firmware/" + # Run on labeled/unlabeled in addition to defaults to detect + # adding/removing skip-changelog labels. + types: [opened, reopened, labeled, unlabeled, synchronize] + +jobs: + changelog: + runs-on: ubuntu-latest + + steps: + - name: Checkout sources + uses: actions/checkout@v4 + + - name: Check which package is modified + uses: dorny/paths-filter@v3 + id: changes + with: + filters: | + cyw43: + - 'cyw43/**' + cyw43-pio: + - 'cyw43-pio/**' + embassy-boot: + - 'embassy-boot/**' + embassy-boot-nrf: + - 'embassy-boot-nrf/**' + embassy-boot-rp: + - 'embassy-boot-rp/**' + embassy-boot-stm32: + - 'embassy-boot-stm32/**' + embassy-embedded-hal: + - 'embassy-embedded-hal/**' + embassy-executor: + - 'embassy-executor/**' + embassy-executor-macros: + - 'embassy-executor-macros/**' + embassy-futures: + - 'embassy-futures/**' + embassy-imxrt: + - 'embassy-imxrt/**' + embassy-mspm0: + - 'embassy-mspm0/**' + embassy-net: + - 'embassy-net/**' + embassy-net-adin1110: + - 'embassy-net-adin1110/**' + embassy-net-driver: + - 'embassy-net-driver/**' + embassy-net-driver-channel: + - 'embassy-net-driver-channel/**' + embassy-net-enc28j60: + - 'embassy-net-enc28j60/**' + embassy-net-esp-hosted: + - 'embassy-net-esp-hosted/**' + embassy-net-nrf91: + - 'embassy-net-nrf91/**' + embassy-net-ppp: + - 'embassy-net-ppp/**' + embassy-net-tuntap: + - 'embassy-net-tuntap/**' + embassy-net-wiznet: + - 'embassy-net-wiznet/**' + embassy-nrf: + - 'embassy-nrf/**' + embassy-nxp: + - 'embassy-nxp/**' + embassy-rp: + - 'embassy-rp/**' + embassy-stm32: + - 'embassy-stm32/**' + embassy-stm32-wpan: + - 'embassy-stm32-wpan/**' + embassy-sync: + - 'embassy-sync/**' + embassy-time: + - 'embassy-time/**' + embassy-time-driver: + - 'embassy-time-driver/**' + embassy-time-queue-utils: + - 'embassy-time-queue-utils/**' + embassy-usb: + - 'embassy-usb/**' + embassy-usb-dfu: + - 'embassy-usb-dfu/**' + embassy-usb-driver: + - 'embassy-usb-driver/**' + embassy-usb-logger: + - 'embassy-usb-logger/**' + embassy-usb-synopsys-otg: + - 'embassy-usb-synopsys-otg/**' + - name: Check that changelog updated (cyw43) + if: steps.changes.outputs.cyw43 == 'true' + uses: dangoslen/changelog-enforcer@v3 + with: + changeLogPath: cyw43/CHANGELOG.md + skipLabels: "skip-changelog" + missingUpdateErrorMessage: "Please add a changelog entry in the cyw43/CHANGELOG.md file." + - name: Check that changelog updated (cyw43-pio) + if: steps.changes.outputs.cyw43-pio == 'true' + uses: dangoslen/changelog-enforcer@v3 + with: + changeLogPath: cyw43-pio/CHANGELOG.md + skipLabels: "skip-changelog" + missingUpdateErrorMessage: "Please add a changelog entry in the cyw43-pio/CHANGELOG.md file." + - name: Check that changelog updated (embassy-boot) + if: steps.changes.outputs.embassy-boot == 'true' + uses: dangoslen/changelog-enforcer@v3 + with: + changeLogPath: embassy-boot/CHANGELOG.md + skipLabels: "skip-changelog" + missingUpdateErrorMessage: "Please add a changelog entry in the embassy-boot/CHANGELOG.md file." + - name: Check that changelog updated (embassy-boot-nrf) + if: steps.changes.outputs.embassy-boot-nrf == 'true' + uses: dangoslen/changelog-enforcer@v3 + with: + changeLogPath: embassy-boot-nrf/CHANGELOG.md + skipLabels: "skip-changelog" + missingUpdateErrorMessage: "Please add a changelog entry in the embassy-boot-nrf/CHANGELOG.md file." + - name: Check that changelog updated (embassy-boot-rp) + if: steps.changes.outputs.embassy-boot-rp == 'true' + uses: dangoslen/changelog-enforcer@v3 + with: + changeLogPath: embassy-boot-rp/CHANGELOG.md + skipLabels: "skip-changelog" + missingUpdateErrorMessage: "Please add a changelog entry in the embassy-boot-rp/CHANGELOG.md file." + - name: Check that changelog updated (embassy-boot-stm32) + if: steps.changes.outputs.embassy-boot-stm32 == 'true' + uses: dangoslen/changelog-enforcer@v3 + with: + changeLogPath: embassy-boot-stm32/CHANGELOG.md + skipLabels: "skip-changelog" + missingUpdateErrorMessage: "Please add a changelog entry in the embassy-boot-stm32/CHANGELOG.md file." + - name: Check that changelog updated (embassy-embedded-hal) + if: steps.changes.outputs.embassy-embedded-hal == 'true' + uses: dangoslen/changelog-enforcer@v3 + with: + changeLogPath: embassy-embedded-hal/CHANGELOG.md + skipLabels: "skip-changelog" + missingUpdateErrorMessage: "Please add a changelog entry in the embassy-embedded-hal/CHANGELOG.md file." + - name: Check that changelog updated (embassy-executor) + if: steps.changes.outputs.embassy-executor == 'true' + uses: dangoslen/changelog-enforcer@v3 + with: + changeLogPath: embassy-executor/CHANGELOG.md + skipLabels: "skip-changelog" + missingUpdateErrorMessage: "Please add a changelog entry in the embassy-executor/CHANGELOG.md file." + - name: Check that changelog updated (embassy-executor-macros) + if: steps.changes.outputs.embassy-executor-macros == 'true' + uses: dangoslen/changelog-enforcer@v3 + with: + changeLogPath: embassy-executor-macros/CHANGELOG.md + skipLabels: "skip-changelog" + missingUpdateErrorMessage: "Please add a changelog entry in the embassy-executor-macros/CHANGELOG.md file." + - name: Check that changelog updated (embassy-futures) + if: steps.changes.outputs.embassy-futures == 'true' + uses: dangoslen/changelog-enforcer@v3 + with: + changeLogPath: embassy-futures/CHANGELOG.md + skipLabels: "skip-changelog" + missingUpdateErrorMessage: "Please add a changelog entry in the embassy-futures/CHANGELOG.md file." + - name: Check that changelog updated (embassy-imxrt) + if: steps.changes.outputs.embassy-imxrt == 'true' + uses: dangoslen/changelog-enforcer@v3 + with: + changeLogPath: embassy-imxrt/CHANGELOG.md + skipLabels: "skip-changelog" + missingUpdateErrorMessage: "Please add a changelog entry in the embassy-imxrt/CHANGELOG.md file." + - name: Check that changelog updated (embassy-mspm0) + if: steps.changes.outputs.embassy-mspm0 == 'true' + uses: dangoslen/changelog-enforcer@v3 + with: + changeLogPath: embassy-mspm0/CHANGELOG.md + skipLabels: "skip-changelog" + missingUpdateErrorMessage: "Please add a changelog entry in the embassy-mspm0/CHANGELOG.md file." + - name: Check that changelog updated (embassy-net) + if: steps.changes.outputs.embassy-net == 'true' + uses: dangoslen/changelog-enforcer@v3 + with: + changeLogPath: embassy-net/CHANGELOG.md + skipLabels: "skip-changelog" + missingUpdateErrorMessage: "Please add a changelog entry in the embassy-net/CHANGELOG.md file." + - name: Check that changelog updated (embassy-net-adin1110) + if: steps.changes.outputs.embassy-net-adin1110 == 'true' + uses: dangoslen/changelog-enforcer@v3 + with: + changeLogPath: embassy-net-adin1110/CHANGELOG.md + skipLabels: "skip-changelog" + missingUpdateErrorMessage: "Please add a changelog entry in the embassy-net-adin1110/CHANGELOG.md file." + - name: Check that changelog updated (embassy-net-driver) + if: steps.changes.outputs.embassy-net-driver == 'true' + uses: dangoslen/changelog-enforcer@v3 + with: + changeLogPath: embassy-net-driver/CHANGELOG.md + skipLabels: "skip-changelog" + missingUpdateErrorMessage: "Please add a changelog entry in the embassy-net-driver/CHANGELOG.md file." + - name: Check that changelog updated (embassy-net-driver-channel) + if: steps.changes.outputs.embassy-net-driver-channel == 'true' + uses: dangoslen/changelog-enforcer@v3 + with: + changeLogPath: embassy-net-driver-channel/CHANGELOG.md + skipLabels: "skip-changelog" + missingUpdateErrorMessage: "Please add a changelog entry in the embassy-net-driver-channel/CHANGELOG.md file." + - name: Check that changelog updated (embassy-net-enc28j60) + if: steps.changes.outputs.embassy-net-enc28j60 == 'true' + uses: dangoslen/changelog-enforcer@v3 + with: + changeLogPath: embassy-net-enc28j60/CHANGELOG.md + skipLabels: "skip-changelog" + missingUpdateErrorMessage: "Please add a changelog entry in the embassy-net-enc28j60/CHANGELOG.md file." + - name: Check that changelog updated (embassy-net-esp-hosted) + if: steps.changes.outputs.embassy-net-esp-hosted == 'true' + uses: dangoslen/changelog-enforcer@v3 + with: + changeLogPath: embassy-net-esp-hosted/CHANGELOG.md + skipLabels: "skip-changelog" + missingUpdateErrorMessage: "Please add a changelog entry in the embassy-net-esp-hosted/CHANGELOG.md file." + - name: Check that changelog updated (embassy-net-nrf91) + if: steps.changes.outputs.embassy-net-nrf91 == 'true' + uses: dangoslen/changelog-enforcer@v3 + with: + changeLogPath: embassy-net-nrf91/CHANGELOG.md + skipLabels: "skip-changelog" + missingUpdateErrorMessage: "Please add a changelog entry in the embassy-net-nrf91/CHANGELOG.md file." + - name: Check that changelog updated (embassy-net-ppp) + if: steps.changes.outputs.embassy-net-ppp == 'true' + uses: dangoslen/changelog-enforcer@v3 + with: + changeLogPath: embassy-net-ppp/CHANGELOG.md + skipLabels: "skip-changelog" + missingUpdateErrorMessage: "Please add a changelog entry in the embassy-net-ppp/CHANGELOG.md file." + - name: Check that changelog updated (embassy-net-tuntap) + if: steps.changes.outputs.embassy-net-tuntap == 'true' + uses: dangoslen/changelog-enforcer@v3 + with: + changeLogPath: embassy-net-tuntap/CHANGELOG.md + skipLabels: "skip-changelog" + missingUpdateErrorMessage: "Please add a changelog entry in the embassy-net-tuntap/CHANGELOG.md file." + - name: Check that changelog updated (embassy-net-wiznet) + if: steps.changes.outputs.embassy-net-wiznet == 'true' + uses: dangoslen/changelog-enforcer@v3 + with: + changeLogPath: embassy-net-wiznet/CHANGELOG.md + skipLabels: "skip-changelog" + missingUpdateErrorMessage: "Please add a changelog entry in the embassy-net-wiznet/CHANGELOG.md file." + - name: Check that changelog updated (embassy-nrf) + if: steps.changes.outputs.embassy-nrf == 'true' + uses: dangoslen/changelog-enforcer@v3 + with: + changeLogPath: embassy-nrf/CHANGELOG.md + skipLabels: "skip-changelog" + missingUpdateErrorMessage: "Please add a changelog entry in the embassy-nrf/CHANGELOG.md file." + - name: Check that changelog updated (embassy-nxp) + if: steps.changes.outputs.embassy-nxp == 'true' + uses: dangoslen/changelog-enforcer@v3 + with: + changeLogPath: embassy-nxp/CHANGELOG.md + skipLabels: "skip-changelog" + missingUpdateErrorMessage: "Please add a changelog entry in the embassy-nxp/CHANGELOG.md file." + - name: Check that changelog updated (embassy-rp) + if: steps.changes.outputs.embassy-rp == 'true' + uses: dangoslen/changelog-enforcer@v3 + with: + changeLogPath: embassy-rp/CHANGELOG.md + skipLabels: "skip-changelog" + missingUpdateErrorMessage: "Please add a changelog entry in the embassy-rp/CHANGELOG.md file." + - name: Check that changelog updated (embassy-stm32) + if: steps.changes.outputs.embassy-stm32 == 'true' + uses: dangoslen/changelog-enforcer@v3 + with: + changeLogPath: embassy-stm32/CHANGELOG.md + skipLabels: "skip-changelog" + missingUpdateErrorMessage: "Please add a changelog entry in the embassy-stm32/CHANGELOG.md file." + - name: Check that changelog updated (embassy-stm32-wpan) + if: steps.changes.outputs.embassy-stm32-wpan == 'true' + uses: dangoslen/changelog-enforcer@v3 + with: + changeLogPath: embassy-stm32-wpan/CHANGELOG.md + skipLabels: "skip-changelog" + missingUpdateErrorMessage: "Please add a changelog entry in the embassy-stm32-wpan/CHANGELOG.md file." + - name: Check that changelog updated (embassy-sync) + if: steps.changes.outputs.embassy-sync == 'true' + uses: dangoslen/changelog-enforcer@v3 + with: + changeLogPath: embassy-sync/CHANGELOG.md + skipLabels: "skip-changelog" + missingUpdateErrorMessage: "Please add a changelog entry in the embassy-sync/CHANGELOG.md file." + - name: Check that changelog updated (embassy-time) + if: steps.changes.outputs.embassy-time == 'true' + uses: dangoslen/changelog-enforcer@v3 + with: + changeLogPath: embassy-time/CHANGELOG.md + skipLabels: "skip-changelog" + missingUpdateErrorMessage: "Please add a changelog entry in the embassy-time/CHANGELOG.md file." + - name: Check that changelog updated (embassy-time-driver) + if: steps.changes.outputs.embassy-time-driver == 'true' + uses: dangoslen/changelog-enforcer@v3 + with: + changeLogPath: embassy-time-driver/CHANGELOG.md + skipLabels: "skip-changelog" + missingUpdateErrorMessage: "Please add a changelog entry in the embassy-time-driver/CHANGELOG.md file." + - name: Check that changelog updated (embassy-time-queue-utils) + if: steps.changes.outputs.embassy-time-queue-utils == 'true' + uses: dangoslen/changelog-enforcer@v3 + with: + changeLogPath: embassy-time-queue-utils/CHANGELOG.md + skipLabels: "skip-changelog" + missingUpdateErrorMessage: "Please add a changelog entry in the embassy-time-queue-utils/CHANGELOG.md file." + - name: Check that changelog updated (embassy-usb) + if: steps.changes.outputs.embassy-usb == 'true' + uses: dangoslen/changelog-enforcer@v3 + with: + changeLogPath: embassy-usb/CHANGELOG.md + skipLabels: "skip-changelog" + missingUpdateErrorMessage: "Please add a changelog entry in the embassy-usb/CHANGELOG.md file." + - name: Check that changelog updated (embassy-usb-dfu) + if: steps.changes.outputs.embassy-usb-dfu == 'true' + uses: dangoslen/changelog-enforcer@v3 + with: + changeLogPath: embassy-usb-dfu/CHANGELOG.md + skipLabels: "skip-changelog" + missingUpdateErrorMessage: "Please add a changelog entry in the embassy-usb-dfu/CHANGELOG.md file." + - name: Check that changelog updated (embassy-usb-driver) + if: steps.changes.outputs.embassy-usb-driver == 'true' + uses: dangoslen/changelog-enforcer@v3 + with: + changeLogPath: embassy-usb-driver/CHANGELOG.md + skipLabels: "skip-changelog" + missingUpdateErrorMessage: "Please add a changelog entry in the embassy-usb-driver/CHANGELOG.md file." + - name: Check that changelog updated (embassy-usb-logger) + if: steps.changes.outputs.embassy-usb-logger == 'true' + uses: dangoslen/changelog-enforcer@v3 + with: + changeLogPath: embassy-usb-logger/CHANGELOG.md + skipLabels: "skip-changelog" + missingUpdateErrorMessage: "Please add a changelog entry in the embassy-usb-logger/CHANGELOG.md file." + - name: Check that changelog updated (embassy-usb-synopsys-otg) + if: steps.changes.outputs.embassy-usb-synopsys-otg == 'true' + uses: dangoslen/changelog-enforcer@v3 + with: + changeLogPath: embassy-usb-synopsys-otg/CHANGELOG.md + skipLabels: "skip-changelog" + missingUpdateErrorMessage: "Please add a changelog entry in the embassy-usb-synopsys-otg/CHANGELOG.md file." -- cgit From b96f44cfd41175dda9789bb27bf18c12340e225a Mon Sep 17 00:00:00 2001 From: Dániel Buga Date: Sat, 16 Aug 2025 12:11:38 +0200 Subject: Add changelog check --- .github/workflows/changelog.yml | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to '.github') diff --git a/.github/workflows/changelog.yml b/.github/workflows/changelog.yml index 94e8f353a..13e04d954 100644 --- a/.github/workflows/changelog.yml +++ b/.github/workflows/changelog.yml @@ -45,6 +45,8 @@ jobs: - 'embassy-executor/**' embassy-executor-macros: - 'embassy-executor-macros/**' + embassy-executor-timer-queue: + - 'embassy-executor-timer-queue/**' embassy-futures: - 'embassy-futures/**' embassy-imxrt: @@ -162,6 +164,13 @@ jobs: changeLogPath: embassy-executor-macros/CHANGELOG.md skipLabels: "skip-changelog" missingUpdateErrorMessage: "Please add a changelog entry in the embassy-executor-macros/CHANGELOG.md file." + - name: Check that changelog updated (embassy-executor-timer-queue) + if: steps.changes.outputs.embassy-executor-timer-queue == 'true' + uses: dangoslen/changelog-enforcer@v3 + with: + changeLogPath: embassy-executor-timer-queue/CHANGELOG.md + skipLabels: "skip-changelog" + missingUpdateErrorMessage: "Please add a changelog entry in the embassy-executor-timer-queue/CHANGELOG.md file." - name: Check that changelog updated (embassy-futures) if: steps.changes.outputs.embassy-futures == 'true' uses: dangoslen/changelog-enforcer@v3 -- cgit From da9cdf0c536ec4fa7bdfb649750c44f70ef1cd55 Mon Sep 17 00:00:00 2001 From: Dario Nieuwenhuis Date: Wed, 9 Jul 2025 01:18:04 +0200 Subject: executor: add "task metadata" concept, make name a task metadata. --- .github/ci/test.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.github') diff --git a/.github/ci/test.sh b/.github/ci/test.sh index c9b332cf8..33dfa48c9 100755 --- a/.github/ci/test.sh +++ b/.github/ci/test.sh @@ -12,7 +12,7 @@ export CARGO_TARGET_DIR=/ci/cache/target # used when pointing stm32-metapac to a CI-built one. export CARGO_NET_GIT_FETCH_WITH_CLI=true -cargo test --manifest-path ./embassy-executor/Cargo.toml +cargo test --manifest-path ./embassy-executor/Cargo.toml --features metadata-name cargo test --manifest-path ./embassy-futures/Cargo.toml cargo test --manifest-path ./embassy-sync/Cargo.toml cargo test --manifest-path ./embassy-embedded-hal/Cargo.toml -- cgit From 629d224a7614989d79448a1cf17e345be79a0d4b Mon Sep 17 00:00:00 2001 From: Florian Grandel Date: Sat, 30 Aug 2025 18:00:49 +0200 Subject: fix(ci): executor macros changelog Changes to executor macros are expected in the executor changelog. There is now separate changelog for the macros crate. Signed-off-by: Florian Grandel --- .github/workflows/changelog.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to '.github') diff --git a/.github/workflows/changelog.yml b/.github/workflows/changelog.yml index 13e04d954..8ee143cad 100644 --- a/.github/workflows/changelog.yml +++ b/.github/workflows/changelog.yml @@ -161,9 +161,9 @@ jobs: if: steps.changes.outputs.embassy-executor-macros == 'true' uses: dangoslen/changelog-enforcer@v3 with: - changeLogPath: embassy-executor-macros/CHANGELOG.md + changeLogPath: embassy-executor/CHANGELOG.md skipLabels: "skip-changelog" - missingUpdateErrorMessage: "Please add a changelog entry in the embassy-executor-macros/CHANGELOG.md file." + missingUpdateErrorMessage: "Please add a changelog entry in the embassy-executor/CHANGELOG.md file." - name: Check that changelog updated (embassy-executor-timer-queue) if: steps.changes.outputs.embassy-executor-timer-queue == 'true' uses: dangoslen/changelog-enforcer@v3 -- cgit From 55b3c5c6e8fb5e55a0e507c43db5d9ef32114f64 Mon Sep 17 00:00:00 2001 From: Dario Nieuwenhuis Date: Thu, 11 Sep 2025 21:27:02 +0200 Subject: ci: use devtool to build. --- .github/ci/build-nightly.sh | 3 +++ .github/ci/build-xtensa.sh | 11 ++++------- .github/ci/build.sh | 3 +++ 3 files changed, 10 insertions(+), 7 deletions(-) (limited to '.github') diff --git a/.github/ci/build-nightly.sh b/.github/ci/build-nightly.sh index 95cb4100c..2d7c4db3f 100755 --- a/.github/ci/build-nightly.sh +++ b/.github/ci/build-nightly.sh @@ -7,6 +7,7 @@ set -euo pipefail export RUSTUP_HOME=/ci/cache/rustup export CARGO_HOME=/ci/cache/cargo export CARGO_TARGET_DIR=/ci/cache/target +export PATH=$CARGO_HOME/bin:$PATH mv rust-toolchain-nightly.toml rust-toolchain.toml # needed for "dumb HTTP" transport support @@ -22,6 +23,8 @@ fi hashtime restore /ci/cache/filetime.json || true hashtime save /ci/cache/filetime.json +cargo install --git https://github.com/embassy-rs/cargo-embassy-devtool --locked --rev 280829ad163f1444999468a57d28fb7c412babbe + ./ci-nightly.sh # Save lockfiles diff --git a/.github/ci/build-xtensa.sh b/.github/ci/build-xtensa.sh index 103575bc9..b6626639d 100755 --- a/.github/ci/build-xtensa.sh +++ b/.github/ci/build-xtensa.sh @@ -7,13 +7,14 @@ set -euo pipefail export RUSTUP_HOME=/ci/cache/rustup export CARGO_HOME=/ci/cache/cargo export CARGO_TARGET_DIR=/ci/cache/target +export PATH=$CARGO_HOME/bin:$PATH # needed for "dumb HTTP" transport support # used when pointing stm32-metapac to a CI-built one. export CARGO_NET_GIT_FETCH_WITH_CLI=true -cargo install espup -/ci/cache/cargo/bin/espup install --toolchain-version 1.84.0.0 +cargo install espup --locked +espup install --toolchain-version 1.88.0.0 # Restore lockfiles if [ -f /ci/cache/lockfiles.tar ]; then @@ -24,11 +25,7 @@ fi hashtime restore /ci/cache/filetime.json || true hashtime save /ci/cache/filetime.json -mkdir .cargo -cat > .cargo/config.toml<< EOF -[unstable] -build-std = ["alloc", "core"] -EOF +cargo install --git https://github.com/embassy-rs/cargo-embassy-devtool --locked --rev 280829ad163f1444999468a57d28fb7c412babbe ./ci-xtensa.sh diff --git a/.github/ci/build.sh b/.github/ci/build.sh index 68a7c0c34..59bcefed6 100755 --- a/.github/ci/build.sh +++ b/.github/ci/build.sh @@ -7,6 +7,7 @@ set -euo pipefail export RUSTUP_HOME=/ci/cache/rustup export CARGO_HOME=/ci/cache/cargo export CARGO_TARGET_DIR=/ci/cache/target +export PATH=$CARGO_HOME/bin:$PATH if [ -f /ci/secrets/teleprobe-token.txt ]; then echo Got teleprobe token! export TELEPROBE_HOST=https://teleprobe.embassy.dev @@ -27,6 +28,8 @@ fi hashtime restore /ci/cache/filetime.json || true hashtime save /ci/cache/filetime.json +cargo install --git https://github.com/embassy-rs/cargo-embassy-devtool --locked --rev 280829ad163f1444999468a57d28fb7c412babbe + ./ci.sh # Save lockfiles -- cgit From 83209b812c5bc5b5db3ee1624b1eff27c6a45cf6 Mon Sep 17 00:00:00 2001 From: Dario Nieuwenhuis Date: Mon, 15 Sep 2025 14:03:12 +0200 Subject: Use new docserver bin to build docs. --- .github/ci/doc.sh | 68 +++++++++++++++++++++++++++---------------------------- 1 file changed, 34 insertions(+), 34 deletions(-) (limited to '.github') diff --git a/.github/ci/doc.sh b/.github/ci/doc.sh index ac96008d8..7d6544e73 100755 --- a/.github/ci/doc.sh +++ b/.github/ci/doc.sh @@ -19,42 +19,42 @@ mv rust-toolchain-nightly.toml rust-toolchain.toml # which makes rustup very sad rustc --version > /dev/null -docserver-builder -i ./embassy-boot -o webroot/crates/embassy-boot/git.zup -docserver-builder -i ./embassy-boot-nrf -o webroot/crates/embassy-boot-nrf/git.zup -docserver-builder -i ./embassy-boot-rp -o webroot/crates/embassy-boot-rp/git.zup -docserver-builder -i ./embassy-boot-stm32 -o webroot/crates/embassy-boot-stm32/git.zup -docserver-builder -i ./embassy-embedded-hal -o webroot/crates/embassy-embedded-hal/git.zup -docserver-builder -i ./embassy-executor -o webroot/crates/embassy-executor/git.zup -docserver-builder -i ./embassy-futures -o webroot/crates/embassy-futures/git.zup -docserver-builder -i ./embassy-nrf -o webroot/crates/embassy-nrf/git.zup -docserver-builder -i ./embassy-rp -o webroot/crates/embassy-rp/git.zup -docserver-builder -i ./embassy-mspm0 -o webroot/crates/embassy-mspm0/git.zup -docserver-builder -i ./embassy-nxp -o webroot/crates/embassy-nxp/git.zup -docserver-builder -i ./embassy-sync -o webroot/crates/embassy-sync/git.zup -docserver-builder -i ./cyw43 -o webroot/crates/cyw43/git.zup -docserver-builder -i ./cyw43-pio -o webroot/crates/cyw43-pio/git.zup -docserver-builder -i ./embassy-stm32-wpan -o webroot/crates/embassy-stm32-wpan/git.zup --output-static webroot/static +docserver build -c -i ./embassy-boot -o webroot/crates/embassy-boot/git.zup +docserver build -c -i ./embassy-boot-nrf -o webroot/crates/embassy-boot-nrf/git.zup +docserver build -c -i ./embassy-boot-rp -o webroot/crates/embassy-boot-rp/git.zup +docserver build -c -i ./embassy-boot-stm32 -o webroot/crates/embassy-boot-stm32/git.zup +docserver build -c -i ./embassy-embedded-hal -o webroot/crates/embassy-embedded-hal/git.zup +docserver build -c -i ./embassy-executor -o webroot/crates/embassy-executor/git.zup +docserver build -c -i ./embassy-futures -o webroot/crates/embassy-futures/git.zup +docserver build -c -i ./embassy-nrf -o webroot/crates/embassy-nrf/git.zup +docserver build -c -i ./embassy-rp -o webroot/crates/embassy-rp/git.zup +docserver build -c -i ./embassy-mspm0 -o webroot/crates/embassy-mspm0/git.zup +docserver build -c -i ./embassy-nxp -o webroot/crates/embassy-nxp/git.zup +docserver build -c -i ./embassy-sync -o webroot/crates/embassy-sync/git.zup +docserver build -c -i ./cyw43 -o webroot/crates/cyw43/git.zup +docserver build -c -i ./cyw43-pio -o webroot/crates/cyw43-pio/git.zup +docserver build -c -i ./embassy-stm32-wpan -o webroot/crates/embassy-stm32-wpan/git.zup --output-static webroot/static -docserver-builder -i ./embassy-time -o webroot/crates/embassy-time/git.zup -docserver-builder -i ./embassy-time-driver -o webroot/crates/embassy-time-driver/git.zup -docserver-builder -i ./embassy-time-queue-utils -o webroot/crates/embassy-time-queue-utils/git.zup +docserver build -c -i ./embassy-time -o webroot/crates/embassy-time/git.zup +docserver build -c -i ./embassy-time-driver -o webroot/crates/embassy-time-driver/git.zup +docserver build -c -i ./embassy-time-queue-utils -o webroot/crates/embassy-time-queue-utils/git.zup -docserver-builder -i ./embassy-usb -o webroot/crates/embassy-usb/git.zup -docserver-builder -i ./embassy-usb-dfu -o webroot/crates/embassy-usb-dfu/git.zup -docserver-builder -i ./embassy-usb-driver -o webroot/crates/embassy-usb-driver/git.zup -docserver-builder -i ./embassy-usb-logger -o webroot/crates/embassy-usb-logger/git.zup -docserver-builder -i ./embassy-usb-synopsys-otg -o webroot/crates/embassy-usb-synopsys-otg/git.zup +docserver build -c -i ./embassy-usb -o webroot/crates/embassy-usb/git.zup +docserver build -c -i ./embassy-usb-dfu -o webroot/crates/embassy-usb-dfu/git.zup +docserver build -c -i ./embassy-usb-driver -o webroot/crates/embassy-usb-driver/git.zup +docserver build -c -i ./embassy-usb-logger -o webroot/crates/embassy-usb-logger/git.zup +docserver build -c -i ./embassy-usb-synopsys-otg -o webroot/crates/embassy-usb-synopsys-otg/git.zup -docserver-builder -i ./embassy-net -o webroot/crates/embassy-net/git.zup -docserver-builder -i ./embassy-net-nrf91 -o webroot/crates/embassy-net-nrf91/git.zup -docserver-builder -i ./embassy-net-driver -o webroot/crates/embassy-net-driver/git.zup -docserver-builder -i ./embassy-net-driver-channel -o webroot/crates/embassy-net-driver-channel/git.zup -docserver-builder -i ./embassy-net-wiznet -o webroot/crates/embassy-net-wiznet/git.zup -docserver-builder -i ./embassy-net-ppp -o webroot/crates/embassy-net-ppp/git.zup -docserver-builder -i ./embassy-net-tuntap -o webroot/crates/embassy-net-tuntap/git.zup -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-net-adin1110 -o webroot/crates/embassy-net-adin1110/git.zup +docserver build -c -i ./embassy-net -o webroot/crates/embassy-net/git.zup +docserver build -c -i ./embassy-net-nrf91 -o webroot/crates/embassy-net-nrf91/git.zup +docserver build -c -i ./embassy-net-driver -o webroot/crates/embassy-net-driver/git.zup +docserver build -c -i ./embassy-net-driver-channel -o webroot/crates/embassy-net-driver-channel/git.zup +docserver build -c -i ./embassy-net-wiznet -o webroot/crates/embassy-net-wiznet/git.zup +docserver build -c -i ./embassy-net-ppp -o webroot/crates/embassy-net-ppp/git.zup +docserver build -c -i ./embassy-net-tuntap -o webroot/crates/embassy-net-tuntap/git.zup +docserver build -c -i ./embassy-net-enc28j60 -o webroot/crates/embassy-net-enc28j60/git.zup +docserver build -c -i ./embassy-net-esp-hosted -o webroot/crates/embassy-net-esp-hosted/git.zup +docserver build -c -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}) @@ -65,6 +65,6 @@ kubectl cp webroot/static $POD:/data # 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 +docserver build -c -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