Skip to content

Commit 5ccb173

Browse files
authored
Merge pull request #2004 from arcaneframework/dev/ah-add-workflow-required-by-pr
Add a workflow for PRs only and required to merge PRs
2 parents c620f8c + 582e40e commit 5ccb173

File tree

2 files changed

+64
-0
lines changed

2 files changed

+64
-0
lines changed

.github/workflows/build_tests_release.yml

+2
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,8 @@ jobs:
104104
- { version: { short: 'M' }, image: { short: 'U24_G13_CU126' } }
105105
- { version: { short: 'M' }, image: { short: 'U24_C18_CU126' } }
106106
- { version: { short: 'M' }, image: { short: 'U24_ACPP' } }
107+
# Ce test est fait par build_tests_required.
108+
- { image: { short: 'U24_C19' }, version: { short: 'M' }, config: { type: 'Check' }, mpi: { implementation: 'OMPI' } }
107109

108110

109111
name: '[${{matrix.image.short}}_${{matrix.version.short}}]_${{matrix.mpi.implementation}}_${{matrix.config.type}}'
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
name: '[Require PR] Build/Install/Test Arcane Framework (Ubuntu 24.04 / CLang 19 / Minimal)'
2+
3+
on:
4+
pull_request:
5+
branches: [ main, dev/cea ]
6+
workflow_dispatch:
7+
8+
concurrency:
9+
group: ${{ github.workflow }}-${{ github.ref || github.run_id }}
10+
cancel-in-progress: true
11+
12+
jobs:
13+
build-install-test:
14+
strategy:
15+
fail-fast: false
16+
matrix:
17+
image:
18+
- short: 'U24_C19'
19+
long: 'ubuntu-2404'
20+
compilo_name: 'clang'
21+
compilo_version: '19'
22+
acc_compilo_name: ''
23+
acc_compilo_version: ''
24+
date: '20250120'
25+
args: '-DARCCORE_CXX_STANDARD=23'
26+
execute_tests: true
27+
28+
version:
29+
- short: 'M'
30+
long: 'minimal'
31+
args: '-DARCANE_DISABLE_PERFCOUNTER_TESTS=ON'
32+
33+
config:
34+
- type: 'Check'
35+
excluded_tests: '^.*([3-9]proc|[1-9][0-9]+proc|[3-9]thread|[1-9][0-9]+thread).*$'
36+
excluded_tests_with_labels: 'LARGE_HYBRID'
37+
ctest_args: '-j4 --timeout 1200'
38+
39+
mpi:
40+
- implementation: 'OMPI'
41+
42+
name: '[${{matrix.image.short}}_${{matrix.version.short}}]_${{matrix.mpi.implementation}}_${{matrix.config.type}}'
43+
# La partie 'uses' est déterminée à la compilation, donc on ne peut pas mettre de variable ${{}}.
44+
uses: 'arcaneframework/gh_actions/.github/workflows/reusable_test_framework.yml@v3'
45+
with:
46+
image: ghcr.io/arcaneframework/${{matrix.image.long}}:${{matrix.image.compilo_name}}-${{matrix.image.compilo_version}}_${{matrix.version.long}}_${{matrix.image.date}}
47+
compilo_name: ${{ matrix.image.compilo_name }}
48+
compilo_version: ${{ matrix.image.compilo_version }}
49+
acc_compilo_name: ${{ matrix.image.acc_compilo_name }}
50+
acc_compilo_version: ${{ matrix.image.acc_compilo_version }}
51+
mpi: ${{ matrix.mpi.implementation }}
52+
type_build: ${{ matrix.config.type }}
53+
cmake_additionnal_args: '${{ matrix.image.args }} ${{ matrix.version.args }}'
54+
verbose: true
55+
ccache_debug_mode: false
56+
with_samples: true
57+
execute_tests: ${{ matrix.image.execute_tests }}
58+
excluded_tests: ${{ matrix.config.excluded_tests }}
59+
excluded_tests_with_labels: ${{ matrix.config.excluded_tests_with_labels }}
60+
ctest_additionnal_args: ${{ matrix.config.ctest_args }}
61+
cache_key_prefix: ${{matrix.image.short}}_${{matrix.version.short}}
62+
artifact_key_prefix: ${{matrix.image.short}}_${{matrix.version.short}}_${{matrix.mpi.implementation}}_${{matrix.config.type}}

0 commit comments

Comments
 (0)