Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions .github/workflows/ompi_nvidia.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: ompi_NVIDIA CI
on: [pull_request]
jobs:

deployment:
nvidia_deployment:
if: github.repository == 'open-mpi/ompi'
runs-on: [self-hosted, linux, x64, nvidia]
steps:
Expand All @@ -17,25 +17,25 @@ jobs:
path: ompi_ci
- name: Deployment infrastructure
run: /start deploy
build:
needs: [deployment]
nvidia_build:
needs: [nvidia_deployment]
runs-on: [self-hosted, linux, x64, nvidia]
steps:
- name: Building OMPI,UCX and tests
run: /start build
test:
needs: [deployment, build]
nvidia_test:
needs: [nvidia_deployment, nvidia_build]
runs-on: [self-hosted, linux, x64, nvidia]
steps:
- name: Running tests
run: /start test
clean:
# always() should be used to run "clean" even when the workflow was canceled
nvidia_clean:
# always() should be used to run "clean" even when the workflow was canceled
# ( in case of the right repository name)
# The second condition doesn't work when the workflow was canceled

if: always() && (github.repository == 'open-mpi/ompi')
needs: [deployment, build, test]
needs: [nvidia_deployment, nvidia_build, nvidia_test]
runs-on: [self-hosted, linux, x64, nvidia]
steps:
- name: Cleaning
Expand Down