Fix CI: install cmake/curl/python3, not just bison
CI / Build wasm engine (push) Failing after 8m31s
CI / Publish to npm registry (push) Skipped

The CI runner's base image doesn't ship cmake (build failed with
"cmake executable not found on PATH" during emcmake), and only bison
was ever explicitly installed - curl and python3 happened to work by
luck of the current runner image, not because the workflow guarantees
them. Install the full README-documented toolchain explicitly in both
the build and publish jobs.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
2026-08-22 18:22:00 +02:00
co-authored by Claude Sonnet 5
parent ef20b0d6c3
commit d7b95dbac8
+4 -4
View File
@@ -11,10 +11,10 @@ jobs:
steps: steps:
- uses: https://github.com/actions/checkout@v4 - uses: https://github.com/actions/checkout@v4
- name: Install bison - name: Install build dependencies
run: | run: |
sudo apt-get update sudo apt-get update
sudo apt-get install -y bison sudo apt-get install -y bison cmake curl python3
- name: Cache emsdk - name: Cache emsdk
uses: https://github.com/actions/cache@v4 uses: https://github.com/actions/cache@v4
@@ -72,10 +72,10 @@ jobs:
steps: steps:
- uses: https://github.com/actions/checkout@v4 - uses: https://github.com/actions/checkout@v4
- name: Install bison - name: Install build dependencies
run: | run: |
sudo apt-get update sudo apt-get update
sudo apt-get install -y bison sudo apt-get install -y bison cmake curl python3
- name: Cache emsdk - name: Cache emsdk
uses: https://github.com/actions/cache@v4 uses: https://github.com/actions/cache@v4