Skip to content

Add GHA workflows for building on Ubuntu #1

Add GHA workflows for building on Ubuntu

Add GHA workflows for building on Ubuntu #1

Workflow file for this run

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