Skip to content

Commit

Permalink
Add GHA workflows for building on Ubuntu
Browse files Browse the repository at this point in the history
Building on Ubuntu requires a somewhat recent glslang.
Building on Windows would require getting glslang binary from somewhere.
  • Loading branch information
zeux committed Nov 25, 2024
1 parent 7a42c2d commit ff30f65
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
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: install deps
run: |
sudo apt install -y 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

0 comments on commit ff30f65

Please sign in to comment.