-
Notifications
You must be signed in to change notification settings - Fork 14
128 lines (115 loc) · 4.26 KB
/
build_tests_release.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
name: '[Check] Build/Install/Test Arcane Framework (Ubuntu 22.04-24.04 / GCC 12-14 / CLang 16-17-18 / CUDA 12.5 / Minimal-Full)'
on:
push:
branches: [ main, dev/cea ]
pull_request:
branches: [ main, dev/cea ]
paths-ignore:
- '**.css'
- '**.dox'
- '**.doxyfile'
- '**.geo'
- '**.goto'
- '**.html'
- '**.jpg'
- '**.js'
- '**.markdown'
- '**.md'
- '**.odg'
- '**.old'
- '**.png'
- '**.py'
- '**.samples'
- '**.svg'
- '**.webp'
- '**.yml'
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref || github.run_id }}
cancel-in-progress: true
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: '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
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
-DARCANE_USE_HASHTABLEMAP2_FOR_ITEMINTERNALMAP=ON
-DPTScotch_INCLUDE_DIR="/usr/include/scotch"'
config:
- type: 'Check'
excluded_tests: '^.*([5-9]proc|[1-9][0-9]+proc|[5-9]thread|[1-9][0-9]+thread).*$'
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' } }
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
ccache_debug_mode: false
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 }}
cache_key_prefix: ${{matrix.image.short}}_${{matrix.version.short}}