summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCharles Giessen <charles@lunarg.com>2021-04-19 15:08:26 -0600
committerCharles Giessen <46324611+charles-lunarg@users.noreply.github.com>2021-04-20 03:39:46 -0600
commit4b868e5e13dcc3b1c810921f8a25c5404daa0942 (patch)
tree8aaddc15b742989e14a3a43c1f29225c45f1493c
parent598874f54c2c76050f033a5f3e012d53fcaebbf6 (diff)
downloadVulkan-Loader-4b868e5e13dcc3b1c810921f8a25c5404daa0942.tar.gz
Vulkan-Loader-4b868e5e13dcc3b1c810921f8a25c5404daa0942.tar.bz2
Vulkan-Loader-4b868e5e13dcc3b1c810921f8a25c5404daa0942.zip
ci: Add verification of generated source code
The transition from travis to github CI dropped the check for verifying if the source code generator was updated if it needed to for the changes. Change-Id: I53fabfe14f42fe1c9899b2938f5e7b8073362954
-rw-r--r--.github/workflows/build.yml6
1 files changed, 6 insertions, 0 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 2e3ece71..635511e5 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -61,6 +61,9 @@ jobs:
- name: Build the loader
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}}
@@ -97,6 +100,9 @@ jobs:
- name: Build the loader
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