Assign seq for PortHandle/PortRef #5508
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
name: CI | |
on: | |
pull_request: | |
branches: | |
- main | |
- gh/** | |
push: | |
branches: | |
- main | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref == 'refs/heads/main' && github.run_number || github.ref }} | |
cancel-in-progress: true | |
jobs: | |
build-cuda: | |
name: Build CUDA | |
uses: ./.github/workflows/build-cuda.yml | |
build-cpu: | |
name: Build CPU | |
uses: ./.github/workflows/build-cpu.yml | |
test-cpu-python: | |
name: Test CPU Python | |
needs: build-cpu | |
uses: ./.github/workflows/test-cpu-python.yml | |
with: | |
artifact-name: monarch-cpu-${{ github.sha }} | |
test-gpu-python: | |
name: Test GPU Python | |
needs: build-cuda | |
uses: ./.github/workflows/test-gpu-python.yml | |
with: | |
artifact-name: monarch-cuda-${{ github.sha }} | |
test-gpu-rust: | |
name: Test GPU Rust | |
needs: build-cuda | |
uses: ./.github/workflows/test-gpu-rust.yml | |
with: | |
artifact-name: monarch-cuda-${{ github.sha }} | |
status-check: | |
name: Status Check | |
runs-on: ubuntu-latest | |
needs: [test-cpu-python, test-gpu-python, test-gpu-rust] | |
if: always() | |
steps: | |
- name: Check all jobs status | |
run: | | |
if [[ "${{ needs.test-cpu-python.result }}" != "success" ]] || | |
[[ "${{ needs.test-gpu-python.result }}" != "success" ]] || | |
[[ "${{ needs.test-gpu-rust.result }}" != "success" ]]; then | |
echo "One or more jobs failed" | |
exit 1 | |
else | |
echo "All jobs passed" | |
fi |