Skip to content

Commit 1fc97a9

Browse files
yvtthe-mikedavis
authored andcommitted
chore(ci): install a pre-release version of Cross
1 parent 14f12c8 commit 1fc97a9

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/release.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,14 @@ jobs:
100100
target: ${{ matrix.target }}
101101
override: true
102102

103+
# Install a pre-release version of Cross
104+
# TODO: We need to pre-install Cross because we need cross-rs/cross#591 to
105+
# get a newer C++ compiler toolchain. Remove this step when Cross
106+
# 0.3.0, which includes cross-rs/cross#591, is released.
107+
- name: Install Cross
108+
if: "matrix.cross"
109+
run: cargo install cross --git https://github.com/cross-rs/cross.git --rev 47df5c76e7cba682823a0b6aa6d95c17b31ba63a
110+
103111
- name: Run cargo test
104112
uses: actions-rs/cargo@v1
105113
if: "!matrix.skip_tests"

0 commit comments

Comments
 (0)