Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update CI #2329

Merged
merged 4 commits into from
May 28, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 15 additions & 12 deletions .github/workflows/rav1e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ jobs:
matrix:
conf:
- beta-build
- 1.36.0-tests
- 1.43.1-tests
- aom-tests
- dav1d-tests
- grcov-coveralls
Expand All @@ -62,14 +62,14 @@ jobs:
include:
- conf: beta-build
toolchain: beta
- conf: 1.36.0-tests
toolchain: 1.36.0
- conf: 1.43.1-tests
toolchain: 1.43.1
- conf: aom-tests
toolchain: stable
- conf: dav1d-tests
toolchain: stable
- conf: grcov-coveralls
toolchain: nightly-2019-12-02
toolchain: nightly-2020-05-14
- conf: bench
toolchain: stable
- conf: doc
Expand All @@ -81,7 +81,7 @@ jobs:
- conf: check-extra-feats
toolchain: stable
- conf: fuzz
toolchain: nightly-2019-12-02
toolchain: nightly-2020-05-14

env:
RUST_BACKTRACE: 1
Expand Down Expand Up @@ -115,7 +115,7 @@ jobs:
echo "$NASM_SHA256 nasm_${NASM_VERSION}_amd64.deb" >> CHECKSUMS
- name: Add aom
if: >
matrix.conf == '1.36.0-tests' || matrix.conf == 'aom-tests' ||
matrix.conf == '1.43.1-tests' || matrix.conf == 'aom-tests' ||
matrix.conf == 'grcov-coveralls'
env:
LINK: http://ppa.launchpad.net/jonathonf/ffmpeg-4/ubuntu/pool/main/a/aom
Expand All @@ -131,7 +131,7 @@ jobs:
echo "$AOM_LIB_SHA256 libaom0_${AOM_VERSION}_amd64.deb" >> CHECKSUMS
- name: Add dav1d
if: >
matrix.conf == '1.36.0-tests' || matrix.conf == 'dav1d-tests' ||
matrix.conf == '1.43.1-tests' || matrix.conf == 'dav1d-tests' ||
matrix.conf == 'grcov-coveralls' || matrix.conf == 'fuzz'
env:
LINK: http://www.deb-multimedia.org/pool/main/d/dav1d-dmo
Expand Down Expand Up @@ -175,7 +175,7 @@ jobs:
if: matrix.conf == 'grcov-coveralls'
env:
LINK: https://github.com/mozilla/grcov/releases/download
GRCOV_VERSION: 0.5.14
GRCOV_VERSION: 0.5.15
run: |
curl -L "$LINK/v$GRCOV_VERSION/grcov-linux-x86_64.tar.bz2" |
tar xj -C $HOME/.cargo/bin
Expand Down Expand Up @@ -208,8 +208,8 @@ jobs:
- name: Start sccache server
run: |
sccache --start-server
- name: Run 1.36.0 tests
if: matrix.toolchain == '1.36.0' && matrix.conf == '1.36.0-tests'
- name: Run 1.43.1 tests
if: matrix.toolchain == '1.43.1' && matrix.conf == '1.43.1-tests'
run: |
cargo test --verbose \
--features=decode_test,decode_test_dav1d,quick_test,capi
Expand Down Expand Up @@ -268,9 +268,12 @@ jobs:
CARGO_INCREMENTAL: 0
RUSTFLAGS: >
-Zprofile -Ccodegen-units=1 -Clink-dead-code -Coverflow-checks=off
-Zno-landing-pads
-Cpanic=abort -Zpanic_abort_tests
lu-zero marked this conversation as resolved.
Show resolved Hide resolved
RUSTDOCFLAGS: >
-Zprofile -Ccodegen-units=1 -Clink-dead-code -Coverflow-checks=off
-Cpanic=abort -Zpanic_abort_tests
run: |
cargo test --features=decode_test,decode_test_dav1d,quick_test --verbose
cargo test --features=decode_test,decode_test_dav1d,quick_test --verbose --target x86_64-unknown-linux-gnu
- name: Run grcov
if: matrix.conf == 'grcov-coveralls'
id: coverage
Expand Down