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 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216
|
name: OpenPMIx Cross Version Testing
on: [pull_request]
permissions:
contents: read
jobs:
xversion:
runs-on: ubuntu-latest
strategy:
matrix:
versions: ['master', 'v5.0', 'v4.2', 'v4.1', 'v3.2']
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 PR
uses: actions/checkout@v3
with:
submodules: recursive
path: pr
- name: Build PR
run: |
cd pr
./autogen.pl
./configure --prefix=$RUNNER_TEMP/prinstall --disable-debug --enable-static --disable-shared --disable-dlopen --disable-per-user-config-files
make -j
make install
cd test
make
cd simple
make
- name: Git clone branch
uses: actions/checkout@v3
with:
submodules: recursive
repository: openpmix/openpmix
path: checkbranch
ref: ${{ matrix.versions }}
- name: Build branch
run: |
cd checkbranch
./autogen.pl
./configure --prefix=$RUNNER_TEMP/branchinstall --disable-debug --enable-static --disable-shared --disable-dlopen --disable-per-user-config-files
make -j
make install
cd test
make
cd simple
make
- name: PR-to-branch simple
run: pr/test/simple/simptest -n 2 -xversion -e checkbranch/test/simple/simpclient
if: ${{ true }}
timeout-minutes: 5
- name: PR-to-branch tool
run: pr/test/simple/simptest -n 1 -xversion -e checkbranch/test/simple/simptool
if: ${{ true }}
timeout-minutes: 5
- name: PR-to-branch check0
run: pr/test/pmix_test -n 4 --ns-dist 3:1 --fence "[db | 0:0-2;1:0]" -e checkbranch/test/pmix_client
if: ${{ true }}
timeout-minutes: 5
- name: PR-to-branch check1
run: pr/test/pmix_test -n 4 --ns-dist 3:1 --fence "[db | 0:0-2;1:0]" -e checkbranch/test/pmix_client
if: ${{ true }}
timeout-minutes: 5
- name: PR-to-branch check2
run: pr/test/pmix_test -n 4 --ns-dist 3:1 --fence "[db | 0:;1:0]" -e checkbranch/test/pmix_client
if: ${{ true }}
timeout-minutes: 5
- name: PR-to-branch check3
run: pr/test/pmix_test -n 4 --ns-dist 3:1 --fence "[db | 0:;1:]" -e checkbranch/test/pmix_client
if: ${{ true }}
timeout-minutes: 5
- name: PR-to-branch check4
run: pr/test/pmix_test -n 4 --ns-dist 3:1 --fence "[0:]" -e checkbranch/test/pmix_client
if: ${{ true }}
timeout-minutes: 5
- name: PR-to-branch check5
run: pr/test/pmix_test -n 4 --ns-dist 3:1 --fence "[b | 0:]" -e checkbranch/test/pmix_client
if: ${{ true }}
timeout-minutes: 5
- name: PR-to-branch check6
run: pr/test/pmix_test -n 4 --job-fence -c -e checkbranch/test/pmix_client
if: ${{ true }}
timeout-minutes: 5
- name: PR-to-branch check7
run: pr/test/pmix_test -n 4 --job-fence -e checkbranch/test/pmix_client
if: ${{ true }}
timeout-minutes: 5
- name: PR-to-branch check8
run: pr/test/pmix_test -n 2 --test-publish -e checkbranch/test/pmix_client
if: ${{ true }}
timeout-minutes: 5
- name: PR-to-branch check9
run: pr/test/pmix_test -n 2 --test-spawn -e checkbranch/test/pmix_client
if: ${{ true }}
timeout-minutes: 5
- name: PR-to-branch check10
run: pr/test/pmix_test -n 2 --test-connect -e checkbranch/test/pmix_client
if: ${{ true }}
timeout-minutes: 5
- name: PR-to-branch check11
run: pr/test/pmix_test -n 5 --test-resolve-peers --ns-dist "1:2:2" -e checkbranch/test/pmix_client
if: ${{ true }}
timeout-minutes: 5
- name: PR-to-branch check12
run: pr/test/pmix_test -n 5 --test-replace 100:0,1,10,50,99 -e checkbranch/test/pmix_client
if: ${{ true }}
timeout-minutes: 5
- name: PR-to-branch check13
run: pr/test/pmix_test -n 5 --test-internal 10 -e checkbranch/test/pmix_client
if: ${{ true }}
timeout-minutes: 5
- name: branch-to-PR simple
run: checkbranch/test/simple/simptest -n 2 -xversion -e pr/test/simple/simpclient
if: ${{ true }}
timeout-minutes: 5
- name: branch-to-PR tool
run: checkbranch/test/simple/simptest -n 1 -xversion -e pr/test/simple/simptool
if: ${{ true }}
timeout-minutes: 5
- name: branch-to-PR check0
run: checkbranch/test/pmix_test -n 4 --ns-dist 3:1 --fence "[db | 0:0-2;1:0]" -e pr/test/pmix_client
if: ${{ true }}
timeout-minutes: 5
- name: branch-to-PR check1
run: checkbranch/test/pmix_test -n 4 --ns-dist 3:1 --fence "[db | 0:0-2;1:0]" -e pr/test/pmix_client
if: ${{ true }}
timeout-minutes: 5
- name: branch-to-PR check2
run: checkbranch/test/pmix_test -n 4 --ns-dist 3:1 --fence "[db | 0:;1:0]" -e pr/test/pmix_client
if: ${{ true }}
timeout-minutes: 5
- name: branch-to-PR check3
run: checkbranch/test/pmix_test -n 4 --ns-dist 3:1 --fence "[db | 0:;1:]" -e pr/test/pmix_client
if: ${{ true }}
timeout-minutes: 5
- name: branch-to-PR check4
run: checkbranch/test/pmix_test -n 4 --ns-dist 3:1 --fence "[0:]" -e pr/test/pmix_client
if: ${{ true }}
timeout-minutes: 5
- name: branch-to-PR check5
run: checkbranch/test/pmix_test -n 4 --ns-dist 3:1 --fence "[b | 0:]" -e pr/test/pmix_client
if: ${{ true }}
timeout-minutes: 5
- name: branch-to-PR check6
run: checkbranch/test/pmix_test -n 4 --job-fence -c -e pr/test/pmix_client
if: ${{ true }}
timeout-minutes: 5
- name: branch-to-PR check7
run: checkbranch/test/pmix_test -n 4 --job-fence -e pr/test/pmix_client
if: ${{ true }}
timeout-minutes: 5
- name: branch-to-PR check8
run: checkbranch/test/pmix_test -n 2 --test-publish -e pr/test/pmix_client
if: ${{ true }}
timeout-minutes: 5
- name: branch-to-PR check9
run: checkbranch/test/pmix_test -n 2 --test-spawn -e pr/test/pmix_client
if: ${{ true }}
timeout-minutes: 5
- name: branch-to-PR check10
run: checkbranch/test/pmix_test -n 2 --test-connect -e pr/test/pmix_client
if: ${{ true }}
timeout-minutes: 5
- name: branch-to-PR check11
run: checkbranch/test/pmix_test -n 5 --test-resolve-peers --ns-dist "1:2:2" -e pr/test/pmix_client
if: ${{ true }}
timeout-minutes: 5
- name: branch-to-PR check12
run: checkbranch/test/pmix_test -n 5 --test-replace 100:0,1,10,50,99 -e pr/test/pmix_client
if: ${{ true }}
timeout-minutes: 5
- name: branch-to-PR check13
run: checkbranch/test/pmix_test -n 5 --test-internal 10 -e pr/test/pmix_client
if: ${{ true }}
timeout-minutes: 5
|