Windows Build #112
Workflow file for this run
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 Build | |
on: | |
push: | |
branches: | |
- master | |
paths-ignore: | |
- "README.md" | |
- ".github/workflows/**" | |
- ".gitignore" | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: windows-2022 | |
steps: | |
- name: Checkout | |
uses: actions/[email protected] | |
with: | |
submodules: "recursive" | |
- name: Configure Windows SDK | |
uses: GuillaumeFalourd/setup-windows10-sdk-action@v2 | |
with: | |
sdk-version: 22000 | |
- name: Configure MSVC | |
uses: ilammy/[email protected] | |
with: | |
arch: amd64 | |
- name: Add rust target | |
run: rustup target add wasm32-unknown-emscripten | |
- name: Install bindgen | |
run: cargo install cbindgen | |
- name: Configure CMake | |
uses: threeal/[email protected] | |
with: | |
source-dir: build/Windows | |
build-dir: build/Windows/Release | |
options: "CMAKE_BUILD_TYPE=Release" | |
- name: Build project | |
run: cmake --build build/Windows/Release --config Release | |