Fix the allocator access example for shared memory (#1004) #642
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
| on: push | |
| name: Build | |
| jobs: | |
| build_docker: | |
| strategy: | |
| matrix: | |
| target: [gcc, clang, hip, sycl, intel] | |
| runs-on: radiuss-cpu-runners | |
| steps: | |
| - run: | | |
| sudo rm -rf /usr/share/dotnet | |
| sudo rm -rf /usr/local/lib/android | |
| sudo rm -rf /opt/ghc | |
| sudo rm -rf /opt/hostedtoolcache/CodeQL | |
| sudo docker image prune --all --force | |
| - uses: actions/checkout@v2 | |
| with: | |
| submodules: recursive | |
| - uses: docker/setup-buildx-action@v3 | |
| - uses: docker/build-push-action@v6 | |
| with: | |
| target: ${{ matrix.target }} | |
| build_gpu: | |
| runs-on: radiuss-cuda-runners | |
| steps: | |
| - run: | | |
| sudo rm -rf /usr/share/dotnet | |
| sudo rm -rf /usr/local/lib/android | |
| sudo rm -rf /opt/ghc | |
| sudo rm -rf /opt/hostedtoolcache/CodeQL | |
| sudo docker image prune --all --force | |
| - uses: actions/checkout@v2 | |
| with: | |
| submodules: recursive | |
| - uses: docker/setup-buildx-action@v3 | |
| - uses: docker/build-push-action@v6 | |
| with: | |
| target: cuda | |
| build_mac: | |
| runs-on: macos-latest | |
| steps: | |
| - uses: actions/checkout@v2 | |
| with: | |
| submodules: recursive | |
| - uses: threeal/cmake-action@v1.3.0 | |
| with: | |
| build-dir: build | |
| options: | |
| ENABLE_WARNINGS_AS_ERRORS=Off | |
| UMPIRE_ENABLE_DEVELOPER_DEFAULTS=On | |
| UMPIRE_ENABLE_DEVELOPER_BENCHMARKS=On | |
| CMAKE_BUILD_TYPE=Release | |
| run-build: true | |
| build-args: '--parallel 16' | |
| - uses: threeal/ctest-action@v1.1.0 | |
| build_windows: | |
| strategy: | |
| matrix: | |
| shared: | |
| - args: | |
| BUILD_SHARED_LIBS=On | |
| CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS=On | |
| - args: BUILD_SHARED_LIBS=Off | |
| runs-on: windows-latest | |
| steps: | |
| - uses: actions/checkout@v2 | |
| with: | |
| submodules: recursive | |
| - uses: threeal/cmake-action@v1.3.0 | |
| with: | |
| build-dir: build | |
| options: | |
| ENABLE_WARNINGS_AS_ERRORS=Off | |
| UMPIRE_ENABLE_FILESYSTEM=On | |
| UMPIRE_ENABLE_TOOLS=Off | |
| UMPIRE_ENABLE_DEVELOPER_BENCHMARKS=On | |
| UMPIRE_ENABLE_BENCHMARKS=Off | |
| BLT_CXX_STD="c++17" | |
| CMAKE_CXX_STANDARD=17 | |
| CMAKE_BUILD_TYPE=Release | |
| ${{ matrix.shared.args }} | |
| run-build: true | |
| build-args: '--parallel 16' |