-
Notifications
You must be signed in to change notification settings - Fork 76
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add GHA workflows for building on Ubuntu
Building on Ubuntu requires a somewhat recent glslang. Building on Windows would require getting glslang binary from somewhere.
- Loading branch information
Showing
1 changed file
with
31 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
name: build | ||
|
||
on: | ||
push: | ||
paths-ignore: | ||
- "*.md" | ||
pull_request: | ||
|
||
jobs: | ||
build: | ||
name: ubuntu | ||
runs-on: ubuntu-24.04 | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
submodules: true | ||
- uses: actions/checkout@v4 | ||
with: | ||
repository: KhronosGroup/Vulkan-Headers | ||
ref: main | ||
path: Vulkan-Headers | ||
- name: move sdk | ||
run: mv Vulkan-Headers ~/Vulkan-Headers | ||
- name: install deps | ||
run: | | ||
sudo apt install -y spirv-headers glslang-tools ninja-build | ||
sudo apt install -y xorg-dev libwayland-dev libxkbcommon-dev wayland-protocols | ||
- name: cmake | ||
run: cmake . -G Ninja -D VULKAN_HEADERS_INSTALL_DIR=~/Vulkan-Headers | ||
- name: build | ||
run: ninja |