Skip to content

Support for nmake based projects #20

Support for nmake based projects

Support for nmake based projects #20

Workflow file for this run

# For more information on GitHub Actions, refer to https://github.com/features/actions
# For a complete CI/CD sample to get started with GitHub Action workflows for Desktop Applications,
# refer to https://github.com/microsoft/github-actions-for-desktop-apps
name: CI Build
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
strategy:
matrix:
configuration: [Debug, Release]
runs-on: windows-latest # For a list of available runner types, refer to
# https://help.github.com/en/actions/reference/workflow-syntax-for-github-actions#jobsjob_idruns-on
env:
Solution_Name: CPPCheckPlugin.sln # Replace with your solution name, i.e. MyWpfApp.sln.
steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
# Add MSBuild to the PATH: https://github.com/microsoft/setup-msbuild
- name: Setup MSBuild.exe
uses: microsoft/[email protected]
- name: Nuget
run: nuget restore
- name: Build the application
run: msbuild $env:Solution_Name /t:Build /p:Configuration=$env:Configuration
env:
Configuration: ${{ matrix.configuration }}
- uses: actions/upload-artifact@v2
with:
name: cppcheck-vs-addin
path: .\CPPCheckPlugin\bin\**\*.vsix