Skip to content

Update README.md

Update README.md #645

Workflow file for this run

name: Macos-CI
'on':
- push
- pull_request
permissions:
contents: read
jobs:
ci:
name: macos-llvm
runs-on: macos-latest
steps:
- uses: actions/checkout@ee0669bd1cc54295c223e0bb666b733df41de1c5 # v2.7.0
- name: Build and Test
run: |
mkdir build
cd build
cmake -DCMAKE_INSTALL_PREFIX:PATH=destination ..
cmake --build .
ctest . --output-on-failure
cmake --install .
cd ../tests/installation/find && mkdir build && cd build && cmake -DCMAKE_INSTALL_PREFIX:PATH=../../../build/destination .. && cmake --build .
- name: Build and Test (shared)
run: |
cmake -DBUILD_SHARED_LIBS=ON -B buildshared -DCMAKE_INSTALL_PREFIX:PATH=destinationshared
cmake --build buildshared
cmake --install buildshared
cd tests/installation/find
cmake -DCMAKE_INSTALL_PREFIX:PATH=../../../destinationshared -B buildshared
cmake --build buildshared
./buildshared/repro
- name: Build and Test Debug
run: |
mkdir builddebug
cd builddebug
cmake -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX:PATH=destination ..
cmake --build .
ctest . --output-on-failure
cmake --install .
cd ../tests/installation/find && mkdir builddebug && cd builddebug && cmake -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX:PATH=../../../build/destination .. && cmake --build .