From 8e321ea8f3d541f4ac0474d213a34b9162fbe987 Mon Sep 17 00:00:00 2001 From: Tres Finocchiaro Date: Sun, 26 Jan 2025 16:07:37 -0500 Subject: [PATCH] Cleanup --- .github/workflows/build.yml | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 5fdc787e0b7..0091cfd5e72 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -13,7 +13,7 @@ jobs: -Werror=dev -DUSE_WERROR=ON -DCMAKE_BUILD_TYPE=RelWithDebInfo - MAKEFLAGS: -j8 + BUILD_FLAGS: -j 4 steps: - name: Configure apt run: | @@ -21,12 +21,6 @@ jobs: sudo sed -i -e "s/$(lsb_release -cs 2>/dev/null)/focal/g" \ /etc/apt/sources.list.d/tobydox-ubuntu-mingw-w64-noble.sources sudo apt-get update - - name: Enable POSIX MinGW - run: | - # update-alternatives --set i686-w64-mingw32-gcc /usr/bin/i686-w64-mingw32-gcc-posix - # update-alternatives --set i686-w64-mingw32-g++ /usr/bin/i686-w64-mingw32-g++-posix - # update-alternatives --set x86_64-w64-mingw32-gcc /usr/bin/x86_64-w64-mingw32-gcc-posix - # update-alternatives --set x86_64-w64-mingw32-g++ /usr/bin/x86_64-w64-mingw32-g++-posix - name: Configure git run: git config --global --add safe.directory "$GITHUB_WORKSPACE" - name: Check out @@ -45,6 +39,7 @@ jobs: -DCMAKE_INSTALL_PREFIX=./install \ -DCMAKE_TOOLCHAIN_FILE="./cmake/toolchains/MinGW-W64-64.cmake" \ $CMAKE_OPTS + $BUILD_FLAGS - name: Build run: cmake --build build - name: Package