From 5e12eb3d91e596652301ed628e76e7e6fa1db4cc Mon Sep 17 00:00:00 2001 From: Ahmed Hussein Date: Tue, 14 Oct 2025 20:06:05 +0300 Subject: [PATCH 1/3] fix gcc_common include path for freetype2 --- build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.sh b/build.sh index f7ea61395..d88128c5e 100644 --- a/build.sh +++ b/build.sh @@ -24,7 +24,7 @@ clang_debug="$compiler -g -O0 -DBUILD_DEBUG=1 ${clang_common} ${auto_compile_fla clang_release="$compiler -g -O2 -DBUILD_DEBUG=0 ${clang_common} ${auto_compile_flags}" clang_link="-lpthread -lm -lrt -ldl" clang_out="-o" -gcc_common="-I../src/ -I../local/ -g -DBUILD_GIT_HASH=\"$git_hash\" -DBUILD_GIT_HASH_FULL=\"$git_hash_full\" -Wno-unknown-warning-option -Wall -Wno-missing-braces -Wno-unused-function -Wno-attributes -Wno-unused-value -Wno-unused-variable -Wno-unused-local-typedef -Wno-deprecated-declarations -Wno-unused-but-set-variable -Wno-compare-distinct-pointer-types -D_USE_MATH_DEFINES -Dstrdup=_strdup -Dgnu_printf=printf" +gcc_common="-I../src/ -I/usr/include/freetype2/ -I../local/ -g -DBUILD_GIT_HASH=\"$git_hash\" -DBUILD_GIT_HASH_FULL=\"$git_hash_full\" -Wno-unknown-warning-option -Wall -Wno-missing-braces -Wno-unused-function -Wno-attributes -Wno-unused-value -Wno-unused-variable -Wno-unused-local-typedef -Wno-deprecated-declarations -Wno-unused-but-set-variable -Wno-compare-distinct-pointer-types -D_USE_MATH_DEFINES -Dstrdup=_strdup -Dgnu_printf=printf" gcc_debug="$compiler -g -O0 -DBUILD_DEBUG=1 ${gcc_common} ${auto_compile_flags}" gcc_release="$compiler -g -O2 -DBUILD_DEBUG=0 ${gcc_common} ${auto_compile_flags}" gcc_link="-lpthread -lm -lrt -ldl" From f9b2bbf6c18ecca7c24a4c906fccc920d3b720c7 Mon Sep 17 00:00:00 2001 From: Ahmed Hussein Date: Tue, 14 Oct 2025 20:06:12 +0300 Subject: [PATCH 2/3] add ubuntu build job to GitHub Actions workflow --- .github/workflows/builds.yml | 34 ++++++++++++++++++++++++++++++++-- 1 file changed, 32 insertions(+), 2 deletions(-) diff --git a/.github/workflows/builds.yml b/.github/workflows/builds.yml index f9263756e..0a2513893 100644 --- a/.github/workflows/builds.yml +++ b/.github/workflows/builds.yml @@ -3,10 +3,10 @@ name: builds on: push: paths-ignore: - - '**.md' + - "**.md" pull_request: paths-ignore: - - '**.md' + - "**.md" jobs: build-windows-2022: @@ -33,6 +33,36 @@ jobs: call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvarsall.bat" x64 call build "${{ matrix.target }}" "${{ matrix.compiler }}" "${{ matrix.mode }}" || exit /b 1 + build-ubuntu: + runs-on: ubuntu-latest + strategy: + fail-fast: false + matrix: + target: + - raddbg + # - radlink TODO + # - rdi_from_pdb TODO + # - rdi_from_dwarf TODO + # - rdi_breakpad_from_pdb TODO + - ryan_scratch + compiler: + - gcc + - clang + mode: + - debug + - release + steps: + - name: checkout + uses: actions/checkout@v2 + - name: Install dependencies + run: | + sudo apt-get update + sudo apt-get install -y build-essential clang libx11-dev libxext-dev libfreetype-dev libglu1-mesa-dev freeglut3-dev mesa-common-dev + + - name: build (ubuntu) + run: | + bash build.sh ${{ matrix.target }} ${{ matrix.compiler }} ${{ matrix.mode }} + run-torture: runs-on: windows-2022 steps: From f61e5587ac952208cdab115280ed8701d9ff015c Mon Sep 17 00:00:00 2001 From: Ahmed Ali Date: Thu, 16 Oct 2025 16:24:57 +0300 Subject: [PATCH 3/3] Replace mesa/freeglut with gl/egl --- .github/workflows/builds.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/builds.yml b/.github/workflows/builds.yml index 0a2513893..e361b2b6a 100644 --- a/.github/workflows/builds.yml +++ b/.github/workflows/builds.yml @@ -57,7 +57,7 @@ jobs: - name: Install dependencies run: | sudo apt-get update - sudo apt-get install -y build-essential clang libx11-dev libxext-dev libfreetype-dev libglu1-mesa-dev freeglut3-dev mesa-common-dev + sudo apt-get install -y build-essential clang libx11-dev libxext-dev libfreetype-dev libgl-dev libegl-dev - name: build (ubuntu) run: |