aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/build-msbuild.yml
blob: ccec10deedb3904c1f8041acb3d81262c69e5786 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
name: MSBuild
on:
  push:
    branches:
      - dev
  pull_request:
    branches:
      - dev
    types: [opened, synchronize, reopened]
  release:
    types: [created]
jobs:
  test:
    name: MSBuild
    runs-on: windows-latest
    steps:
      - name: Checkout
        uses: actions/checkout@v2

      - name: Add msbuild to PATH
        uses: microsoft/setup-msbuild@v1.1

      - name: Build solution for debug
        run: msbuild windows/nDPI.sln -t:rebuild -property:Configuration=Debug

      - name: Upload artifacts
        uses: actions/upload-artifact@v2
        with:
          name: build-artifacts
          path: windows/bin
          retention-days: 14