X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=.github%2Fworkflows%2Fbuild.yml;h=ad5e1fc517bf4e5a706cbc90070ef407407e9cb5;hb=3fbee852b3b5fe839f2fccb1e343bc0bbe8e570d;hp=50981f74d094aa29cf727a9752c7e304396229e6;hpb=ddf25092273df2d592e25663dc6e2d0ecae41a0a;p=rust-lightning diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 50981f74..ad5e1fc5 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -32,11 +32,16 @@ jobs: run: | rustup target add thumbv7m-none-eabi sudo apt-get -y install gcc-arm-none-eabi + - name: Check for unknown cfg tags + run: ci/check-cfg-flags.py - name: shellcheck the CI script if: "matrix.platform == 'ubuntu-latest'" run: | sudo apt-get -y install shellcheck shellcheck ci/ci-tests.sh + - name: Set RUSTFLAGS to deny warnings + if: "matrix.toolchain == '1.63.0'" + run: echo "RUSTFLAGS=-D warnings" >> "$GITHUB_ENV" - name: Run CI script shell: bash # Default on Winblows is powershell run: CI_MINIMIZE_DISK_USAGE=1 ./ci/ci-tests.sh