control ucx presence in install_info more carefully #716
Workflow file for this run
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: Build and test CPU legate.core on GH | |
concurrency: | |
group: ci-cpu-on-${{ github.event_name }}-from-${{ github.ref_name }} | |
cancel-in-progress: true | |
on: | |
push: | |
branches: | |
- "pull-request/[0-9]+" | |
- "*branch-*" | |
jobs: | |
build-cpu: | |
if: ${{ github.repository_owner == 'nv-legate' }} | |
uses: | |
./.github/workflows/gh-build.yml | |
with: | |
build-target: cpu | |
repos-name: ${{ github.event.repository.name }} | |
runs-on: ${{ contains(github.repository, 'nv-legate/legate.core') && 'linux-amd64-cpu4' || 'ubuntu-latest' }} | |
sha: ${{ github.sha }} | |
build-type: ci | |
test-cpu: | |
needs: | |
- build-cpu | |
strategy: | |
fail-fast: false | |
matrix: | |
include: | |
- { name: Pytest Unit Tests, test-scope: unit } | |
- { name: mypy, test-scope: mypy } | |
name: ${{ matrix.name }} | |
if: ${{ github.repository_owner == 'nv-legate' }} | |
uses: | |
./.github/workflows/gh-test.yml | |
with: | |
build-target: cpu | |
repos-name: ${{ github.event.repository.name }} | |
runs-on: ${{ contains(github.repository, 'nv-legate/legate.core') && 'linux-amd64-32cpu' || 'ubuntu-latest' }} | |
sha: ${{ github.sha }} | |
test-scope: ${{ matrix.test-scope }} | |
cleanup: | |
needs: | |
- build-cpu | |
- test-cpu | |
# This ensures the cleanup job runs even if previous jobs fail or the workflow is cancelled. | |
if: always() | |
uses: | |
./.github/workflows/gh-cleanup.yml | |
with: | |
build-target: cpu | |
sha: ${{ github.sha }} |