adjust code formatting, minor style improvements, bump to v 1.5 #14
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: MSYS2 | |
on: push | |
jobs: | |
msys2_mingw64: | |
runs-on: windows-2022 | |
defaults: | |
run: | |
shell: msys2 {0} | |
steps: | |
# Checks-out the repository under $GITHUB_WORKSPACE. | |
- uses: actions/checkout@v3 | |
with: | |
submodules: 'recursive' | |
- uses: msys2/setup-msys2@v2 | |
with: | |
msystem: mingw64 | |
update: true | |
install: >- | |
mingw-w64-x86_64-cmake | |
mingw-w64-x86_64-gcc | |
mingw-w64-x86_64-make | |
mingw-w64-x86_64-ninja | |
- name: Build | |
run: | | |
export MSYSTEM=MINGW64 | |
export CXX=g++ | |
export CC=gcc | |
cd $GITHUB_WORKSPACE | |
mkdir build | |
cd build | |
cmake ../ | |
cmake --build . -j2 | |
- name: Run tests | |
run: | | |
export MSYSTEM=MINGW64 | |
cd "$GITHUB_WORKSPACE/build" | |
ctest -V |