Skip to content

Commit

Permalink
test4
Browse files Browse the repository at this point in the history
  • Loading branch information
RohanKrMahato committed Nov 30, 2024
1 parent 73c214e commit 4c9c063
Showing 1 changed file with 21 additions and 17 deletions.
38 changes: 21 additions & 17 deletions .github/workflows/windows-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,40 +77,44 @@ jobs:
- mingw32
- ucrt64
- clang64
- clang32
fail-fast: false

steps:
- uses: actions/checkout@v4
- name: Check out the repository
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Set up MSYS2
uses: msys2/setup-msys2@v2
with:
msystem: ${{ matrix.sys }}
update: true
install: >
git
curl
cmake
make
mingw-w64-x86_64-toolchain
mingw-w64-x86_64-gcc
mingw-w64-x86_64-cmake
mingw-w64-x86_64-make
msystem: ${{ matrix.sys }}
cache: true

- name: Configure CMake
- name: Set MSYS2 shell
run: echo "MSYSTEM=${{ matrix.sys }}" >> $Env:GITHUB_ENV

- name: Create build directory
run: mkdir build

- name: Configure with CMake
working-directory: ./build
run: |
mkdir -p build
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 .
- name: Build with CMake
working-directory: ./build
run: cmake --build .
shell: msys2 {0}

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

Expand Down

0 comments on commit 4c9c063

Please sign in to comment.