From e6f14741d6d3f6ac44140c92425db05937ef374c Mon Sep 17 00:00:00 2001 From: Yaya-Cout Date: Mon, 31 Mar 2025 20:46:25 +0200 Subject: [PATCH] [CI] Install Linux toolchain for Web build to avoid dependancies issues (mainly libpng) --- .github/workflows/ci-workflow.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/ci-workflow.yml b/.github/workflows/ci-workflow.yml index bc950c75b..d3014b399 100644 --- a/.github/workflows/ci-workflow.yml +++ b/.github/workflows/ci-workflow.yml @@ -304,6 +304,10 @@ jobs: - uses: actions/checkout@v4 with: submodules: 'recursive' + # Install the Linux toolchin to avoid dependancies issues, but maybe only libpng is needed + - run: | + sudo apt update + sudo apt-get install build-essential imagemagick libfreetype6-dev libjpeg-dev libpng-dev pkg-config libxtst-dev - run: make -j2 PLATFORM=simulator TARGET=web - run: make -j2 PLATFORM=simulator TARGET=web test.js - run: node output/release/simulator/web/test.js --headless