From bc631a0367b6fad758b6d3e5d6e5c74b246bb91e Mon Sep 17 00:00:00 2001 From: Volker Mische Date: Wed, 18 Oct 2023 14:00:31 +0200 Subject: [PATCH] chore: make sure the correct toolchain is used --- .github/workflows/ci.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 13dfb78..4cac5d9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -83,6 +83,8 @@ jobs: with: toolchain: ${{ matrix.toolchain }} targets: ${{ matrix.target }} + - name: Make sure the expected toolchain is used + run: rustup override set ${{ matrix.toolchain }} - name: Install opencl run: sudo apt-get install -y ocl-icd-opencl-dev - run: ${{ matrix.deps }} @@ -110,6 +112,8 @@ jobs: with: toolchain: ${{ matrix.toolchain }} target: x86_64-apple-darwin + - name: Make sure the expected toolchain is used + run: rustup override set ${{ matrix.toolchain }} - run: cargo test --no-default-features --features pairing,multicore - run: cargo test --no-default-features --features pairing - run: cargo test --no-default-features --features blst @@ -134,6 +138,8 @@ jobs: with: toolchain: ${{ matrix.toolchain }} targets: ${{ matrix.target }} + - name: Make sure the expected toolchain is used + run: rustup override set ${{ matrix.toolchain }} - uses: msys2/setup-msys2@v2 - run: cargo test --target ${{ matrix.target }} --no-default-features --features pairing,multicore - run: cargo test --target ${{ matrix.target }} --no-default-features --features pairing