Skip to content

[render] set glsl compute profile to 400 #102

[render] set glsl compute profile to 400

[render] set glsl compute profile to 400 #102

name: Core - Build and run Tests
on:
[push, pull_request]
jobs:
core_build_and_run_tests:
name: Core - Build and run Tests
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: ['ubuntu-22.04', 'ubuntu-24.04', 'macos-13', 'macos-latest', 'windows-latest']
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- name: Setup MSVC
uses: ilammy/msvc-dev-cmd@v1
- name: Install dependencies
if: runner.os == 'Linux'
run: |
sudo apt-get install cmake ninja-build libtbb-dev catch2
- name: Install dependencies
if: runner.os == 'macOS'
shell: bash
run: |
brew install ninja
- name: Install dependencies
if: runner.os == 'Windows'
run: |
choco upgrade ccache ninja
- name: Ccache
uses: hendrikmuhs/[email protected]
with:
key: core-${{ matrix.os }}-${{ github.ref }}
- name: Build
shell: bash
run: |
mkdir build
cd build
cmake -GNinja \
-DCMAKE_C_COMPILER_LAUNCHER=ccache -DCMAKE_CXX_COMPILER_LAUNCHER=ccache \
-DCMAKE_BUILD_TYPE=Release \
..
ninja
- name: Run Tests
shell: bash
run: |
cd build
ctest --verbose