Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 18 additions & 1 deletion .github/workflows/demo-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -330,6 +330,23 @@ jobs:
echo "$GITHUB_WORKSPACE/toolchain/v" >> "$GITHUB_PATH"
- name: Install native dependencies
run: sudo apt-get update && sudo apt-get install -y build-essential cmake libglfw3-dev libvulkan-dev libvulkan-volk-dev pkg-config
- name: Install headers matching Vulkan master
run: |
set -euo pipefail
vulkan_root="$GITHUB_WORKSPACE/source/modules/antono2/vulkan"
registry_commit=$(tr -d '\r\n' < "$vulkan_root/REGISTRY_COMMIT")
headers_checkout="$RUNNER_TEMP/Vulkan-Headers"
git init -q "$headers_checkout"
git -C "$headers_checkout" remote add origin https://github.com/KhronosGroup/Vulkan-Headers.git
git -C "$headers_checkout" fetch --depth 1 origin "$registry_commit"
git -C "$headers_checkout" checkout --detach FETCH_HEAD
test "$(git -C "$headers_checkout" rev-parse HEAD)" = "$registry_commit"
sudo cp -R "$headers_checkout/include/." "$VULKAN_SDK/include/"
volk_commit=$(tr -d '\r\n' < "$vulkan_root/VOLK_COMMIT")
curl --fail --silent --show-error --location \
"https://raw.githubusercontent.com/zeux/volk/$volk_commit/volk.h" \
--output "$RUNNER_TEMP/volk.h"
sudo install -m 0644 "$RUNNER_TEMP/volk.h" "$VULKAN_SDK/include/volk.h"
- name: Check generated bindings with V3
working-directory: source/modules/antono2/imgui
run: |
Expand All @@ -340,7 +357,7 @@ jobs:
cd source/modules/antono2/imgui
v run build_vimgui.vsh --linkage shared --glfw system
cd "$GITHUB_WORKSPACE"
v -no-memory-limit -path "$VMODULES/antono2|@vlib|@vmodules" -cc gcc -o "$RUNNER_TEMP/v_imgui_demo" source/demo
v -new-compiler -no-memory-limit -path "$VMODULES/antono2|@vlib|@vmodules" -cc gcc -o "$RUNNER_TEMP/v_imgui_demo" source/demo

required-checks:
if: always()
Expand Down
Loading