summaryrefslogtreecommitdiffstats
path: root/.github/workflows/verify-solution-file.yml
blob: f2dddd97ac3d067aff2c0657f76c6257575f6215 (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
name: Verify-VSProjects

on:
  push:
    branches: [ master ]
  pull_request:
    branches: [ master ]

jobs:
  build:
    runs-on: windows-latest
    steps:
    - uses: actions/checkout@v2.3.4
      with:
        submodules: 'true'
        fetch-depth: '1'
    - name: verify
      run: |
        & .\premake.bat vs2015
        $diff = & git diff
        if ($diff.length -ne 0)
        {
          $diff
          throw "error: vs project file verification failed."
        }