summaryrefslogtreecommitdiffstats
path: root/.github/workflows
diff options
context:
space:
mode:
authorYong He <yonghe@outlook.com>2020-12-03 14:48:42 -0800
committerGitHub <noreply@github.com>2020-12-03 14:48:42 -0800
commit277780ab7770453ed12e82df10d2a9d79ebf47dd (patch)
treeb89f24e1aac610e4e220aeb2f65651b90b3f8996 /.github/workflows
parenta82779887bf6f908c6759e539a35a1872892069e (diff)
Add github action to verify vs project file consistency. (#1625)
* Add github action to verify vs project file consistency. * fix solution files * fix project files
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/verify-solution-file.yml25
1 files changed, 25 insertions, 0 deletions
diff --git a/.github/workflows/verify-solution-file.yml b/.github/workflows/verify-solution-file.yml
new file mode 100644
index 000000000..f2dddd97a
--- /dev/null
+++ b/.github/workflows/verify-solution-file.yml
@@ -0,0 +1,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."
+ }