struct Dav1dIntraPredDSPContext
: Remove (most) Option
s
#1544
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: build and test on aarch64 with QEMU | |
on: [push, pull_request] | |
jobs: | |
test-on-qemu-linux-aarch64: | |
runs-on: ubuntu-latest | |
name: test on debian-bullseye-aarch64 | |
steps: | |
- name: install prerequisites | |
uses: awalsh128/cache-apt-pkgs-action@latest | |
with: | |
packages: g++-aarch64-linux-gnu libc6-dev-arm64-cross | |
version: 1.0 # version of cache to load | |
- name: git checkout | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 1 | |
- name: set up qemu | |
uses: docker/setup-qemu-action@v2 | |
with: | |
platforms: arm64 | |
- name: cache rust dependencies | |
uses: actions/cache@v3 | |
with: | |
path: | | |
~/.cargo/bin/ | |
~/.cargo/registry/index/ | |
~/.cargo/registry/cache/ | |
~/.cargo/git/db/ | |
target/ | |
key: aarch64-unknown-linux-gnu-cargo-and-target-${{ hashFiles('**/Cargo.lock') }} | |
# - name: cache dav1d object files | |
# uses: actions/cache@v3 | |
# with: | |
# path: build/ | |
# key: aarch64-unknown-linux-gnu-c-object-files-${{ hashFiles('**/meson.build', '**/*.c', '**/*.h') }} | |
- name: cargo build for aarch64-unknown-linux-gnu | |
run: | | |
rustup target add aarch64-unknown-linux-gnu | |
cargo build --release --target aarch64-unknown-linux-gnu | |
- name: docker pull | |
run: docker pull ghcr.io/immunant/rav1d/debian-bullseye-aarch64:latest | |
- name: build and run tests in docker | |
run: | | |
docker run \ | |
--rm \ | |
-v ~/.cargo/git:/home/prossimo/.cargo/git \ | |
-v ~/.cargo/registry:/home/prossimo/.cargo/registry \ | |
-v $(pwd):/${{ github.workspace }} \ | |
-w ${{ github.workspace }} \ | |
--platform linux/arm64 \ | |
ghcr.io/immunant/rav1d/debian-bullseye-aarch64:latest \ | |
.github/workflows/test.sh \ | |
-r ../target/aarch64-unknown-linux-gnu/release/dav1d \ | |
-s ../target/aarch64-unknown-linux-gnu/release/seek_stress | |
- name: upload build artifacts | |
if: ${{ !cancelled() }} | |
uses: actions/upload-artifact@v3 | |
with: | |
name: meson-test-logs | |
path: | | |
${{ github.workspace }}/build/meson-logs/testlog.txt |