Files
lvgl/.github/workflows/perf_tests.yml
dependabot[bot] 102c5846bb ci(deps): bump actions/checkout from 5 to 6 (#9334)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-12-02 21:32:38 +08:00

36 lines
1.0 KiB
YAML

name: Performance Tests CI
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
# https://docs.github.com/en/actions/writing-workflows/workflow-syntax-for-github-actions#concurrency
# Ensure that only one commit will be running tests at a time on each PR
concurrency:
group: ${{ github.ref }}-${{ github.workflow }}
cancel-in-progress: true
jobs:
test-perf:
runs-on: ubuntu-24.04
strategy:
fail-fast: false
matrix:
# A valid option parameter to the cmake file.
# See BUILD_OPTIONS in tests/perf.py.
build_option: ['OPTIONS_TEST_PERF_32B',
'OPTIONS_TEST_PERF_64B']
name: Perf Tests ${{ matrix.build_option }} - Ubuntu
steps:
- uses: actions/checkout@v6
- uses: ammaraskar/gcc-problem-matcher@master
- name: Setup Python
uses: actions/setup-python@v6
with:
python-version: '3.12'
- name: Building ${{ matrix.build_option }}
run: python tests/perf.py --build-option=${{ matrix.build_option }} test