Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
tresf committed Jan 26, 2025
1 parent 553f2f8 commit 8e321ea
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,20 +13,14 @@ jobs:
-Werror=dev
-DUSE_WERROR=ON
-DCMAKE_BUILD_TYPE=RelWithDebInfo
MAKEFLAGS: -j8
BUILD_FLAGS: -j 4
steps:
- name: Configure apt
run: |
sudo add-apt-repository ppa:tobydox/mingw-w64
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
Expand All @@ -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
Expand Down

0 comments on commit 8e321ea

Please sign in to comment.