remember to update workflows challenge #26
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Windows | |
on: [ push, pull_request ] | |
jobs: | |
build: | |
runs-on: windows-2022 | |
steps: | |
- name: Install Vulkan SDK | |
uses: humbletim/install-vulkan-sdk@v1.1.1 | |
with: { version: latest, cache: true } | |
- name: Checkout GLFW | |
uses: actions/checkout@v3 | |
with: { path: glfw, repository: glfw/glfw, ref: 3.4 } | |
- name: Configure and Build GLFW | |
working-directory: glfw | |
run: | | |
cmake -B d:/glfw -DUSE_MSVC_RUNTIME_LIBRARY_DLL=OFF -DBUILD_SHARED_LIBS=OFF -DGLFW_BUILD_DOCS=OFF -DGLFW_BUILD_EXAMPLES=OFF -DGLFW_BUILD_TESTS=OFF -DCMAKE_INSTALL_PREFIX=d:/glfw | |
cmake --build d:/glfw --config Debug --target install | |
- name: Checkout SQEE | |
uses: actions/checkout@v3 | |
with: { path: sqee, repository: jagoly/sqee, submodules: recursive } | |
- name: Configure and Build SQEE | |
working-directory: sqee | |
run: | | |
cmake -B d:/sqee -DCMAKE_PREFIX_PATH=d:/glfw -DSQEE_STATIC_LIB=ON | |
cmake --build d:/sqee --config Debug --target sqee | |
- name: Checkout SuperTuxSmash | |
uses: actions/checkout@v3 | |
with: { path: sts } | |
- name: Configure and Build SuperTuxSmash | |
working-directory: sts | |
run: | | |
cmake -B d:/sts -DSQEE_BUILD_ROOT=d:/sqee | |
cmake --build d:/sts --config Debug | |
- name: Upload Artifact | |
uses: actions/upload-artifact@v3 | |
with: { name: sts-windows-debug, path: "d:/sts/Debug" } |