[render] added frame rendering on resize (the update() call mechanism… #100
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: 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 |