Install the AVIF build tools in CI and build CodeQL serially

Kryon's raylib library now builds libaom and dav1d, which need nasm,
Meson and Ninja, and links the system libopus. The Test job stopped at
libaom's missing assembler.

CodeQL's autobuild ran make -j4, so two ziran processes cloned the same
package into one cache directory at once and the cache was left
unusable. Build it with one manual make instead.
This commit is contained in:
waozi committed 2026-11-07 15:08:49 -03:00
1 parent a529b14794
commit b25d70d164
2 files changed
+11 -5

No files matched your search

+2 -1
View File
@@ -24,7 +24,8 @@ jobs:
sudo apt-get update
sudo apt-get install -y \
build-essential pkg-config xvfb xdotool xfwm4 dbus-x11 x11-utils imagemagick dpkg-dev \
libsdl2-dev libcairo2-dev libpango1.0-dev libfontconfig1-dev libfreetype6-dev libglib2.0-dev gnumeric
libsdl2-dev libcairo2-dev libpango1.0-dev libfontconfig1-dev libfreetype6-dev libglib2.0-dev gnumeric \
cmake nasm meson ninja-build libopus-dev
- name: Install the locked Ziran toolchain
run: |
+9 -4
View File
@@ -26,7 +26,8 @@ jobs:
sudo apt-get update
sudo apt-get install -y \
build-essential pkg-config xvfb xdotool xfwm4 dbus-x11 x11-utils imagemagick \
libsdl2-dev libcairo2-dev libpango1.0-dev libfontconfig1-dev libfreetype6-dev libglib2.0-dev gnumeric
libsdl2-dev libcairo2-dev libpango1.0-dev libfontconfig1-dev libfreetype6-dev libglib2.0-dev gnumeric \
cmake nasm meson ninja-build libopus-dev
- name: Install the locked Ziran toolchain
run: |
@@ -74,7 +75,8 @@ jobs:
sudo apt-get update
sudo apt-get install -y \
build-essential pkg-config xvfb xdotool \
libsdl2-dev libcairo2-dev libpango1.0-dev libfontconfig1-dev libfreetype6-dev libglib2.0-dev
libsdl2-dev libcairo2-dev libpango1.0-dev libfontconfig1-dev libfreetype6-dev libglib2.0-dev \
cmake nasm meson ninja-build libopus-dev
- name: Install the locked Ziran toolchain
run: |
@@ -89,9 +91,12 @@ jobs:
uses: github/codeql-action/init@6f5948dfacef28e207b48d0905cf90c03365536d # v3
with:
languages: c-cpp
build-mode: manual
- name: Autobuild
uses: github/codeql-action/autobuild@6f5948dfacef28e207b48d0905cf90c03365536d # v3
# One serial make: parallel ziran processes would fetch the same
# package into one cache directory at once.
- name: Build
run: make build
- name: Analyze
uses: github/codeql-action/analyze@6f5948dfacef28e207b48d0905cf90c03365536d # v3