summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/release.yml8
1 files changed, 8 insertions, 0 deletions
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index b8be1541..55233bfd 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -100,6 +100,14 @@ jobs:
target: ${{ matrix.target }}
override: true
+ # Install a pre-release version of Cross
+ # TODO: We need to pre-install Cross because we need cross-rs/cross#591 to
+ # get a newer C++ compiler toolchain. Remove this step when Cross
+ # 0.3.0, which includes cross-rs/cross#591, is released.
+ - name: Install Cross
+ if: "matrix.cross"
+ run: cargo install cross --git https://github.com/cross-rs/cross.git --rev 47df5c76e7cba682823a0b6aa6d95c17b31ba63a
+
- name: Run cargo test
uses: actions-rs/cargo@v1
if: "!matrix.skip_tests"