Skip to content

Add GHA workflows for building on Ubuntu #6

Add GHA workflows for building on Ubuntu

Add GHA workflows for building on Ubuntu #6

Workflow file for this run

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