Skip to content

Added GitHub actions for CI builds #1

Added GitHub actions for CI builds

Added GitHub actions for CI builds #1

Workflow file for this run

name: Windows CI
on: [workflow_dispatch, push, pull_request]
jobs:
build:
runs-on: windows-2022
strategy:
matrix:
config:
- { vs: "17 2022", arch: "Win32", triplet: "x86-windows" }
- { vs: "17 2022", arch: "x64", triplet: "x64-windows" }
steps:
- uses: actions/checkout@v3
- name: Set up Visual Studio shell
uses: egor-tensin/vs-shell@v2
with:
arch: ${{matrix.config.arch}}
- name: Configure
shell: cmd
run: cmake -B ${{github.workspace}}/build -G "Visual Studio ${{matrix.config.vs}}" -A "${{matrix.config.arch}}"
- name: Build
shell: cmd
run: cmake --build ${{github.workspace}}/build