Merge branch 'chg/ai-changes' into development #121
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: gpuvmem CI | |
| on: | |
| push: | |
| branches: [master, framework_dev, development] | |
| paths: | |
| - '**.cu' | |
| - '**.cuh' | |
| - '**.c' | |
| - '**.h' | |
| - '**.cpp' | |
| - '**.hpp' | |
| - '**.cmake' | |
| - CMakeLists.txt | |
| pull_request: | |
| branches: [master] | |
| types: [opened, reopened] | |
| paths: | |
| - '**.cu' | |
| - '**.cuh' | |
| - '**.c' | |
| - '**.h' | |
| - '**.cpp' | |
| - '**.hpp' | |
| - '**.cmake' | |
| - CMakeLists.txt | |
| env: | |
| BUILD_DIR: build | |
| CONFIG: Debug | |
| permissions: | |
| contents: read | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| container: | |
| image: ghcr.io/${{ github.repository }}:base | |
| credentials: | |
| username: ${{ github.repository_owner }} | |
| password: ${{ secrets.REGISTRY_TOKEN }} | |
| steps: | |
| - name: Install GIT LFS | |
| run: | | |
| apt-get update | |
| apt-get install -y git-lfs | |
| - uses: actions/checkout@v3.0.2 | |
| with: | |
| lfs: true | |
| - name: Configure cmake | |
| id: configure | |
| run: cmake . -B ${{ env.BUILD_DIR }} -DCMAKE_BUILD_TYPE=${{ env.CONFIG }} | |
| - name: Configure Error Processing | |
| if: ${{ failure() && steps.configure.outcome == 'failure' }} | |
| working-directory: ${{ env.BUILD_DIR }} | |
| run: | | |
| if [[ -f "CMakeFiles/CMakeOutput.log" ]]; then | |
| echo "---- CMakeFiles/CMakeOutput.log" | |
| cat CMakeFiles/CMakeOutput.log | |
| echo "----" | |
| fi | |
| if [[ -f "CMakeFiles/CMakeError.log" ]]; then | |
| echo "---- CMakeFiles/CMakeError.log" | |
| cat CMakeFiles/CMakeError.log | |
| echo "----" | |
| fi | |
| - name: Build everything else | |
| working-directory: ${{ env.BUILD_DIR }} | |
| run: cmake --build . --target all --verbose -j `nproc` |