forked from arcaneframework/framework
-
Notifications
You must be signed in to change notification settings - Fork 0
138 lines (123 loc) · 4.83 KB
/
build_tests_all.yml
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
name: '[All] Build/Install/Test Arcane Framework (Ubuntu 20.04-22.04-24.04 / GCC 12-14 / CLang 16-17-18 / CUDA 12.5 / Minimal-Full / Release-Debug)'
# Attention : GitHub limite à 20 tests à la fois.
on:
schedule:
- cron: '23 1 * * *'
workflow_dispatch:
jobs:
build-install-test:
strategy:
fail-fast: false
matrix:
image:
- short: 'U22_G12'
long: 'ubuntu-2204'
compilo_name: 'gcc'
compilo_version: '12'
date: '20240717'
args: '-DARCCORE_CXX_STANDARD=23'
cuda: 'false'
acpp: false
execute_tests: true
- short: 'U22_C16'
long: 'ubuntu-2204'
compilo_name: 'clang'
compilo_version: '16'
date: '20240717'
args: '-DARCCORE_CXX_STANDARD=23'
cuda: 'false'
acpp: false
execute_tests: true
- short: 'U24_G14'
long: 'ubuntu-2404'
compilo_name: 'gcc'
compilo_version: '14'
date: '20240717'
args: '-DARCCORE_CXX_STANDARD=23'
cuda: 'false'
acpp: false
execute_tests: true
- short: 'U24_C18'
long: 'ubuntu-2404'
compilo_name: 'clang'
compilo_version: '18'
date: '20240717'
args: '-DARCCORE_CXX_STANDARD=23'
cuda: 'false'
acpp: false
execute_tests: true
- short: 'U24_G13_CU125'
long: 'ubuntu-2404'
compilo_name: 'gcc'
compilo_version: '13'
date: '20240717'
# Disable googletest with CUDA because it requires a GPU driver
args: '-DARCCORE_CXX_STANDARD=20 -DARCANE_EXECUTE_ACCELERATOR_GOOGLETEST=OFF'
cuda: 'cuda-125'
acpp: false
execute_tests: false
- short: 'U24_C17_CU125'
long: 'ubuntu-2404'
compilo_name: 'clang'
compilo_version: '17'
date: '20240717'
# Disable googletest with CUDA because it requires a GPU driver
args: '-DARCCORE_CXX_STANDARD=20 -DARCANE_EXECUTE_ACCELERATOR_GOOGLETEST=OFF'
cuda: 'cuda-125'
acpp: false
execute_tests: false
- short: 'U24_ACPP'
long: 'ubuntu-2404'
compilo_name: 'clang'
compilo_version: '18'
date: '20240717'
args: '-DARCCORE_CXX_STANDARD=23'
cuda: 'false'
acpp: true
execute_tests: false
version:
- short: 'M'
long: 'minimal'
args: '-DARCANE_DISABLE_PERFCOUNTER_TESTS=ON'
- short: 'F'
long: 'full'
args: '-DARCANE_DISABLE_PERFCOUNTER_TESTS=ON
-DARCANE_DEFAULT_PARTITIONER=Metis
-DPTScotch_INCLUDE_DIR="/usr/include/scotch"'
config:
- type: 'Release'
excluded_tests: ''
excluded_tests_with_labels: 'LARGE_HYBRID'
ctest_args: '-j4 --timeout 1200'
- type: 'Debug'
excluded_tests: ''
excluded_tests_with_labels: 'LARGE_HYBRID'
ctest_args: '-j4 --timeout 1200'
mpi:
- implementation: 'OMPI'
- implementation: 'MPICH'
exclude:
- { version: { short: 'F' }, mpi: { implementation: 'MPICH' } }
- { version: { short: 'M' }, image: { short: 'U24_G13_CU125' } }
- { version: { short: 'M' }, image: { short: 'U24_C17_CU125' } }
- { version: { short: 'M' }, image: { short: 'U24_ACPP' } }
- { config: { type: 'Debug' }, image: { short: 'U24_ACPP' } }
name: '[${{matrix.image.short}}_${{matrix.version.short}}]_${{matrix.mpi.implementation}}_${{matrix.config.type}}'
# La partie 'uses' est déterminée à la compilation, donc on ne peut pas mettre de variable ${{}}.
uses: 'arcaneframework/gh_actions/.github/workflows/reusable_test_framework.yml@v2'
with:
image: ghcr.io/arcaneframework/${{matrix.image.long}}:${{matrix.image.compilo_name}}-${{matrix.image.compilo_version}}_${{matrix.version.long}}_${{matrix.image.date}}
compilo_name: ${{ matrix.image.compilo_name }}
compilo_version: ${{ matrix.image.compilo_version }}
mpi: ${{ matrix.mpi.implementation }}
cuda: ${{ matrix.image.cuda }}
use_acpp: ${{ matrix.image.acpp }}
type_build: ${{ matrix.config.type }}
cmake_additionnal_args: '${{ matrix.image.args }} ${{ matrix.version.args }}'
verbose: true
with_samples: true
execute_tests: ${{ matrix.image.execute_tests }}
excluded_tests: ${{ matrix.config.excluded_tests }}
excluded_tests_with_labels: ${{ matrix.config.excluded_tests_with_labels }}
ctest_additionnal_args: ${{ matrix.config.ctest_args }}
use_cache: false