workflows: Fix InfiniSim CI build

InfiniSim has removed the libpng submodule and moved it to a system
dependency.
This commit is contained in:
FintasticMan 2023-09-18 14:22:40 +02:00 committed by NeroBurner
parent 0aead42fdf
commit 3a7dfdba8e

View file

@ -61,10 +61,10 @@ jobs:
build-simulator: build-simulator:
runs-on: ubuntu-22.04 runs-on: ubuntu-22.04
steps: steps:
- name: Install SDL2 development package - name: Install SDL2 and libpng development package
run: | run: |
sudo apt-get update sudo apt-get update
sudo apt-get -y install libsdl2-dev sudo apt-get -y install libsdl2-dev libpng-dev
- name: Install Ninja - name: Install Ninja
run: | run: |
@ -82,7 +82,7 @@ jobs:
- name: Get InfiniSim repo - name: Get InfiniSim repo
run: | run: |
git clone https://github.com/InfiniTimeOrg/InfiniSim.git --depth 1 --branch main git clone https://github.com/InfiniTimeOrg/InfiniSim.git --depth 1 --branch main
git -C InfiniSim submodule update --init lv_drivers libpng git -C InfiniSim submodule update --init lv_drivers
- name: CMake - name: CMake
# disable BUILD_RESOURCES as this is already done when building the firmware # disable BUILD_RESOURCES as this is already done when building the firmware