From d327138cd80e2892f46b45cfe2a26e331258ca37 Mon Sep 17 00:00:00 2001 From: ISSOtm Date: Thu, 28 Mar 2024 01:37:10 +0100 Subject: [PATCH] Report as many build errors as possible in CI This allows debugging more problems in a single cycle --- .github/workflows/create-release-artifacts.yml | 4 ++-- .github/workflows/testing.yml | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/create-release-artifacts.yml b/.github/workflows/create-release-artifacts.yml index 58c48f17..494bc33c 100644 --- a/.github/workflows/create-release-artifacts.yml +++ b/.github/workflows/create-release-artifacts.yml @@ -83,7 +83,7 @@ jobs: - name: Build binaries run: | export PATH="/usr/local/opt/bison/bin:$PATH" - make -j CXXFLAGS="-O3 -flto -DNDEBUG -mmacosx-version-min=10.9" PKG_CONFIG="pkg-config --static" PNGLDLIBS="$(pkg-config --static --libs-only-L libpng | cut -c 3-)/libpng.a $(pkg-config --static --libs-only-l libpng | sed s/-lpng[0-9]*//g)" Q= + make -kj CXXFLAGS="-O3 -flto -DNDEBUG -mmacosx-version-min=10.9" PKG_CONFIG="pkg-config --static" PNGLDLIBS="$(pkg-config --static --libs-only-L libpng | cut -c 3-)/libpng.a $(pkg-config --static --libs-only-l libpng | sed s/-lpng[0-9]*//g)" Q= strip rgb{asm,link,fix,gfx} - name: Package binaries run: | @@ -109,7 +109,7 @@ jobs: ./.github/scripts/install_deps.sh ubuntu-20.04 - name: Build binaries run: | - make -j WARNFLAGS="-Wall -Wextra -pedantic -static" PKG_CONFIG="pkg-config --static" Q= + make -kj WARNFLAGS="-Wall -Wextra -pedantic -static" PKG_CONFIG="pkg-config --static" Q= strip rgb{asm,link,fix,gfx} - name: Package binaries run: | diff --git a/.github/workflows/testing.yml b/.github/workflows/testing.yml index 752efe37..ed72729e 100644 --- a/.github/workflows/testing.yml +++ b/.github/workflows/testing.yml @@ -30,7 +30,7 @@ jobs: if: matrix.buildsys == 'make' run: | export PATH="/usr/local/opt/bison/bin:$PATH" - make develop -j Q= CXX=${{ matrix.cxx }} + make develop -kj Q= CXX=${{ matrix.cxx }} sudo make install -j Q= - name: Build & install using CMake if: matrix.buildsys == 'cmake' @@ -97,7 +97,7 @@ jobs: - name: Build & install run: | export PATH="/usr/local/opt/bison/bin:$PATH" - make -j CXXFLAGS="-O3 -flto -DNDEBUG -mmacosx-version-min=10.9" PKG_CONFIG="pkg-config --static" PNGLDLIBS="$(pkg-config --static --libs-only-L libpng | cut -c 3-)/libpng.a $(pkg-config --static --libs-only-l libpng | sed s/-lpng[0-9]*//g)" Q= + make -kj CXXFLAGS="-O3 -flto -DNDEBUG -mmacosx-version-min=10.9" PKG_CONFIG="pkg-config --static" PNGLDLIBS="$(pkg-config --static --libs-only-L libpng | cut -c 3-)/libpng.a $(pkg-config --static --libs-only-l libpng | sed s/-lpng[0-9]*//g)" Q= - name: Package binaries run: | mkdir bins @@ -254,7 +254,7 @@ jobs: sudo ./.github/scripts/mingw-w64-libpng-dev.sh ${{ matrix.triplet }} - name: Cross-build Windows binaries run: | - make mingw${{ matrix.bits }} -j Q= + make mingw${{ matrix.bits }} -kj Q= - name: Package binaries run: | # DLL dependencies can be figured out using e.g. Dependency Walker or objdump -p mkdir bins