Skip to content

Merge pull request #25 from GloryOfNight/development #27

Merge pull request #25 from GloryOfNight/development

Merge pull request #25 from GloryOfNight/development #27

Workflow file for this run

name: Windows
on:
push:
branches: [ master ]
pull_request:
branches: [ master, development ]
jobs:
Windows:
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- name: Install tools
run: |
choco install cmake
choco install ninja
choco install llvm
- name: Compile and install SDL
run: |
git clone https://github.com/libsdl-org/SDL.git --depth 1
cmake -S SDL -B SDL/build -DCMAKE_GENERATOR=Ninja -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ -DCMAKE_BUILD_TYPE=Release -DSDL_TEST_LIBRARY=OFF
cmake --build SDL/build
cmake --install SDL/build
- name: Install Vulkan SDK
uses: humbletim/[email protected]
with:
vulkan-query-version: 1.3.204.0
vulkan-components: Vulkan-Headers, Vulkan-Loader
vulkan-use-cache: true
- name: CMake Configure
run: cmake --preset win64-release
- name: CMake Build
run: cmake --build build