Skip to content

Commit

Permalink
Used setup-msys from the msys org
Browse files Browse the repository at this point in the history
This, since it was sanctioned, may work better. Let's see how it's gonna build...
Mileter committed Dec 22, 2024
1 parent 0b753c2 commit 6ff9b95
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions .github/workflows/cmake-multi-platform.yml
Original file line number Diff line number Diff line change
@@ -50,15 +50,24 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: Install MSYS Packages
run: C:/msys64/msys -c "pacman -Syuu mingw-w64-ucrt-x86_64-toolchain pacman -S mingw-w64-ucrt-x86_64-ffcall pacman -S mingw-w64-ucrt-x86_64-cmake --noconfirm"
- name: Setup MSYS, add to path
uses: msys2/setup-msys2@v2
with:
msystem: ucrt64
update: true
install: >-
mingw-w64-ucrt-x86_64-toolchain
mingw-w64-ucrt-x86_64-ffcall
mingw-w64-ucrt-x86_64-cmake
- name: Configure CMake
# Configure CMake in a 'build' subdirectory. `CMAKE_BUILD_TYPE` is only required if you are using a single-configuration generator such as make.
# See https://cmake.org/cmake/help/latest/variable/CMAKE_BUILD_TYPE.html?highlight=cmake_build_type
shell: msys2
run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -G "MinGW Makefiles"

- name: Build
shell: msys2
# Build your program with the given configuration
run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}}

0 comments on commit 6ff9b95

Please sign in to comment.