aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoryvt2022-09-02 03:42:25 +0000
committerMichael Davis2022-09-06 23:42:02 +0000
commit1fc97a9a203adce6a700cb871cddb75c655a4b98 (patch)
tree643cda8ed6aededab40447ea5eb768f5e1a86b70
parent14f12c8a0b7992a6836ad0b9e3177329696e5dc1 (diff)
chore(ci): install a pre-release version of Cross
-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"