Skip to content

Enable UCX on TOT

Enable UCX on TOT #673

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:
strategy:
fail-fast: false
matrix:
ucx-config: [ucx, no-ucx]
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
ucx-config: ${{ matrix.ucx-config }}
test-cpu:
needs:
- build-cpu
strategy:
fail-fast: false
matrix:
ucx-config: [ucx, no-ucx]
test-config: [{ name: Pytest Unit Tests, test-scope: unit }, { name: mypy, test-scope: mypy }]
name: ${{ matrix.test-config.name }}
if: ${{ github.repository_owner == 'nv-legate' }}
uses:
./.github/workflows/gh-test.yml

Check failure on line 41 in .github/workflows/ci-gh-cpu-build-and-test.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/ci-gh-cpu-build-and-test.yml

Invalid workflow file

error parsing called workflow ".github/workflows/ci-gh-cpu-build-and-test.yml" -> "./.github/workflows/gh-test.yml" (source branch with sha:0c7ff12c0a0bc77c69fd6db95c83ba8aeff27f67) : You have an error in your yaml syntax on line 29
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 }}
ucx-config: ${{ matrix.ucx-config }}
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 }}