|
75 | 75 | echo '[patch.crates-io]' >> async-channel/Cargo.toml
|
76 | 76 | echo 'event-listener = { path = ".." }' >> async-channel/Cargo.toml
|
77 | 77 | echo 'event-listener-strategy = { path = "../event-listener-strategy" }' >> async-channel/Cargo.toml
|
78 |
| - echo '[patch.crates-io]' >> event-listener-strategy/Cargo.toml |
| 78 | + echo '[patch.crates-io]' >> async-lock/Cargo.toml |
79 | 79 | echo 'event-listener = { path = ".." }' >> async-lock/Cargo.toml
|
80 | 80 | echo 'event-listener-strategy = { path = "../event-listener-strategy" }' >> async-lock/Cargo.toml
|
81 | 81 | echo 'async-channel = { path = "../async-channel" }' >> async-lock/Cargo.toml
|
@@ -122,6 +122,28 @@ jobs:
|
122 | 122 | - run: cargo miri test --all
|
123 | 123 | - run: cargo miri test --no-default-features --tests
|
124 | 124 | - run: cargo miri test --no-default-features --features portable-atomic --tests
|
| 125 | + - name: Clone some dependent crates |
| 126 | + run: | |
| 127 | + git clone https://github.com/smol-rs/event-listener-strategy.git |
| 128 | + git clone https://github.com/smol-rs/async-channel.git |
| 129 | + git clone https://github.com/smol-rs/async-lock.git |
| 130 | + - name: Patch dependent crates |
| 131 | + run: | |
| 132 | + echo '[patch.crates-io]' >> event-listener-strategy/Cargo.toml |
| 133 | + echo 'event-listener = { path = ".." }' >> event-listener-strategy/Cargo.toml |
| 134 | + echo '[patch.crates-io]' >> async-channel/Cargo.toml |
| 135 | + echo 'event-listener = { path = ".." }' >> async-channel/Cargo.toml |
| 136 | + echo 'event-listener-strategy = { path = "../event-listener-strategy" }' >> async-channel/Cargo.toml |
| 137 | + echo '[patch.crates-io]' >> async-lock/Cargo.toml |
| 138 | + echo 'event-listener = { path = ".." }' >> async-lock/Cargo.toml |
| 139 | + echo 'event-listener-strategy = { path = "../event-listener-strategy" }' >> async-lock/Cargo.toml |
| 140 | + echo 'async-channel = { path = "../async-channel" }' >> async-lock/Cargo.toml |
| 141 | + - name: Test dependent crates |
| 142 | + # async-channel isn't included here as it appears to be broken on MIRI. |
| 143 | + # See https://github.com/smol-rs/async-channel/issues/85 |
| 144 | + run: | |
| 145 | + cargo miri test --manifest-path=event-listener-strategy/Cargo.toml |
| 146 | + cargo miri test --manifest-path=async-lock/Cargo.toml |
125 | 147 |
|
126 | 148 | security_audit:
|
127 | 149 | permissions:
|
|
0 commit comments