Add swapchain getter to Context #43
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: Build CMake/Windows | |
on: | |
workflow_dispatch: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
branches: [ "main" ] | |
env: | |
# Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.) | |
BUILD_TYPE: Release | |
jobs: | |
build: | |
runs-on: windows-latest | |
steps: | |
- name: get-cmake | |
uses: lukka/get-cmake@latest | |
- name: Install Vulkan SDK | |
uses: stuart6854/install-vulkan-sdk-action@fix-download-urls | |
with: | |
install_runtime: false | |
cache: true | |
stripdown: true | |
- uses: actions/checkout@v3 | |
with: | |
submodules: recursive | |
- name: Configure CMake | |
run: | | |
mkdir build | |
cd build | |
cmake -DCMAKE_BUILD_TYPE=${{ env.BUILD_TYPE }} .. | |
- name: Build | |
run: cmake --build build --parallel 8 |