OptimizationLoopDetect<Product> for Product::optimize #1
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: Intel SyCL CI | |
on: [push] | |
jobs: | |
build-in-linux-container: | |
runs-on: ubuntu-latest | |
container: | |
image: intel/oneapi:2024.1.0-devel-ubuntu22.04 | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Create Build Dir | |
run: cmake -E make_directory ${{github.workspace}}/build | |
- name: Pre-Install Boost, LevelDB | |
run: | | |
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" | |
brew install snappy | |
brew install boost-python3 leveldb | |
brew install sycl | |
- name: Set IntelSYCL_DIR environment variable | |
run: echo "IntelSYCL_DIR=$(brew --prefix sycl)" >> $GITHUB_ENV | |
- name: Configure | |
working-directory: ${{github.workspace}}/build | |
run: cmake ${{github.workspace}} -DCMAKE_BUILD_TYPE=Release -DOPENMIND_BUILD_SAMPLES=OFF -DOPENMIND_BUILD_TESTS=ON | |
- name: Build | |
working-directory: ${{github.workspace}}/build | |
run: cmake --build . --config Release | |
- name: Test | |
working-directory: ${{github.workspace}}/build | |
run: ctest -C Release |