ci: add 8bit build option (#7574)
Arduino Lint / lint (push) Waiting to run
MicroPython CI / Build esp32 port (push) Waiting to run
MicroPython CI / Build rp2 port (push) Waiting to run
MicroPython CI / Build stm32 port (push) Waiting to run
MicroPython CI / Build unix port (push) Waiting to run
C/C++ CI / Build OPTIONS_16BIT - Ubuntu (push) Waiting to run
C/C++ CI / Build OPTIONS_24BIT - Ubuntu (push) Waiting to run
C/C++ CI / Build OPTIONS_FULL_32BIT - Ubuntu (push) Waiting to run
C/C++ CI / Build OPTIONS_NORMAL_8BIT - Ubuntu (push) Waiting to run
C/C++ CI / Build OPTIONS_SDL - Ubuntu (push) Waiting to run
C/C++ CI / Build OPTIONS_VG_LITE - Ubuntu (push) Waiting to run
C/C++ CI / Build OPTIONS_16BIT - cl - Windows (push) Waiting to run
C/C++ CI / Build OPTIONS_16BIT - gcc - Windows (push) Waiting to run
C/C++ CI / Build OPTIONS_24BIT - cl - Windows (push) Waiting to run
C/C++ CI / Build OPTIONS_24BIT - gcc - Windows (push) Waiting to run
C/C++ CI / Build OPTIONS_FULL_32BIT - cl - Windows (push) Waiting to run
C/C++ CI / Build OPTIONS_FULL_32BIT - gcc - Windows (push) Waiting to run
C/C++ CI / Build OPTIONS_VG_LITE - cl - Windows (push) Waiting to run
C/C++ CI / Build OPTIONS_VG_LITE - gcc - Windows (push) Waiting to run
C/C++ CI / Build ESP IDF ESP32S3 (push) Waiting to run
C/C++ CI / Run tests with 32bit build (push) Waiting to run
C/C++ CI / Run tests with 64bit build (push) Waiting to run
BOM Check / bom-check (push) Waiting to run
Verify that lv_conf_internal.h matches repository state / verify-conf-internal (push) Waiting to run
Verify the widget property name / verify-property-name (push) Waiting to run
Verify code formatting / verify-formatting (push) Waiting to run
Build docs / build-and-deploy (push) Waiting to run
Test API JSON generator / Test API JSON (push) Waiting to run
Check Makefile / Build using Makefile (push) Waiting to run
Check Makefile for UEFI / Build using Makefile for UEFI (push) Waiting to run
Port repo release update / run-release-branch-updater (push) Waiting to run
Verify Kconfig / verify-kconfig (push) Waiting to run

This commit is contained in:
André Costa
2025-02-12 20:26:44 +01:00
committed by GitHub
parent bafc22e016
commit 0c5e09a144
2 changed files with 30 additions and 22 deletions
+29 -21
View File
@@ -13,19 +13,21 @@ concurrency:
cancel-in-progress: true
jobs:
build:
build-ubuntu:
if: ${{ github.event_name != 'pull_request' || github.repository != github.event.pull_request.head.repo.full_name }}
runs-on: ubuntu-22.04
strategy:
fail-fast: false
matrix:
# A valid option parameter to the cmake file.
# See BUILD_OPTIONS in tests/CMakeLists.txt.
build_option: ['OPTIONS_16BIT',
build_option: ['OPTIONS_NORMAL_8BIT',
'OPTIONS_16BIT',
'OPTIONS_24BIT',
'OPTIONS_FULL_32BIT',
'OPTIONS_VG_LITE',
'OPTIONS_SDL']
name: Build ${{ matrix.build_option }}
name: Build ${{ matrix.build_option }} - Ubuntu
steps:
- uses: actions/checkout@v4
- uses: ammaraskar/gcc-problem-matcher@master
@@ -34,36 +36,42 @@ jobs:
- name: Building ${{ matrix.build_option }}
run: python tests/main.py --build-option=${{ matrix.build_option }} build --auto-clean
build-windows-GCC:
runs-on: windows-2022
name: Build Windows GCC
steps:
- uses: actions/checkout@v4
- uses: ammaraskar/gcc-problem-matcher@master
- name: Install prerequisites
run: scripts\install-prerequisites.bat
- name: Build
run: python tests/main.py build
env:
CC: gcc
build-windows:
strategy:
fail-fast: false
matrix:
# A valid option parameter to the cmake file.
# See BUILD_OPTIONS in tests/CMakeLists.txt.
build_option: ['OPTIONS_16BIT',
'OPTIONS_24BIT',
'OPTIONS_FULL_32BIT',
'OPTIONS_VG_LITE']
compiler: [gcc, cl]
build-windows-MSVC:
name: Build ${{ matrix.build_option }} - ${{matrix.compiler }} - Windows
runs-on: windows-2022
name: Build Windows MSVC
steps:
- uses: actions/checkout@v4
- name: Install prerequisites
run: scripts\install-prerequisites.bat
- uses: ilammy/msvc-dev-cmd@v1
- if: matrix.compiler == 'gcc'
uses: ammaraskar/gcc-problem-matcher@master
- if: matrix.compiler == 'cl'
uses: ilammy/msvc-dev-cmd@v1
with:
arch: x64
- uses: ruby/setup-ruby@v1
- if: matrix.compiler == 'cl'
uses: ruby/setup-ruby@v1
with:
ruby-version: 'mswin'
- name: Build
run: python tests/main.py build
run: python tests/main.py --build-option=${{ matrix.build_option }} build
env:
CC: cl
CC: ${{ matrix.compiler }}
build-esp32s3:
runs-on: ubuntu-22.04
+1 -1
View File
@@ -21,7 +21,7 @@ from LVGLImage import LVGLImage, ColorFormat, CompressMethod
# Key values must match variable names in CMakeLists.txt.
build_only_options = {
# 'OPTIONS_NORMAL_8BIT': 'Normal config, 8 bit color depth',
'OPTIONS_NORMAL_8BIT': 'Normal config, 8 bit color depth',
'OPTIONS_16BIT': 'Minimal config, 16 bit color depth',
'OPTIONS_24BIT': 'Normal config, 24 bit color depth',
'OPTIONS_FULL_32BIT': 'Full config, 32 bit color depth',