|
20 | 20 | jobs: |
21 | 21 |
|
22 | 22 |
|
23 | | - # build: |
24 | | - # if: ${{ github.repository_owner == 'OpenRadioss' }} |
25 | | - # # concurrency: |
26 | | - # # group: ${{ github.ref_name }} |
27 | | - # # cancel-in-progress: true |
28 | | - |
29 | | - # # DEV ONLY # runs-on: ["build","dev_devci"] |
30 | | - # # runs-on: ["build","developer_ci"] |
31 | | - # runs-on: ["build","dev_devci"] |
32 | | - # container: |
33 | | - # image: fr-qafactorydev.europe.altair.com/build-linux64_gf:cos8-ompi411-devts11 |
34 | | - # credentials: |
35 | | - # username: ${{secrets.DOCKER_REGISTRY_USER}} |
36 | | - # password: ${{secrets.DOCKER_REGISTRY_PASSWD}} |
37 | | - # volumes: |
38 | | - # - /etc/localtime:/etc/localtime:ro |
39 | | - |
40 | | - # env: |
41 | | - # BUILD_NB_THREAD: 2 |
42 | | - |
43 | | - # strategy: |
44 | | - # # If one job fails othere are canceled |
45 | | - # fail-fast: true |
46 | | - # matrix: |
47 | | - # include: |
48 | | - # - build: starter_linux64_gf |
49 | | - # precision: dp |
50 | | - # os: linux64 |
51 | | - # binary: starter |
52 | | - |
53 | | - # # - build: starter_linux64_gf_sp |
54 | | - # # precision: sp |
55 | | - # # os: linux64 |
56 | | - # # binary: starter |
57 | | - |
58 | | - # # - build: engine_linux64_gf_ompi |
59 | | - # # precision: dp |
60 | | - # # os: linux64 |
61 | | - # # binary: engine |
62 | | - # # mpi: ompi |
63 | | - |
64 | | - # # - build: engine_linux64_gf_ompi_sp |
65 | | - # # precision: sp |
66 | | - # # os: linux64 |
67 | | - # # binary: engine |
68 | | - # # mpi: ompi |
69 | | - |
70 | | - # # - build: engine_linux64_gf |
71 | | - # # precision: dp |
72 | | - # # os: linux64 |
73 | | - # # binary: engine |
74 | | - |
75 | | - # # - build: engine_linux64_gf_sp |
76 | | - # # precision: sp |
77 | | - # # os: linux64 |
78 | | - # # binary: engine |
79 | | - |
80 | | - # steps: |
81 | | - |
82 | | - # - name: Clean local exe dir |
83 | | - # run: | |
84 | | - # rm -rf exec |
85 | | - # md5sum exec/* || echo "Nothing in exec/" |
| 23 | + build: |
| 24 | + if: ${{ github.repository_owner == 'OpenRadioss' }} |
| 25 | + # concurrency: |
| 26 | + # group: ${{ github.ref_name }} |
| 27 | + # cancel-in-progress: true |
| 28 | + |
| 29 | + # DEV ONLY # runs-on: ["build","dev_devci"] |
| 30 | + # runs-on: ["build","developer_ci"] |
| 31 | + runs-on: ["build","dev_devci"] |
| 32 | + container: |
| 33 | + image: fr-qafactorydev.europe.altair.com/build-linux64_gf:cos8-ompi411-devts11 |
| 34 | + credentials: |
| 35 | + username: ${{secrets.DOCKER_REGISTRY_USER}} |
| 36 | + password: ${{secrets.DOCKER_REGISTRY_PASSWD}} |
| 37 | + volumes: |
| 38 | + - /etc/localtime:/etc/localtime:ro |
| 39 | + |
| 40 | + env: |
| 41 | + BUILD_NB_THREAD: 2 |
| 42 | + |
| 43 | + strategy: |
| 44 | + # If one job fails othere are canceled |
| 45 | + fail-fast: true |
| 46 | + matrix: |
| 47 | + include: |
| 48 | + - build: starter_linux64_gf |
| 49 | + precision: dp |
| 50 | + os: linux64 |
| 51 | + binary: starter |
| 52 | + |
| 53 | + - build: starter_linux64_gf_sp |
| 54 | + precision: sp |
| 55 | + os: linux64 |
| 56 | + binary: starter |
| 57 | + |
| 58 | + - build: engine_linux64_gf_ompi |
| 59 | + precision: dp |
| 60 | + os: linux64 |
| 61 | + binary: engine |
| 62 | + mpi: ompi |
| 63 | + |
| 64 | + - build: engine_linux64_gf_ompi_sp |
| 65 | + precision: sp |
| 66 | + os: linux64 |
| 67 | + binary: engine |
| 68 | + mpi: ompi |
| 69 | + |
| 70 | + - build: engine_linux64_gf |
| 71 | + precision: dp |
| 72 | + os: linux64 |
| 73 | + binary: engine |
| 74 | + |
| 75 | + - build: engine_linux64_gf_sp |
| 76 | + precision: sp |
| 77 | + os: linux64 |
| 78 | + binary: engine |
| 79 | + |
| 80 | + steps: |
| 81 | + |
| 82 | + - name: Clean local exe dir |
| 83 | + run: | |
| 84 | + rm -rf exec |
| 85 | + md5sum exec/* || echo "Nothing in exec/" |
86 | 86 |
|
87 | 87 | # # # Get last git modifications, WS is not persistent here |
88 | 88 | # # - uses: actions/checkout@v4 |
@@ -216,48 +216,48 @@ jobs: |
216 | 216 |
|
217 | 217 | eval $cmd |
218 | 218 |
|
219 | | - # qa: |
220 | | - # needs: build |
221 | | - # # DEV ONLY # runs-on: ["qa_${{ matrix.os }}","dev_devci"] |
222 | | - # # runs-on: ["qa_${{ matrix.os }}","developer_ci"] |
223 | | - # runs-on: ["qa_${{ matrix.os }}","dev_devci"] |
224 | | - |
225 | | - # container: |
226 | | - # image: fr-qafactorydev.europe.altair.com/qa-linux64_gf:cos8-ompi411 |
227 | | - # credentials: |
228 | | - # username: ${{secrets.DOCKER_REGISTRY_USER}} |
229 | | - # password: ${{secrets.DOCKER_REGISTRY_PASSWD}} |
230 | | - # volumes: |
231 | | - # - /etc/localtime:/etc/localtime:ro |
232 | | - |
233 | | - # env: |
234 | | - # hm_reader_extlib: ../../extlib/hm_reader |
235 | | - # hm_reader_cfgfiles: ../../hm_cfg_files |
236 | | - # homeuser: /home/adminqa |
237 | | - # mpi: ompi |
238 | | - # # DEV ONLY # QA_NB_PROC: 2 |
239 | | - # QA_NB_PROC: 4 |
240 | | - # QA_NB_THREAD: 2 |
| 219 | + qa: |
| 220 | + needs: build |
| 221 | + # DEV ONLY # runs-on: ["qa_${{ matrix.os }}","dev_devci"] |
| 222 | + # runs-on: ["qa_${{ matrix.os }}","developer_ci"] |
| 223 | + runs-on: ["qa_${{ matrix.os }}","dev_devci"] |
| 224 | + |
| 225 | + container: |
| 226 | + image: fr-qafactorydev.europe.altair.com/qa-linux64_gf:cos8-ompi411 |
| 227 | + credentials: |
| 228 | + username: ${{secrets.DOCKER_REGISTRY_USER}} |
| 229 | + password: ${{secrets.DOCKER_REGISTRY_PASSWD}} |
| 230 | + volumes: |
| 231 | + - /etc/localtime:/etc/localtime:ro |
| 232 | + |
| 233 | + env: |
| 234 | + hm_reader_extlib: ../../extlib/hm_reader |
| 235 | + hm_reader_cfgfiles: ../../hm_cfg_files |
| 236 | + homeuser: /home/adminqa |
| 237 | + mpi: ompi |
| 238 | + # DEV ONLY # QA_NB_PROC: 2 |
| 239 | + QA_NB_PROC: 4 |
| 240 | + QA_NB_THREAD: 2 |
241 | 241 |
|
242 | | - # strategy: |
243 | | - # # If one job fails othere are canceled |
244 | | - # fail-fast: false |
245 | | - # matrix: |
246 | | - # os: [linux64] |
247 | | - # # precision: [dp,sp] |
248 | | - # precision: [dp] |
249 | | - |
250 | | - # steps: |
251 | | - |
252 | | - # # Get git related to the commit |
253 | | - # - uses: actions/checkout@v4 |
254 | | - # with: |
255 | | - # lfs: 'true' |
256 | | - # ref: refs/pull/${{ github.event.number }}/merge |
257 | | - |
258 | | - # - name: Clean local exe dir |
259 | | - # run: | |
260 | | - # rm -rf exec |
| 242 | + strategy: |
| 243 | + # If one job fails othere are canceled |
| 244 | + fail-fast: false |
| 245 | + matrix: |
| 246 | + os: [linux64] |
| 247 | + # precision: [dp,sp] |
| 248 | + precision: [dp] |
| 249 | + |
| 250 | + steps: |
| 251 | + |
| 252 | + # Get git related to the commit |
| 253 | + - uses: actions/checkout@v4 |
| 254 | + with: |
| 255 | + lfs: 'true' |
| 256 | + ref: refs/pull/${{ github.event.number }}/merge |
| 257 | + |
| 258 | + - name: Clean local exe dir |
| 259 | + run: | |
| 260 | + rm -rf exec |
261 | 261 |
|
262 | 262 | # # Download artifacts (since V4 we must download all needed artifacts, we could do it using wildcard but it doesn't work ... see https://github.com/actions/download-artifact/issues/337) |
263 | 263 | # # Using hard name waiting for this issue to be fixed |
|
0 commit comments