enable windows ci

This commit is contained in:
Green Sky 2022-10-31 22:57:11 +01:00 committed by Erik Scholz
parent dffbad65d2
commit 2b6a6b3e0c

View File

@ -137,29 +137,29 @@ jobs:
run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}} -j 4 run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}} -j 4
# TODO: for some reason vcpkg find sdl does not work, despite the find_package REQUIRE not failing # TODO: for some reason vcpkg find sdl does not work, despite the find_package REQUIRE not failing
#windows: windows:
#timeout-minutes: 10 timeout-minutes: 10
#runs-on: windows-latest runs-on: windows-latest
#steps: steps:
#- uses: actions/checkout@v3 - uses: actions/checkout@v3
#with: with:
#submodules: recursive submodules: recursive
## TODO: cache # TODO: cache
#- name: Install Dependencies - name: Install Dependencies
#run: vcpkg install sdl2:x64-windows run: vcpkg install sdl2[core,vulkan]:x64-windows
## setup vs env # setup vs env
#- uses: ilammy/msvc-dev-cmd@v1 - uses: ilammy/msvc-dev-cmd@v1
#with: with:
#arch: amd64 arch: amd64
#- name: Configure CMake - name: Configure CMake
#run: cmake -G Ninja -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DCMAKE_TOOLCHAIN_FILE=C:/vcpkg/scripts/buildsystems/vcpkg.cmake run: cmake -G Ninja -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DCMAKE_TOOLCHAIN_FILE=C:/vcpkg/scripts/buildsystems/vcpkg.cmake
#- name: Build - name: Build
#run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}} -j 4 run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}} -j 4