Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix msys2.yml, so that msys2-build will work #177

Open
wants to merge 6 commits into
base: cygwin-support
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 15 additions & 6 deletions .github/workflows/msys2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,22 +18,31 @@ jobs:
msystem: MINGW64
update: true
path-type: minimal
install: git mingw-w64-x86_64-toolchain mingw-w64-x86_64-cmake
install:
git
mingw-w64-x86_64-toolchain
mingw-w64-x86_64-cmake
mingw-w64-x86_64-libiconv
mingw-w64-x86_64-libpng

- name: Create Build Environment
run: |
cmake -E make_directory build
pwd
ls
cd build
cmake -DCMAKE_BUILD_TYPE=$BUILD_TYPE -DCMAKE_TOOLCHAIN_FILE=cmake/Toolchains/mingw64-x86_64.cmake -G 'MSYS Makefiles' -DWITH_TESTS=yes ..
cmake -DCMAKE_BUILD_TYPE=$BUILD_TYPE -G 'MinGW Makefiles' -DWITH_TESTS=yes ..

- name: Build
working-directory: ${{runner.workspace}}/build
shell: bash
run: cmake --build . --config $BUILD_TYPE -j 2
run: |
pwd
cd build
cmake --build . --config $BUILD_TYPE -j 2

- name: Test
working-directory: ${{runner.workspace}}/build
shell: bash
run: ctest -C $BUILD_TYPE
run: |
pwd
cd build
ctest -C $BUILD_TYPE