Skip to content

Commit fac1141

Browse files
committed
Test order execution
1 parent 6bafa4c commit fac1141

File tree

1 file changed

+104
-104
lines changed

1 file changed

+104
-104
lines changed

.github/workflows/developer_ci.yml

Lines changed: 104 additions & 104 deletions
Original file line numberDiff line numberDiff line change
@@ -20,69 +20,69 @@ env:
2020
jobs:
2121

2222

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/"
8686
8787
# # # Get last git modifications, WS is not persistent here
8888
# # - uses: actions/checkout@v4
@@ -216,48 +216,48 @@ jobs:
216216
217217
eval $cmd
218218
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
241241

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
261261
262262
# # 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)
263263
# # Using hard name waiting for this issue to be fixed

0 commit comments

Comments
 (0)