From a7ece4ef5fa0cc7dd0c7f8c8765d387ed4c87c6d Mon Sep 17 00:00:00 2001 From: BlueCyro Date: Thu, 8 Aug 2024 18:17:59 -0500 Subject: [PATCH] chore(libheifactions)#: Don't even bother with the AOM script and just do it in the action --- .github/workflows/test-action.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test-action.yml b/.github/workflows/test-action.yml index 2ae4df56d5..4801f42a56 100644 --- a/.github/workflows/test-action.yml +++ b/.github/workflows/test-action.yml @@ -58,7 +58,15 @@ jobs: - name: Grab AOM for basic AVIF encoding/decoding working-directory: ${{ github.workspace }}/third-party run: | - .\aom.cmd + git clone -b v3.9.0 --depth 1 https://aomedia.googlesource.com/aom + + cd aom + + cmake -S . -B build.libavif -G Ninja -DCMAKE_INSTALL_PREFIX="${{ github.workspace }}/third-party/aom/dist" -DCMAKE_BUILD_TYPE=Release -DENABLE_DOCS=0 -DENABLE_EXAMPLES=0 -DENABLE_TESTDATA=0 -DENABLE_TESTS=0 -DENABLE_TOOLS=0 + ninja -C build.libavif + ninja -C build.libavif install + + cd .. - name: Configure CMake working-directory: ${{ steps.buildoutput.outputs.build-output-dir }}