Skip to content

Commit a25f3c3

Browse files
committed
Update CI (xiph#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 c49ca5e commit a25f3c3

File tree

1 file changed

+15
-12
lines changed

1 file changed

+15
-12
lines changed

.github/workflows/rav1e.yml

Lines changed: 15 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ jobs:
5151
matrix:
5252
conf:
5353
- beta-build
54-
- 1.36.0-tests
54+
- 1.43.1-tests
5555
- aom-tests
5656
- dav1d-tests
5757
- grcov-coveralls
@@ -64,14 +64,14 @@ jobs:
6464
include:
6565
- conf: beta-build
6666
toolchain: beta
67-
- conf: 1.36.0-tests
68-
toolchain: 1.36.0
67+
- conf: 1.43.1-tests
68+
toolchain: 1.43.1
6969
- conf: aom-tests
7070
toolchain: stable
7171
- conf: dav1d-tests
7272
toolchain: stable
7373
- conf: grcov-coveralls
74-
toolchain: nightly-2019-12-02
74+
toolchain: nightly-2020-05-14
7575
- conf: bench
7676
toolchain: stable
7777
- conf: doc
@@ -83,7 +83,7 @@ jobs:
8383
- conf: check-extra-feats
8484
toolchain: stable
8585
- conf: fuzz
86-
toolchain: nightly-2019-12-02
86+
toolchain: nightly-2020-05-14
8787

8888
env:
8989
RUST_BACKTRACE: 1
@@ -117,7 +117,7 @@ jobs:
117117
echo "$NASM_SHA256 nasm_${NASM_VERSION}_amd64.deb" >> CHECKSUMS
118118
- name: Add aom
119119
if: >
120-
matrix.conf == '1.36.0-tests' || matrix.conf == 'aom-tests' ||
120+
matrix.conf == '1.43.1-tests' || matrix.conf == 'aom-tests' ||
121121
matrix.conf == 'grcov-coveralls'
122122
env:
123123
LINK: http://ppa.launchpad.net/jonathonf/ffmpeg-4/ubuntu/pool/main/a/aom
@@ -133,7 +133,7 @@ jobs:
133133
echo "$AOM_LIB_SHA256 libaom0_${AOM_VERSION}_amd64.deb" >> CHECKSUMS
134134
- name: Add dav1d
135135
if: >
136-
matrix.conf == '1.36.0-tests' || matrix.conf == 'dav1d-tests' ||
136+
matrix.conf == '1.43.1-tests' || matrix.conf == 'dav1d-tests' ||
137137
matrix.conf == 'grcov-coveralls' || matrix.conf == 'fuzz'
138138
env:
139139
LINK: http://www.deb-multimedia.org/pool/main/d/dav1d-dmo
@@ -177,7 +177,7 @@ jobs:
177177
if: matrix.conf == 'grcov-coveralls'
178178
env:
179179
LINK: https://github.com/mozilla/grcov/releases/download
180-
GRCOV_VERSION: 0.5.14
180+
GRCOV_VERSION: 0.5.15
181181
run: |
182182
curl -L "$LINK/v$GRCOV_VERSION/grcov-linux-x86_64.tar.bz2" |
183183
tar xj -C $HOME/.cargo/bin
@@ -210,8 +210,8 @@ jobs:
210210
- name: Start sccache server
211211
run: |
212212
sccache --start-server
213-
- name: Run 1.36.0 tests
214-
if: matrix.toolchain == '1.36.0' && matrix.conf == '1.36.0-tests'
213+
- name: Run 1.43.1 tests
214+
if: matrix.toolchain == '1.43.1' && matrix.conf == '1.43.1-tests'
215215
run: |
216216
cargo test --verbose \
217217
--features=decode_test,decode_test_dav1d,quick_test,capi
@@ -270,9 +270,12 @@ jobs:
270270
CARGO_INCREMENTAL: 0
271271
RUSTFLAGS: >
272272
-Zprofile -Ccodegen-units=1 -Clink-dead-code -Coverflow-checks=off
273-
-Zno-landing-pads
273+
-Cpanic=abort -Zpanic_abort_tests
274+
RUSTDOCFLAGS: >
275+
-Zprofile -Ccodegen-units=1 -Clink-dead-code -Coverflow-checks=off
276+
-Cpanic=abort -Zpanic_abort_tests
274277
run: |
275-
cargo test --features=decode_test,decode_test_dav1d,quick_test --verbose
278+
cargo test --features=decode_test,decode_test_dav1d,quick_test --verbose --target x86_64-unknown-linux-gnu
276279
- name: Run grcov
277280
if: matrix.conf == 'grcov-coveralls'
278281
id: coverage

0 commit comments

Comments
 (0)