From 1fc97a9a203adce6a700cb871cddb75c655a4b98 Mon Sep 17 00:00:00 2001 From: yvt Date: Fri, 2 Sep 2022 12:42:25 +0900 Subject: chore(ci): install a pre-release version of Cross --- .github/workflows/release.yml | 8 ++++++++ 1 file changed, 8 insertions(+) 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" -- cgit v1.2.3-70-g09d2