diff options
| author | Mike Schuchardt <mikes@lunarg.com> | 2021-07-21 10:16:15 -0700 |
|---|---|---|
| committer | Mike Schuchardt <mikes@lunarg.com> | 2021-07-21 11:21:37 -0700 |
| commit | a4ee3cacbb1c7a5104a6895890bbddcb0762fa80 (patch) | |
| tree | 5ed67a2aadfe6e1f60454c7f16aec7e523953b86 | |
| parent | ab751c36f0a6656d51080e204abab47f7faf2121 (diff) | |
| download | usermoji-a4ee3cacbb1c7a5104a6895890bbddcb0762fa80.tar.xz | |
ci: Add verification step for generated source
This check ensures that the committed generated source files match the
output of the committed generators. We used to have this check on
TravisCI, but it must have gotten lost in the transition to GitHub
Actions.
Change-Id: If6a27994b3bfe8dbd09a962d90cc0c528489bd93
| -rw-r--r-- | .github/workflows/build.yml | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 5503e578..5a1e6304 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -60,6 +60,9 @@ jobs: - name: Build the tools run: make -C build + - name: Verify generated source files + run: python scripts/generate_source.py --verify external/Vulkan-Headers/registry + windows: runs-on: ${{matrix.os}} @@ -85,6 +88,9 @@ jobs: - name: Build the tools run: cmake --build ./build --config ${{matrix.config}} + - name: Verify generated source files + run: python scripts/generate_source.py --verify external/Vulkan-Headers/registry + mac: runs-on: macos-latest @@ -107,6 +113,9 @@ jobs: - name: Build the tools run: make -C build + - name: Verify generated source files + run: python scripts/generate_source.py --verify external/Vulkan-Headers/registry + gn: runs-on: ubuntu-18.04 @@ -133,4 +142,4 @@ jobs: if: matrix.config == 'Release' - name: Build the tools - run: ninja -C out/${{matrix.config}}
\ No newline at end of file + run: ninja -C out/${{matrix.config}} |
