X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=.github%2Fworkflows%2Fbuild.yml;h=f27a2ccf863fa0348295a3f0c56810fa48280eb7;hb=08d296ad77e554147e58a524826cf78f4566ce2e;hp=171c57fcb1cf1c56f1b7a272e4a4a26a0513a673;hpb=d6321e6e11b3e1b11e26617d3bab0b8c21da0b5b;p=rust-lightning diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 171c57fc..f27a2ccf 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -109,7 +109,7 @@ jobs: RUSTFLAGS="-C link-dead-code" cargo build --verbose --color always --features rpc-client,rest-client RUSTFLAGS="-C link-dead-code" cargo build --verbose --color always --features rpc-client,rest-client,tokio - name: Test backtrace-debug builds on Rust ${{ matrix.toolchain }} - if: "matrix.build-no-std" + if: "matrix.toolchain == 'stable'" run: | cd lightning && cargo test --verbose --color always --features backtrace - name: Test on Rust ${{ matrix.toolchain }} with net-tokio @@ -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