on master help sign in
chore(ci): install a pre-release version of Cross
commit1fc97a9a203adce6a700cb871cddb75c655a4b98 authoryvt <i@yvt.jp> dateFri 2 Sep 2022, 12:42 (4 years ago) parent14f12c8
1 file changed+8
.github/workflows/release.yml+8
.github/workflows/release.yml+8
@@ -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"