Build all RAPIDS repositories #393
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: Build all RAPIDS repositories | |
| on: | |
| schedule: | |
| - cron: '0 0 * * *' | |
| workflow_call: | |
| jobs: | |
| check-event: | |
| name: Check GH Event | |
| runs-on: ubuntu-latest | |
| outputs: | |
| ok: ${{ steps.check_gh_event.outputs.ok }} | |
| steps: | |
| - id: check_gh_event | |
| name: Check GH Event | |
| shell: bash | |
| run: | | |
| [[ '${{ github.event_name }}' == 'push' && '${{ github.repository }}' == 'rapidsai/devcontainers' ]] || \ | |
| [[ '${{ github.event_name }}' == 'schedule' && '${{ github.repository }}' == 'rapidsai/devcontainers' ]] || \ | |
| [[ '${{ github.event_name }}' == 'pull_request' && '${{ github.repository }}' != 'rapidsai/devcontainers' ]] \ | |
| && echo "ok=true" | tee -a $GITHUB_OUTPUT \ | |
| || echo "ok=false" | tee -a $GITHUB_OUTPUT; | |
| build-all-rapids-repos: | |
| name: RAPIDS | |
| if: needs.check-event.outputs.ok == 'true' | |
| needs: check-event | |
| secrets: inherit | |
| uses: rapidsai/shared-workflows/.github/workflows/build-in-devcontainer.yaml@branch-25.04 | |
| permissions: | |
| actions: read | |
| packages: read | |
| id-token: write | |
| contents: read | |
| pull-requests: read | |
| with: | |
| arch: '["amd64"]' | |
| cuda: '["12.8"]' | |
| node_type: cpu32 | |
| extra-repo-deploy-key: CUMLPRIMS_SSH_PRIVATE_DEPLOY_KEY | |
| build_command: | | |
| export SCCACHE_IDLE_TIMEOUT=0 | |
| SCCACHE_NO_DAEMON=1 sccache --stop-server | |
| sccache -z; | |
| sccache --show-adv-stats; | |
| clone-all -j$(nproc) -v -q --clone-upstream --single-branch --shallow-submodules; | |
| build-all \ | |
| -v \ | |
| -j$(nproc --ignore=1) \ | |
| -DBUILD_SHARED_LIBS=ON \ | |
| -DBUILD_TESTS=ON \ | |
| -DBUILD_BENCHMARKS=ON \ | |
| -DBUILD_PRIMS_BENCH=ON \ | |
| -DRAFT_COMPILE_LIBRARY=ON \ | |
| -DBUILD_CUGRAPH_MG_TESTS=ON \ | |
| ; | |
| sccache --show-adv-stats; |