blob: 64b92f81aed8b7e8faf68ebc1d3b8833790aa8d9 [file] [log] [blame]
name: Common Test Data
on:
workflow_call:
inputs:
runner:
type: string
default: '["self-hosted"]'
required: false
container-image:
type: string
default: docker-registry-internal.aom-infra.org/aomediacodec/aom-testing/ubuntu2404:20260116205104
required: false
timeout-minutes:
type: number
required: false
default: 660
jobs:
test-data:
name: Test Data
if: (!cancelled())
timeout-minutes: ${{ inputs.timeout-minutes }}
runs-on: ${{ fromJson(inputs.runner) }}
container:
image: ${{ inputs.container-image }}
env:
LIBAVM_TEST_DATA_PATH: ${{ github.workspace }}/libavm-test-data
steps:
- uses: actions/checkout@v4.1.0
with:
fetch-depth: 50
lfs: true
- uses: ./.github/actions/common-setup
- name: Build test data
run: |
cmake -B avm_testdata -GNinja -DCMAKE_POLICY_VERSION_MINIMUM=3.5
cmake --build avm_testdata --target testdata
- name: Upload artifacts
uses: actions/upload-artifact@v4.1.0
if: success()
with:
name: "${{ github.job }}"
retention-days: 1
path: libavm-test-data