Bump uraimo/run-on-arch-action from 2.7.2 to 2.8.1 #1271
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: Macos-CI | |
'on': | |
- push | |
- pull_request | |
permissions: | |
contents: read | |
jobs: | |
ci: | |
name: macos-llvm | |
runs-on: macos-latest | |
steps: | |
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 | |
- name: Build and Test | |
run: | | |
mkdir build | |
cd build | |
cmake -DCMAKE_INSTALL_PREFIX:PATH=destination -DENABLE_ROARING_TESTS=ON .. | |
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 -DCMAKE_INSTALL_PREFIX:PATH=destinationshared -DENABLE_ROARING_TESTS=ON -B buildshared | |
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 -DENABLE_ROARING_TESTS=ON .. | |
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 . |