Fix incorrect namespace use in accessor test (#1917) #11
This file contains hidden or 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 |