@@ -24,21 +24,11 @@ jobs:
2424 needs : file-changes
2525 strategy :
2626 matrix :
27- os : ['ubuntu', ' macos']
27+ os : ['macos']
2828 mpi : ['mpi']
2929 precision : ['']
30- debug : ['debug', 'no-debug']
31- intel : [true, false]
32- exclude :
33- - os : macos
34- intel : true
35-
36- include :
37- - os : ubuntu
38- mpi : no-mpi
39- precision : single
40- debug : no-debug
41- intel : false
30+ debug : ['no-debug']
31+ intel : [false]
4232
4333 fail-fast : false
4434 continue-on-error : true
9282 env :
9383 OPT1 : ${{ matrix.mpi == 'mpi' && '--test-all' || '' }}
9484 OPT2 : ${{ matrix.debug == 'debug' && '-% 20' || '' }}
95-
96- self :
97- name : Self Hosted
98- if : github.repository == 'MFlowCode/MFC' && needs.file-changes.outputs.checkall == 'true'
99- needs : file-changes
100- continue-on-error : false
101- timeout-minutes : 1400
102- strategy :
103- matrix :
104- device : ['gpu']
105- interface : ['acc', 'omp']
106- lbl : ['gt', 'frontier']
107- include :
108- - device : ' cpu'
109- interface : ' none'
110- lbl : ' gt'
111- - device : ' cpu'
112- interface : ' none'
113- lbl : ' frontier'
114- exclude :
115- - device : ' gpu'
116- interface : ' omp'
117- lbl : ' frontier'
118- runs-on :
119- group : phoenix
120- labels : ${{ matrix.lbl }}
121- env :
122- NODE_OPTIONS : ${{ matrix.lbl == 'gt' && '--max-old-space-size=2048' || '' }}
123- ACTIONS_RUNNER_FORCE_ACTIONS_NODE_VERSION : node16
124- ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION : true
125- steps :
126- - name : Clone
127- uses : actions/checkout@v4
128-
129- - name : Build & Test
130- if : matrix.lbl == 'gt'
131- run : bash .github/workflows/phoenix/submit.sh .github/workflows/phoenix/test.sh ${{ matrix.device }} ${{ matrix.interface }}
132-
133- - name : Build
134- if : matrix.lbl == 'frontier'
135- run : bash .github/workflows/frontier/build.sh ${{ matrix.device }} ${{ matrix.interface }}
136-
137- - name : Test
138- if : matrix.lbl == 'frontier'
139- run : bash .github/workflows/frontier/submit.sh .github/workflows/frontier/test.sh ${{matrix.device}} ${{ matrix.interface }}
140-
141- - name : Print Logs
142- if : always()
143- run : cat test-${{ matrix.device }}-${{ matrix.interface }}.out
144-
145- - name : Archive Logs
146- uses : actions/upload-artifact@v4
147- if : matrix.lbl == 'frontier'
148- with :
149- name : logs-${{ strategy.job-index }}-${{ matrix.device }}-${{ matrix.interface }}
150- path : test-${{ matrix.device }}-${{ matrix.interface }}.out
0 commit comments