mirror of
https://github.com/lvgl/lvgl.git
synced 2026-03-23 22:39:09 +08:00
Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
36 lines
1.0 KiB
YAML
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
|