forked from mirror/vulkan-zig
ci: format check
This commit is contained in:
12
.github/workflows/build.yml
vendored
12
.github/workflows/build.yml
vendored
@@ -20,9 +20,11 @@ jobs:
|
||||
with:
|
||||
version: master
|
||||
|
||||
- name: Check formatting
|
||||
run: zig fmt --check .
|
||||
|
||||
- name: Test
|
||||
run: |
|
||||
zig build test
|
||||
run: zig build test
|
||||
|
||||
- name: Fetch latest Vulkan SDK
|
||||
run: |
|
||||
@@ -32,12 +34,10 @@ jobs:
|
||||
sudo apt install shaderc libglfw3 libglfw3-dev
|
||||
|
||||
- name: Fetch latest vk.xml
|
||||
run: |
|
||||
wget https://raw.githubusercontent.com/KhronosGroup/Vulkan-Docs/main/xml/vk.xml
|
||||
run: wget https://raw.githubusercontent.com/KhronosGroup/Vulkan-Docs/main/xml/vk.xml
|
||||
|
||||
- name: Build with latest zig & vk.xml
|
||||
run: |
|
||||
zig build -Dexample-registry=./vk.xml
|
||||
run: zig build -Dexample-registry=./vk.xml
|
||||
|
||||
- name: Archive vk.zig
|
||||
uses: actions/upload-artifact@v2
|
||||
|
||||
Reference in New Issue
Block a user