deny compiler warnings in CI (#2570)
This commit is contained in:
parent
86d4e5b94a
commit
303654da38
@ -5,6 +5,7 @@ variables:
|
|||||||
GIT_DEPTH: "3"
|
GIT_DEPTH: "3"
|
||||||
SIMPLECOV: "true"
|
SIMPLECOV: "true"
|
||||||
RUST_BACKTRACE: "1"
|
RUST_BACKTRACE: "1"
|
||||||
|
RUSTFLAGS: "-D warnings"
|
||||||
cache:
|
cache:
|
||||||
key: "$CI_BUILD_NAME/$CI_BUILD_REF_NAME"
|
key: "$CI_BUILD_NAME/$CI_BUILD_REF_NAME"
|
||||||
untracked: true
|
untracked: true
|
||||||
@ -264,7 +265,7 @@ windows:
|
|||||||
- set INCLUDE=C:\Program Files (x86)\Microsoft SDKs\Windows\v7.1A\Include;C:\vs2015\VC\include;C:\Program Files (x86)\Windows Kits\10\Include\10.0.10240.0\ucrt
|
- set INCLUDE=C:\Program Files (x86)\Microsoft SDKs\Windows\v7.1A\Include;C:\vs2015\VC\include;C:\Program Files (x86)\Windows Kits\10\Include\10.0.10240.0\ucrt
|
||||||
- set LIB=C:\vs2015\VC\lib;C:\Program Files (x86)\Windows Kits\10\Lib\10.0.10240.0\ucrt\x64
|
- set LIB=C:\vs2015\VC\lib;C:\Program Files (x86)\Windows Kits\10\Lib\10.0.10240.0\ucrt\x64
|
||||||
- set RUST_BACKTRACE=1
|
- set RUST_BACKTRACE=1
|
||||||
- set RUSTFLAGS=-Zorbit=off
|
- set RUSTFLAGS=%RUSTFLAGS% -Zorbit=off
|
||||||
- rustup default stable-x86_64-pc-windows-msvc
|
- rustup default stable-x86_64-pc-windows-msvc
|
||||||
- cargo build --release --verbose
|
- cargo build --release --verbose
|
||||||
- cmd md5sum target\release\parity >> checksum
|
- cmd md5sum target\release\parity >> checksum
|
||||||
|
@ -31,6 +31,7 @@ env:
|
|||||||
- RUN_COVERAGE="false"
|
- RUN_COVERAGE="false"
|
||||||
- RUN_DOCS="false"
|
- RUN_DOCS="false"
|
||||||
- TEST_OPTIONS=""
|
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gfUxMHn8Gq/b44UbPvjtFOg2yam4xdWXF/RyWCHdc/R9EHorSABeCbefIsm+zcUF3/YQxwpSxM4IZEeH2rTiC7dcrsKw3XsO16xFQz5YI5Bay+CT/wTdMmJd7DdYz7Dyf+pOvcM9WOf/zorxYWSBOMYy0uzbusU2iyIghQ82s7E/Ahg+WARtPgkuTLSB5aL1oCTBKHqQscMr7lo5Ti6RpWLxEdTQMBznc+bMr+6dEtkEcG9zqc6cE9XX+ox3wTU6+HVMfQ1ltCntJ4UKcw3A6INEbw9wgocQa812CIASQ2fE+SCAbz6JxBjIAlFUnD1lUB7S8PdMPwn9plfQgKQ2A5YZqg6FnBdf0rQXIJYxQWKHXj/rBHSUCT0tHACDlzTA+EwWggvkP5AGIxRxm8jhw=
|
||||||
- KCOV_CMD="./kcov-master/tmp/usr/local/bin/kcov"
|
- KCOV_CMD="./kcov-master/tmp/usr/local/bin/kcov"
|
||||||
|
@ -6,7 +6,7 @@ environment:
|
|||||||
certpass:
|
certpass:
|
||||||
secure: 0BgXJqxq9Ei34/hZ7121FQ==
|
secure: 0BgXJqxq9Ei34/hZ7121FQ==
|
||||||
keyfile: C:\users\appveyor\Certificates.p12
|
keyfile: C:\users\appveyor\Certificates.p12
|
||||||
RUSTFLAGS: -Zorbit=off
|
RUSTFLAGS: -Zorbit=off -D warnings
|
||||||
|
|
||||||
branches:
|
branches:
|
||||||
only:
|
only:
|
||||||
|
Loading…
Reference in New Issue
Block a user