Skip to content

Commit

Permalink
msys2 test 2
Browse files Browse the repository at this point in the history
  • Loading branch information
RohanKrMahato committed Nov 30, 2024
1 parent 3e9157e commit 5873589
Showing 1 changed file with 24 additions and 19 deletions.
43 changes: 24 additions & 19 deletions .github/workflows/windows-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,42 +69,47 @@ jobs:
windows-mingw-test:
name: Windows MinGW Test
runs-on: windows-latest

strategy:
matrix:
sys:
- MINGW64
- MINGW32
- UCRT64
- CLANG32
- CLANG64
fail-fast: false
- mingw64
- mingw32
- ucrt64
- clang64
- clang32
fail-fast: false

steps:
- uses: actions/checkout@v4
- name: Set up MSYS2
uses: msys2/setup-msys2@v2
with:
msystem: ${{ matrix.sys }}
update: true
install: git curl cmake
install: >
git
curl
cmake
make
- name: Checkout code
uses: actions/checkout@v4

- name: Configure and Build using CMake
working-directory: ./build
shell: msys2 {0}
- name: Configure CMake
run: |
mkdir -p build
cd build
cmake -G "MinGW Makefiles" -DCMAKE_BUILD_TYPE=Debug -DOPTION_FORK_SAFE=OFF -DOPTION_BUILD_PLUGINS_BACKTRACE=OFF ..
cd build
cmake -G "MinGW Makefiles" -DCMAKE_BUILD_TYPE=Debug -DOPTION_FORK_SAFE=OFF -DOPTION_BUILD_PLUGINS_BACKTRACE=OFF ..
shell: msys2 {0}

- name: Build the project
run: |
cd build
cmake --build .
shell: msys2 {0}

- name: Run CTest
working-directory: ./build
shell: msys2 {0}
run: |
cd build
ctest -j$(getconf _NPROCESSORS_ONLN) --timeout 5400 --output-on-failure -C Debug
shell: msys2 {0}

windows-distributable:
name: Windows Distributable Dispatch
Expand Down

0 comments on commit 5873589

Please sign in to comment.