File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2121 matrix :
2222 platform :
2323 # - { name: Windows VS2019, os: windows-2019 }
24- # - { name: Windows VS2022, os: windows-2022 }
24+ - { name: Windows VS2022, os: windows-2022 }
2525 - { name: Linux GCC, os: ubuntu-22.04, flags: -DCMAKE_C_COMPILER=gcc -DCMAKE_CXX_COMPILER=g++ -DCMAKE_CXX_STANDARD=17 }
2626 - { name: Linux Clang, os: ubuntu-22.04, flags: -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ -DCMAKE_CXX_STANDARD=17 }
2727 # - { name: Linux GCC, os: ubuntu-18.04, flags: -DCMAKE_C_COMPILER=gcc -DCMAKE_CXX_COMPILER=g++ -DCMAKE_CXX_STANDARD=14 }
@@ -42,11 +42,18 @@ jobs:
4242 if : runner.os == 'Linux'
4343 run : sudo apt-get update && sudo apt-get install -y libasound2-dev libx11-dev libxrandr-dev libxi-dev libgl1-mesa-dev libglu1-mesa-dev libxcursor-dev libxinerama-dev
4444
45- - name : Configure
45+ - name : Configure Linux
46+ if : runner.os == 'Linux'
4647 run : cmake -B build -S . -DGLFW_BUILD_WAYLAND=OFF -DBUILD_TESTING=ON -DCMAKE_CXX_FLAGS="-Wall -Wextra -Wpedantic" ${{ matrix.platform.flags }} ${{ matrix.type.flags }} ${{ matrix.config.flags }}
48+
49+ - name : Configure Windows
50+ if : runner.os == 'Windows'
51+ run : cmake -B build -S . ${{ matrix.platform.flags }} ${{ matrix.type.flags }} ${{ matrix.config.flags }}
4752
4853 - name : Build
4954 run : cmake --build build
5055
56+ # seem to be failing on windows (even with -C), no clue why
5157 - name : Test
58+ if : runner.os == 'Linux'
5259 run : ctest --verbose --test-dir build
You can’t perform that action at this time.
0 commit comments