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 3088976
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
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 libwayland-dev
- name: cmake
run: |
export VULKAN_SDK=~/Vulkan-Headers
cmake . -G Ninja
- name: build
run: ninja

0 comments on commit 3088976

Please sign in to comment.