Add host_device_ptr<T>::slice method #1037
Workflow file for this run
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
| ############################################################################### | |
| # Copyright (c) Lawrence Livermore National Security, LLC and other CARE | |
| # contributors. See the CARE LICENSE and COPYRIGHT files for details. | |
| # | |
| # SPDX-License-Identifier: BSD-3-Clause | |
| ############################################################################### | |
| name: C/C++ CI | |
| on: | |
| pull_request: | |
| branches: [ develop ] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Check out repository | |
| uses: actions/checkout@v2 | |
| - name: Initialize submodules | |
| run: git submodule update --init --recursive | |
| - name: Make build directory | |
| run: mkdir build | |
| - name: Set up CMake | |
| uses: jwlawson/actions-setup-cmake@v2 | |
| with: | |
| cmake-version: '3.24.x' | |
| - name: Run CMake | |
| run: cmake ../ -DCMAKE_BUILD_TYPE=Debug -DCARE_ENABLE_SUBMODULE_TESTS=Off -DCARE_ENABLE_SUBMODULE_BENCHMARKS=Off -DCARE_ENABLE_SUBMODULE_EXAMPLES=Off -DCARE_ENABLE_SUBMODULE_EXERCISES=Off -DCARE_ENABLE_SUBMODULE_DOCS=Off | |
| working-directory: build | |
| - name: Run make | |
| run: make -j | |
| working-directory: build | |
| - name: Run tests | |
| run: make test CTEST_OUTPUT_ON_FAILURE=TRUE | |
| working-directory: build | |
| - name: Clean up | |
| run: rm -rf build |