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 Windows would require getting glslang binary from somewhere...
  • Loading branch information
zeux committed Nov 25, 2024
1 parent 7a42c2d commit 97ff895
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: build

on:
push:
paths-ignore:
- "*.md"
pull_request:

jobs:
build:
strategy:
matrix:
os: [ubuntu]
name: ${{matrix.os}}
runs-on: ${{matrix.os}}-latest
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: |
export VULKAN_SDK=~/Vulkan-Headers
cmake . -G Ninja
- name: build
run: ninja

0 comments on commit 97ff895

Please sign in to comment.