Fix string_build_config_mapper potentially becoming invalid due to ODR issues when restarting the runtime #3876
Workflow file for this run
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 build | |
on: [push, pull_request] | |
jobs: | |
build_appleclang: | |
name: AppleClang [macOS] | |
runs-on: macos-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: 'recursive' | |
- name: install dependencies | |
run: | | |
set +e | |
brew update | |
brew install cmake | |
brew install libomp | |
brew install boost | |
set -e | |
- name: build | |
run: | | |
mkdir build && cd build | |
cmake .. \ | |
-DWITH_OPENCL_BACKEND=OFF \ | |
-DCMAKE_INSTALL_PREFIX=${GITHUB_WORKSPACE}/build/install | |
make -j 2 install VERBOSE=ON | |
- name: build CPU tests | |
run: | | |
mkdir build/tests-cpu && cd build/tests-cpu | |
cmake \ | |
-DACPP_TARGETS=omp.library-only \ | |
-DAdaptiveCpp_DIR=${GITHUB_WORKSPACE}/build/install/lib/cmake/AdaptiveCpp \ | |
${GITHUB_WORKSPACE}/tests | |
make -j 2 VERBOSE=ON | |
- name: run CPU tests | |
run: | | |
cd ${GITHUB_WORKSPACE}/build/tests-cpu | |
LD_LIBRARY_PATH=${GITHUB_WORKSPACE}/build/install/lib ./sycl_tests |