Skip to content

Commit dd5d59b

Browse files
CI: Add OFI
1 parent 29fbf6a commit dd5d59b

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

.github/workflows/ofi.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: OFI Linux
2+
3+
on: [pull_request, merge_group]
4+
5+
jobs:
6+
build:
7+
timeout-minutes: 90
8+
9+
runs-on: ubuntu-22.04
10+
11+
steps:
12+
- uses: actions/checkout@v2
13+
# Uncomment the lines below to set up a tmate session for debugging.
14+
# See https://github.com/marketplace/actions/debugging-with-tmate for details.
15+
# This can't be enabled all the time as the tmate session will wait for a user to connect before running
16+
# the build.
17+
#- name: Tmate session for debugging
18+
# uses: mxschmitt/action-tmate@v2
19+
- name: install-prerequisites
20+
run: |
21+
sudo apt-get update
22+
sudo apt-get install libfabric-dev libpmix-dev openmpi-bin
23+
- name: build
24+
run: ./build all-test ofi-linux-x86_64 openpmix --with-production -j4 -g -I/usr/lib/x86_64-linux-gnu/pmix2/include/
25+
- name: test
26+
run: |
27+
export OMPI_MCA_rmaps_base_oversubscribe=1
28+
make -C ofi-linux-x86_64-openpmix/tmp test TESTOPTS="+ofi_runtime_tcp"

0 commit comments

Comments
 (0)