Skip to content

chore: replace AppVeyor build with GitHub Actions #1

chore: replace AppVeyor build with GitHub Actions

chore: replace AppVeyor build with GitHub Actions #1

Workflow file for this run

name: build
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
workflow_dispatch:
env:
SOLUTION_FILE_PATH: .
permissions:
contents: read
jobs:
build:
runs-on: windows-latest
strategy:
matrix:
build_config: ['Debug','Release']
steps:
- uses: actions/checkout@v4
with:
submodules: true
- name: Add MSBuild to PATH
uses: microsoft/setup-msbuild@v1.0.2
- name: Restore NuGet packages
working-directory: ${{env.GITHUB_WORKSPACE}}
run: nuget restore ${{env.SOLUTION_FILE_PATH}}
- name: Build ${{matrix.build_config}}|x86
working-directory: ${{env.GITHUB_WORKSPACE}}
run: msbuild /m /p:Configuration=${{matrix.build_config}} /p:Platform=x86 ${{env.SOLUTION_FILE_PATH}}