Use rustc stable for benchmark CI run to fix current breakage 2022-10-stable-bench
authorMatt Corallo <git@bluematt.me>
Mon, 31 Oct 2022 18:46:31 +0000 (18:46 +0000)
committerMatt Corallo <git@bluematt.me>
Mon, 31 Oct 2022 18:46:31 +0000 (18:46 +0000)
.github/workflows/build.yml

index 171c57fcb1cf1c56f1b7a272e4a4a26a0513a673..3a67a681280187e382362aa83a2c3bbcb647799e 100644 (file)
@@ -228,7 +228,7 @@ jobs:
   benchmark:
     runs-on: ubuntu-latest
     env:
-      TOOLCHAIN: nightly
+      TOOLCHAIN: stable
     steps:
       - name: Checkout source code
         uses: actions/checkout@v3
@@ -273,7 +273,7 @@ jobs:
           cd ..
       - name: Run benchmarks on Rust ${{ matrix.toolchain }}
         run: |
-          cargo bench --features _bench_unstable
+          RUSTC_BOOTSTRAP=1 cargo bench --features _bench_unstable
 
   check_commits:
     runs-on: ubuntu-latest