Skip to content

[Workflows] Update build-release-windows workflow #4

[Workflows] Update build-release-windows workflow

[Workflows] Update build-release-windows workflow #4

name: Build Release Win32
on:
push:
branches:
- main
- development
pull_request:
branches:
- main
- development
workflow_dispatch:
jobs:
build:
runs-on: ${{matrix.os}}
strategy:
matrix:
os: [ windows-2019 ]
arch:
- x86
steps:
- uses: actions/checkout@v3
- name: Building
shell: bash
env:
CXX: cl.exe
run: |
mkdir build
cd build
cmake -G "Visual Studio 16 2019" -A Win32 ..
cmake --build . --config Release
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: "Debug"
path: '${{github.workspace}}/build/Release'