mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-18 21:30:38 +01:00
[CI] Install Linux toolchain for Web build to avoid dependancies issues (mainly libpng)
This commit is contained in:
4
.github/workflows/ci-workflow.yml
vendored
4
.github/workflows/ci-workflow.yml
vendored
@@ -304,6 +304,10 @@ jobs:
|
|||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
submodules: 'recursive'
|
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
|
||||||
- run: make -j2 PLATFORM=simulator TARGET=web test.js
|
- run: make -j2 PLATFORM=simulator TARGET=web test.js
|
||||||
- run: node output/release/simulator/web/test.js --headless
|
- run: node output/release/simulator/web/test.js --headless
|
||||||
|
|||||||
Reference in New Issue
Block a user