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 596ea82
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, 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
- name: cmake
run: |
export VULKAN_SDK=~/Vulkan-Headers
cmake . -G Ninja
- name: build
run: ninja

0 comments on commit 596ea82

Please sign in to comment.