Skip to content

Commit 16fd1b6

Browse files
committed
fix cross workflow with patched deps
1 parent 46e5dc1 commit 16fd1b6

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/sha2.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -143,5 +143,7 @@ jobs:
143143
wget -O /tmp/binaries.tar.gz $URL
144144
tar -C /tmp -xzf /tmp/binaries.tar.gz
145145
mv /tmp/cross ~/.cargo/bin
146-
- run: cross test --target ${{ matrix.target }} --release
147-
- run: cross test --target ${{ matrix.target }} --release --features asm
146+
# Cross mounts only current package, i.e. by default it ignores workspace's Cargo.toml
147+
- run: cd ..
148+
- run: cross test --package sha2 --target ${{ matrix.target }} --release
149+
- run: cross test --package sha2 --target ${{ matrix.target }} --release --features asm

0 commit comments

Comments
 (0)