Skip to content

Use 4 threads for cmake build and test execution. #555

Use 4 threads for cmake build and test execution.

Use 4 threads for cmake build and test execution. #555

Workflow file for this run

# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions
name: CMakeTest
on: [push, workflow_dispatch]
jobs:
cmake_test:
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
runs-on: ${{ matrix.os }}
env:
CC: clang
CXX: clang++
steps:
- uses: actions/checkout@v3
- name: Configure CMake
run: cmake .
- name: Build
run: cmake --build . -j4
- name: Test
run: ctest -j4