Skip to content

Commit

Permalink
WIP update windows.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
YarikTH committed Sep 6, 2023
1 parent dc26fd3 commit a2d3253
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,19 +38,33 @@ jobs:
cmake -E make_directory ${{ runner.workspace }}/build
- name: Configure
if: matrix.cmake_generator != "MinGW Makefiles"
env:
CXX: ${{ matrix.cxx }}
CXXFLAGS: ${{ matrix.cxxflags }}
run: cmake --warn-uninitialized
-S .
-B ${{ runner.workspace }}/build
-D CMAKE_BUILD_TYPE=${{matrix.build_type}}
-D CMAKE_CXX_STANDARD=${{ matrix.std }}
-A ${{ matrix.architecture }}
-G "${{ matrix.cmake_generator }}"
-D UREACT_PEDANTIC:BOOL=y
-D UREACT_WERROR:BOOL=y

- name: Configure
if: matrix.cmake_generator == "MinGW Makefiles"
env:
CXX: ${{ matrix.cxx }}
CXXFLAGS: ${{ matrix.cxxflags }}
run: cmake --warn-uninitialized
-S .
-B ${{ runner.workspace }}/build
-D CMAKE_BUILD_TYPE=${{matrix.build_type}}
-D CMAKE_CXX_STANDARD=${{ matrix.std }}
-G "${{ matrix.cmake_generator }}"
-D UREACT_PEDANTIC:BOOL=y
-D UREACT_WERROR:BOOL=y

- name: Build
working-directory: ${{ runner.workspace }}/build
run: cmake --build . --parallel 10 --config ${{ matrix.build_type }}
Expand Down

0 comments on commit a2d3253

Please sign in to comment.