Skip to content

Commit faddcbf

Browse files
committed
DO NOT MERGE: Bend CI to use 0.9 riot-module-examples branch
Note that the `http://` is really intended, as it works around rust-lang/cargo#5478
1 parent 6bdc5e6 commit faddcbf

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/test.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,8 @@ jobs:
4343
echo '[patch.crates-io]' >> .cargo/config.toml
4444
echo 'riot-wrappers = { path = "../", version = "*" }' >> .cargo/config.toml
4545
echo 'riot-sys = { git = "https://github.com/RIOT-OS/rust-riot-sys" }' >> .cargo/config.toml
46+
echo '[patch."https://gitlab.com/etonomy/riot-module-examples/"]' >> .cargo/config.toml
47+
echo 'riot-coap-handler-demos = { git = "http://gitlab.com/etonomy/riot-module-examples.git", branch = "riotwrappers-vfs-no-unpin" }' >> .cargo/config.toml
4648
- name: Pull cargo updates
4749
# No sense in running this in parallel -- this will download the index
4850
# and all relevant crates once, and after that, just make some notes in Cargo.lock
@@ -55,6 +57,7 @@ jobs:
5557
do
5658
echo "::group::Updating ${MANIF}"
5759
cargo update -p riot-sys -p riot-wrappers --aggressive --manifest-path $MANIF
60+
cargo update -p riot-coap-handler-demos --aggressive --manifest-path $MANIF || true
5861
cargo fetch --manifest-path $MANIF
5962
cargo tree --manifest-path $MANIF
6063
echo "::endgroup::"
@@ -108,6 +111,8 @@ jobs:
108111
echo '[patch.crates-io]' >> .cargo/config.toml
109112
echo 'riot-wrappers = { path = "../", version = "*" }' >> .cargo/config.toml
110113
echo 'riot-sys = { git = "https://github.com/RIOT-OS/rust-riot-sys" }' >> .cargo/config.toml
114+
echo '[patch."https://gitlab.com/etonomy/riot-module-examples/"]' >> .cargo/config.toml
115+
echo 'riot-coap-handler-demos = { git = "http://gitlab.com/etonomy/riot-module-examples.git", branch = "riotwrappers-vfs-no-unpin" }' >> .cargo/config.toml
111116
- name: Pull cargo updates
112117
# No sense in running this in parallel -- this will download the index
113118
# and all relevant crates once, and after that, just make some notes in Cargo.lock
@@ -120,6 +125,7 @@ jobs:
120125
do
121126
echo "::group::Updating ${MANIF}"
122127
cargo update -p riot-sys -p riot-wrappers --aggressive --manifest-path $MANIF
128+
cargo update -p riot-coap-handler-demos --aggressive --manifest-path $MANIF || true
123129
cargo fetch --manifest-path $MANIF
124130
cargo tree --manifest-path $MANIF
125131
echo "::endgroup::"

0 commit comments

Comments
 (0)