Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Assign seq for PortHandle/PortRef #5508

Assign seq for PortHandle/PortRef

Assign seq for PortHandle/PortRef #5508

Workflow file for this run

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