Share struct headers between GLSL and C++ #228
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build | |
on: | |
pull_request: | |
jobs: | |
build-windows: | |
name: Build (Windows) | |
strategy: | |
fail-fast: true | |
runs-on: windows-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
submodules: recursive | |
- name: Get Cmake | |
uses: lukka/get-cmake@latest | |
- name: Prepare Vulkan SDK | |
uses: humbletim/[email protected] | |
with: | |
vulkan-query-version: 1.3.261.1 | |
vulkan-components: Vulkan-Headers, Vulkan-Loader | |
vulkan-use-cache: true | |
- name: Configure | |
run: cmake -B build -G "Visual Studio 17 2022" | |
- name: Build (Debug) | |
run: cmake --build build --parallel --config Debug --target prosper | |
- name: Build (Release) | |
run: cmake --build build --parallel --config Release --target prosper | |
build-ubuntu-gcc: | |
name: Build (Ubuntu, gcc) | |
strategy: | |
fail-fast: true | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
submodules: recursive | |
- name: Get Cmake | |
uses: lukka/get-cmake@latest | |
- name: Get dependencies | |
run: sudo apt update && sudo apt install xorg-dev libxkbcommon-dev | |
- name: Prepare Vulkan SDK | |
uses: humbletim/[email protected] | |
with: | |
vulkan-query-version: 1.3.261.1 | |
vulkan-components: Vulkan-Headers, Vulkan-Loader | |
vulkan-use-cache: true | |
- name: Configure (Debug) | |
run: cmake -B build -G "Ninja" -DCMAKE_BUILD_TYPE=Debug | |
- name: Build (Debug) | |
run: cmake --build build --target prosper | |
- name: Configure (Release) | |
run: cmake -B build -G "Ninja" -DCMAKE_BUILD_TYPE=Release | |
- name: Build (Release) | |
run: cmake --build build --target prosper | |
build-ubuntu-clang: | |
name: Build (Ubuntu, clang) | |
strategy: | |
fail-fast: true | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
submodules: recursive | |
- name: Get Cmake | |
uses: lukka/get-cmake@latest | |
- name: Get dependencies | |
run: sudo apt update && sudo apt install xorg-dev libxkbcommon-dev clang-15 | |
- name: Prepare Vulkan SDK | |
uses: humbletim/[email protected] | |
with: | |
vulkan-query-version: 1.3.261.1 | |
vulkan-components: Vulkan-Headers, Vulkan-Loader | |
vulkan-use-cache: true | |
- name: Configure (Debug) | |
run: CC=clang-15 CXX=clang++-15 cmake -B build -G "Ninja" -DCMAKE_BUILD_TYPE=Debug | |
- name: Build (Debug) | |
run: cmake --build build --target prosper | |
- name: Configure (Release) | |
run: CC=clang-15 CXX=clang++-15 cmake -B build -G "Ninja" -DCMAKE_BUILD_TYPE=Release | |
- name: Build (Release) | |
run: cmake --build build --target prosper |