Skip to content

Windows Build

Windows Build #116

Workflow file for this run

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