Skip to content

Commit 5ee1e71

Browse files
authored
Update CI (#2329)
* Update nightly in CI See rust-lang/rust#70175 and rust-lang/cargo#6375 * Bump minimum rust version to 1.43.1 * Add rustdocflags * Bump grcov version
1 parent d9ee06a commit 5ee1e71

File tree

1 file changed

+15
-12
lines changed

1 file changed

+15
-12
lines changed

.github/workflows/rav1e.yml

+15-12
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ jobs:
4949
matrix:
5050
conf:
5151
- beta-build
52-
- 1.36.0-tests
52+
- 1.43.1-tests
5353
- aom-tests
5454
- dav1d-tests
5555
- grcov-coveralls
@@ -62,14 +62,14 @@ jobs:
6262
include:
6363
- conf: beta-build
6464
toolchain: beta
65-
- conf: 1.36.0-tests
66-
toolchain: 1.36.0
65+
- conf: 1.43.1-tests
66+
toolchain: 1.43.1
6767
- conf: aom-tests
6868
toolchain: stable
6969
- conf: dav1d-tests
7070
toolchain: stable
7171
- conf: grcov-coveralls
72-
toolchain: nightly-2019-12-02
72+
toolchain: nightly-2020-05-14
7373
- conf: bench
7474
toolchain: stable
7575
- conf: doc
@@ -81,7 +81,7 @@ jobs:
8181
- conf: check-extra-feats
8282
toolchain: stable
8383
- conf: fuzz
84-
toolchain: nightly-2019-12-02
84+
toolchain: nightly-2020-05-14
8585

8686
env:
8787
RUST_BACKTRACE: 1
@@ -115,7 +115,7 @@ jobs:
115115
echo "$NASM_SHA256 nasm_${NASM_VERSION}_amd64.deb" >> CHECKSUMS
116116
- name: Add aom
117117
if: >
118-
matrix.conf == '1.36.0-tests' || matrix.conf == 'aom-tests' ||
118+
matrix.conf == '1.43.1-tests' || matrix.conf == 'aom-tests' ||
119119
matrix.conf == 'grcov-coveralls'
120120
env:
121121
LINK: http://ppa.launchpad.net/jonathonf/ffmpeg-4/ubuntu/pool/main/a/aom
@@ -131,7 +131,7 @@ jobs:
131131
echo "$AOM_LIB_SHA256 libaom0_${AOM_VERSION}_amd64.deb" >> CHECKSUMS
132132
- name: Add dav1d
133133
if: >
134-
matrix.conf == '1.36.0-tests' || matrix.conf == 'dav1d-tests' ||
134+
matrix.conf == '1.43.1-tests' || matrix.conf == 'dav1d-tests' ||
135135
matrix.conf == 'grcov-coveralls' || matrix.conf == 'fuzz'
136136
env:
137137
LINK: http://www.deb-multimedia.org/pool/main/d/dav1d-dmo
@@ -175,7 +175,7 @@ jobs:
175175
if: matrix.conf == 'grcov-coveralls'
176176
env:
177177
LINK: https://github.com/mozilla/grcov/releases/download
178-
GRCOV_VERSION: 0.5.14
178+
GRCOV_VERSION: 0.5.15
179179
run: |
180180
curl -L "$LINK/v$GRCOV_VERSION/grcov-linux-x86_64.tar.bz2" |
181181
tar xj -C $HOME/.cargo/bin
@@ -208,8 +208,8 @@ jobs:
208208
- name: Start sccache server
209209
run: |
210210
sccache --start-server
211-
- name: Run 1.36.0 tests
212-
if: matrix.toolchain == '1.36.0' && matrix.conf == '1.36.0-tests'
211+
- name: Run 1.43.1 tests
212+
if: matrix.toolchain == '1.43.1' && matrix.conf == '1.43.1-tests'
213213
run: |
214214
cargo test --verbose \
215215
--features=decode_test,decode_test_dav1d,quick_test,capi
@@ -268,9 +268,12 @@ jobs:
268268
CARGO_INCREMENTAL: 0
269269
RUSTFLAGS: >
270270
-Zprofile -Ccodegen-units=1 -Clink-dead-code -Coverflow-checks=off
271-
-Zno-landing-pads
271+
-Cpanic=abort -Zpanic_abort_tests
272+
RUSTDOCFLAGS: >
273+
-Zprofile -Ccodegen-units=1 -Clink-dead-code -Coverflow-checks=off
274+
-Cpanic=abort -Zpanic_abort_tests
272275
run: |
273-
cargo test --features=decode_test,decode_test_dav1d,quick_test --verbose
276+
cargo test --features=decode_test,decode_test_dav1d,quick_test --verbose --target x86_64-unknown-linux-gnu
274277
- name: Run grcov
275278
if: matrix.conf == 'grcov-coveralls'
276279
id: coverage

0 commit comments

Comments
 (0)