Skip to content

Merge pull request #35 from TheNNX/cmd #47

Merge pull request #35 from TheNNX/cmd

Merge pull request #35 from TheNNX/cmd #47

Workflow file for this run

# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.
name: build
on:
push:
branches: ["master"]
pull_request:
branches: ["master"]
env:
# Path to the solution file relative to the root of the project.
SOLUTION_FILE_PATH: .
permissions:
contents: read
jobs:
build:
runs-on: windows-latest
strategy:
matrix:
configuration: [Release, Debug]
platform: [x86, ARM]
steps:
- uses: actions/checkout@v4
- name: Add MSBuild to PATH
uses: microsoft/setup-msbuild@v2
- name: Restore NuGet packages
working-directory: ${{env.GITHUB_WORKSPACE}}
run: nuget restore ${{env.SOLUTION_FILE_PATH}}
- name: Build
working-directory: ${{env.GITHUB_WORKSPACE}}
# Add additional options to the MSBuild command line here (like platform or verbosity level).
# See https://docs.microsoft.com/visualstudio/msbuild/msbuild-command-line-reference
run: msbuild /m /p:Configuration=${{matrix.configuration}} /p:Platform=${{matrix.platform}} ${{env.SOLUTION_FILE_PATH}}
- name: Upload Artifcats
uses: actions/upload-artifact@v4
with:
name: wcecl-build-${{matrix.configuration}}-${{matrix.platform}}
path: ${{env.SOLUTION_FILE_PATH}}/build/