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 00fb3d9
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/build.yml
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

0 comments on commit 00fb3d9

Please sign in to comment.