Skip to content

cmake >= 3.20 tested in CI #175

cmake >= 3.20 tested in CI

cmake >= 3.20 tested in CI #175

Workflow file for this run

name: ci_build
env:
CTEST_NO_TESTS_ACTION: error
CMAKE_BUILD_PARALLEL_LEVEL: 4
CTEST_PARALLEL_LEVEL: 0
CMAKE_INSTALL_PREFIX: ~/libs
CMAKE_PREFIX_PATH: ~/libs
CMAKE_TLS_VERIFY: true
on:
push:
paths:
- "scripts/CMakeLists.txt"
- ".github/workflows/ci_build.yml"
jobs:
linux:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install prereqs
run: |
sudo apt update
sudo apt install --no-install-recommends libopenmpi-dev openmpi-bin
- name: configure
run: cmake --preset default
- name: build, test release
run: cmake --workflow --preset default
- run: cmake --install build
# builds fine on local machine
# - name: configure example
# run: cmake -S example -B example/build -DBUILD_SHARED_LIBS:BOOL=${{ matrix.shared }}
# - name: build example
# run: cmake --build example/build
# - name: test example
# run: ctest --test-dir example/build -V