Skip to content

Rudimentary buffer references #467

Rudimentary buffer references

Rudimentary buffer references #467

Workflow file for this run

name: GoogleTest
on:
push:
branches: [main]
jobs:
test:
runs-on: ubuntu-24.04
strategy:
fail-fast: false
matrix:
compiler: [ {c : gcc, cxx: g++}, {c: clang, cxx: clang++ } ]
build: [ Release, Debug ]
defaults:
run:
shell: bash
steps:
- name: dependencies
run: |
sudo apt update -y
sudo apt install -y cmake libvulkan1 libglfw3-dev \
glslang-tools glslang-dev libfmt-dev libgtk-3-dev \
clang gcc-14 libgccjit-14-dev llvm lcov libomp-dev
sudo ln -s /usr/lib/gcc/x86_64-linux-gnu/14/include/libgccjit.h /usr/include/libgccjit.h
sudo ln -s /usr/lib/gcc/x86_64-linux-gnu/14/libgccjit.so /usr/lib/libgccjit.so
- uses: actions/checkout@v3
with:
submodules: 'true'
fetch-depth: '0'
- name: configure
run: |
cd thirdparty/glslang
python update_glslang_sources.py
- name: build
run: |
export CC=${{ matrix.compiler.c }} CXX=${{ matrix.compiler.cxx }}
cmake -B build -DCMAKE_BUILD_TYPE=${{ matrix.build }} -DENABLE_COVERAGE=ON .
cmake --build build -j 4 -t test
- name: test
run: ./build/testing/test --gtest_filter="-*opengl*"