Skip to content

Enable more engine tests (LLVM) #2617

Enable more engine tests (LLVM)

Enable more engine tests (LLVM) #2617

Workflow file for this run

name: Unit tests
on:
push:
branches: '*'
pull_request:
branches: [ "master" ]
env:
BUILD_TYPE: Debug
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
submodules: true
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install -y nlohmann-json3-dev libutfcpp-dev
shell: bash
- name: Configure CMake
run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DLIBSCRATCHCPP_BUILD_UNIT_TESTS=ON
- name: Build
run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}} -j$(nproc --all)
- name: Run unit tests
run: ctest --test-dir build -V