From 302e9b493d81bbc4a51de908f661f10b9405a4d3 Mon Sep 17 00:00:00 2001 From: Per Larsen Date: Sat, 16 Mar 2024 03:15:34 -0700 Subject: [PATCH] CI: Build tools/david with ninja on macOS --- .github/workflows/build-and-test-aarch64-darwin.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/build-and-test-aarch64-darwin.yml b/.github/workflows/build-and-test-aarch64-darwin.yml index 3e0b1f942..db63a2467 100644 --- a/.github/workflows/build-and-test-aarch64-darwin.yml +++ b/.github/workflows/build-and-test-aarch64-darwin.yml @@ -24,6 +24,10 @@ jobs: key: arm-darwin-cargo-and-target-${{ hashFiles('**/Cargo.lock') }} - name: cargo build for aarch64-apple-darwin run: cargo build --release + # not quite sure why we need this on the runner, not needed locally + - run: | + meson build --buildtype release + ninja -C build tools/dav1d - name: test without frame delay run: .github/workflows/test.sh \ -r ./target/release/dav1d \ @@ -39,6 +43,9 @@ jobs: -r ./target/release/dav1d \ -s ./target/release/seek_stress -f 2 + - run: .github/workflows/test.sh \ + -r ./target/release/dav1d \ + -s ./target/release/seek_stress - name: upload build artifacts if: ${{ !cancelled() }} uses: actions/upload-artifact@v3