From 277780ab7770453ed12e82df10d2a9d79ebf47dd Mon Sep 17 00:00:00 2001 From: Yong He Date: Thu, 3 Dec 2020 14:48:42 -0800 Subject: 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 --- .github/workflows/verify-solution-file.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .github/workflows/verify-solution-file.yml (limited to '.github/workflows') 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." + } -- cgit v1.2.3