-
Notifications
You must be signed in to change notification settings - Fork 68
96 lines (92 loc) · 2.98 KB
/
builds-older.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
name: Build with PMIx v5
on: [pull_request]
jobs:
ubuntu:
runs-on: ubuntu-latest
steps:
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install -y --no-install-recommends software-properties-common libhwloc-dev libevent-dev
- name: Git clone OpenPMIx
uses: actions/checkout@v3
with:
submodules: recursive
repository: openpmix/openpmix
path: openpmix/v5
ref: v5.0
- name: Build OpenPMIx
run: |
cd openpmix/v5
./autogen.pl
./configure --prefix=$RUNNER_TEMP/pmixinstall
make -j
make install
cp examples/.libs/hello $RUNNER_TEMP/pmixinstall/bin
- name: Git clone PRRTE
uses: actions/checkout@v3
with:
submodules: recursive
clean: false
- name: Build PRRTE
run: |
./autogen.pl
./configure --prefix=$RUNNER_TEMP/prteinstall --with-pmix=$RUNNER_TEMP/pmixinstall
make -j
make install
- name: Tweak PRRTE
run: |
# Tweak PRRTE
mca_params="$HOME/.prte/mca-params.conf"
mkdir -p "$(dirname "$mca_params")"
echo rmaps_default_mapping_policy = :oversubscribe >> "$mca_params"
- name: Run simple test
run: |
export PATH=$RUNNER_TEMP/prteinstall/bin:${PATH}
export LD_LIBRARY_PATH=$RUNNER_TEMP/prteinstall/lib:${LD_LIBRARY_PATH}
prterun -n 4 $RUNNER_TEMP/pmixinstall/bin/hello
ubuntuClang:
runs-on: ubuntu-latest
steps:
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install -y --no-install-recommends software-properties-common libhwloc-dev libevent-dev clang
- name: Git clone OpenPMIx
uses: actions/checkout@v3
with:
submodules: recursive
repository: openpmix/openpmix
path: openpmix/v5
ref: v5.0
- name: Build OpenPMIx
run: |
cd openpmix/v5
./autogen.pl
CC=clang ./configure --prefix=$RUNNER_TEMP/pmixinstall
make -j
make install
cp examples/.libs/hello $RUNNER_TEMP/pmixinstall/bin
- name: Git clone PRRTE
uses: actions/checkout@v3
with:
submodules: recursive
clean: false
- name: Build PRRTE
run: |
./autogen.pl
pip3 install -r docs/requirements.txt
CC=clang ./configure --prefix=$RUNNER_TEMP/prteinstall --with-pmix=$RUNNER_TEMP/pmixinstall $sphinx
make -j
make install
- name: Tweak PRRTE
run: |
# Tweak PRRTE
mca_params="$HOME/.prte/mca-params.conf"
mkdir -p "$(dirname "$mca_params")"
echo rmaps_default_mapping_policy = :oversubscribe >> "$mca_params"
- name: Run simple test
run: |
export PATH=$RUNNER_TEMP/prteinstall/bin:${PATH}
export LD_LIBRARY_PATH=$RUNNER_TEMP/prteinstall/lib:${LD_LIBRARY_PATH}
prterun -n 4 $RUNNER_TEMP/pmixinstall/bin/hello