PenLayer: Do not create FBO in stamp() #760
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: Unit tests | |
on: | |
push: | |
branches: '*' | |
pull_request: | |
branches: [ "master" ] | |
env: | |
BUILD_TYPE: Debug | |
jobs: | |
build: | |
strategy: | |
matrix: | |
include: | |
- qt_version: '6.6' | |
qt_arch: 'gcc_64' | |
- qt_version: '6.7' | |
qt_arch: 'linux_gcc_64' | |
- qt_version: '6.8' | |
qt_arch: 'linux_gcc_64' | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
submodules: 'recursive' | |
- name: Install dependencies | |
run: | | |
sudo apt-get update | |
sudo apt-get install -y nlohmann-json3-dev libutfcpp-dev libgd-dev xvfb libxcb-cursor0 | |
shell: bash | |
- name: Install Qt | |
uses: jurplel/install-qt-action@v4 | |
with: | |
version: '${{ matrix.qt_version }}' | |
arch: '${{ matrix.qt_arch }}' | |
- name: Configure CMake | |
run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DSCRATCHCPPRENDER_BUILD_UNIT_TESTS=ON | |
- name: Build | |
run: xvfb-run cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}} -j$(nproc --all) | |
- name: Run unit tests | |
run: xvfb-run ctest --test-dir build -V | |