Skip to content

Commit d8bb029

Browse files
committed
ci: move manylinux2014 to GitLab, add gcc14-mpich-static job
Move manylinux2014 GCC 11 builds (mpich + serial) from GitHub Actions to the GitLab spack infrastructure (gitlab-ci-spack.yml), freeing a slot in the GitHub Actions matrix. Add Ubuntu 22.04 / GCC 14 / MPICH / static as the new job to fill the freed slot, providing static-linking coverage with the latest GCC. | OS | Compiler | MPI | Shared | |----|----------|-----|--------| | Ubuntu 22.04 | GCC 10 | MPICH | shared | | Ubuntu 22.04 | GCC 12 | MPICH | shared | | Ubuntu 22.04 | GCC 12 | OpenMPI | shared | | Ubuntu 22.04 | GCC 12 | serial | shared | | Ubuntu 22.04 | GCC 12 | serial | static | | Ubuntu 22.04 | GCC 14 | MPICH | shared | | Ubuntu 22.04 | GCC 14 | MPICH | static | | Ubuntu 22.04 | Clang 11 | OpenMPI | shared | | Ubuntu 22.04 | Clang 14 | MPICH | shared | | Ubuntu 22.04 | Clang 14 | serial | shared | | Ubuntu 22.04 | ROCm | serial | shared | | AlmaLinux 8 | Intel oneAPI 2023.2.1 | MPICH | shared | | macOS 15 | Xcode 16.4 | serial | shared | | macOS 15 | Xcode 16.4 | serial | static | | macOS 14 | Xcode 15.4 | serial | shared | | Windows 2022 | VS 2022 | MSMPI | shared | | Windows 2025 | VS 2022 | MSMPI | shared | | Windows 2025 | VS 2022 | serial | shared | | Windows 2025 | VS 2022 | serial | static |
1 parent 5a2b4e8 commit d8bb029

5 files changed

Lines changed: 90 additions & 75 deletions

File tree

.github/workflows/everything.yml

Lines changed: 6 additions & 75 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,11 @@ jobs:
154154
- os: ubuntu22.04
155155
compiler: clang14
156156
parallel: serial
157+
- os: ubuntu22.04
158+
compiler: gcc14
159+
parallel: mpich
160+
shared: static
161+
constrains: build_only
157162
- os: ubuntu22.04
158163
compiler: rocm
159164
parallel: serial
@@ -265,80 +270,6 @@ jobs:
265270
- name: Test
266271
run: gha/scripts/ci/gh-actions/run.sh test
267272

268-
manylinux2014:
269-
needs: [format, git_checks]
270-
if: needs.git_checks.outputs.num_code_changes > 0
271-
272-
runs-on: ubuntu-latest
273-
permissions:
274-
contents: read
275-
actions: write # for cache save
276-
container:
277-
image: ghcr.io/ornladios/adios2/ci-manylinux2014-${{ matrix.compiler }}:20260313
278-
options: --shm-size=1g
279-
env:
280-
GH_YML_JOBNAME: ${{ matrix.os }}-${{ matrix.compiler }}-${{ matrix.parallel }}
281-
GH_YML_BASE_OS: Linux
282-
GH_YML_MATRIX_OS: ${{ matrix.os }}
283-
GH_YML_MATRIX_COMPILER: ${{ matrix.compiler }}
284-
GH_YML_MATRIX_PARALLEL: ${{ matrix.parallel }}
285-
CCACHE_BASEDIR: "${GITHUB_WORKSPACE}"
286-
CCACHE_DIR: "${GITHUB_WORKSPACE}/.ccache"
287-
CCACHE_COMPRESS: true
288-
CCACHE_COMPRESSLEVEL: 6
289-
ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true
290-
291-
strategy:
292-
fail-fast: false
293-
matrix:
294-
os: [manylinux2014]
295-
compiler: [gcc11]
296-
parallel: [mpich, serial]
297-
298-
steps:
299-
300-
- name: Manual Checkout (gha)
301-
run: git clone --depth 1 "https://github.com/${{ github.repository }}.git" gha
302-
303-
- name: Manual Checkout (source)
304-
run: |
305-
mkdir -p source
306-
cd source
307-
git init
308-
git remote add origin "https://github.com/${{ github.repository }}.git"
309-
git fetch --depth 1 origin "${{ github.event.pull_request.head.sha }}"
310-
git checkout FETCH_HEAD
311-
312-
- name: Restore cache
313-
uses: actions/cache/restore@cdf6c1fa76f9f475f3d7449005a359c84ca0f306 # v4
314-
id: restore-cache
315-
with:
316-
path: .ccache
317-
key: ccache-${{ matrix.os }}-${{ matrix.compiler }}-${{ matrix.parallel }}-${{ github.sha }}
318-
restore-keys: |
319-
ccache-${{ matrix.os }}-${{ matrix.compiler }}-${{ matrix.parallel }}
320-
- name: Configure cache
321-
run: ccache -z
322-
- name: Setup
323-
run: gha/scripts/ci/gh-actions/linux-setup.sh
324-
- name: Update
325-
run: gha/scripts/ci/gh-actions/run.sh update
326-
- name: Configure
327-
run: gha/scripts/ci/gh-actions/run.sh configure
328-
- name: Build
329-
run: gha/scripts/ci/gh-actions/run.sh build
330-
- name: Print ccache statistics
331-
run: ccache -s | tee $GITHUB_STEP_SUMMARY
332-
- name: Save cache
333-
uses: actions/cache/save@cdf6c1fa76f9f475f3d7449005a359c84ca0f306 # v4
334-
if: ${{ github.ref_name == 'master' && steps.restore-cache.outputs.cache-hit != 'true' }}
335-
id: save-cache
336-
with:
337-
path: .ccache
338-
key: ccache-${{ matrix.os }}-${{ matrix.compiler }}-${{ matrix.parallel }}-${{ github.sha }}
339-
- name: Test
340-
run: gha/scripts/ci/gh-actions/run.sh test
341-
342273
macos:
343274
needs: [format, git_checks]
344275
if: needs.git_checks.outputs.num_code_changes > 0
@@ -696,7 +627,7 @@ jobs:
696627
#######################################
697628

698629
build_and_test:
699-
needs: [el8, ubuntu, manylinux2014, macos, windows, docker, contract]
630+
needs: [el8, ubuntu, macos, windows, docker, contract]
700631
runs-on: ubuntu-latest
701632
steps:
702633
- run: echo "All required jobs complete"

.gitlab/gitlab-ci-spack.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,36 @@ default:
4545
script:
4646
- bash scripts/ci/gitlab-ci/run.sh memcheck
4747

48+
.common-test:
49+
extends:
50+
- .common
51+
stage: test
52+
script:
53+
- bash scripts/ci/gitlab-ci/run.sh test
54+
55+
#===============================================================================
56+
build:uo-manylinux2014-gcc11-mpich:
57+
image:
58+
name: ghcr.io/ornladios/adios2/ci-manylinux2014-gcc11:20260313
59+
extends: [.common-build]
60+
61+
build:uo-manylinux2014-gcc11-serial:
62+
image:
63+
name: ghcr.io/ornladios/adios2/ci-manylinux2014-gcc11:20260313
64+
extends: [.common-build]
65+
66+
test:uo-manylinux2014-gcc11-mpich:
67+
image:
68+
name: ghcr.io/ornladios/adios2/ci-manylinux2014-gcc11:20260313
69+
extends: [.common-test]
70+
needs: [build:uo-manylinux2014-gcc11-mpich]
71+
72+
test:uo-manylinux2014-gcc11-serial:
73+
image:
74+
name: ghcr.io/ornladios/adios2/ci-manylinux2014-gcc11:20260313
75+
extends: [.common-test]
76+
needs: [build:uo-manylinux2014-gcc11-serial]
77+
4878
#===============================================================================
4979
build:uo-sanitizer-asan:
5080
image:
Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
# SPDX-FileCopyrightText: 2026 Oak Ridge National Laboratory and Contributors
2+
#
3+
# SPDX-License-Identifier: Apache-2.0
4+
5+
include(ProcessorCount)
6+
ProcessorCount(NCPUS)
7+
math(EXPR N2CPUS "${NCPUS}*2")
8+
9+
set(ENV{CC} gcc-14)
10+
set(ENV{CXX} g++-14)
11+
set(ENV{FC} gfortran-14)
12+
13+
execute_process(
14+
COMMAND "python3-config" "--prefix"
15+
OUTPUT_VARIABLE PY_ROOT
16+
OUTPUT_STRIP_TRAILING_WHITESPACE)
17+
18+
set(dashboard_cache "
19+
BUILD_SHARED_LIBS=OFF
20+
BUILD_TESTING:BOOL=OFF
21+
ADIOS2_BUILD_EXAMPLES:BOOL=ON
22+
23+
ADIOS2_USE_AWSSDK:STRING=OFF
24+
ADIOS2_USE_Blosc2:BOOL=ON
25+
ADIOS2_USE_BZip2:BOOL=ON
26+
ADIOS2_USE_DataMan:BOOL=OFF
27+
ADIOS2_USE_Fortran:BOOL=ON
28+
ADIOS2_USE_HDF5:BOOL=ON
29+
ADIOS2_USE_MGARD:BOOL=OFF
30+
ADIOS2_USE_MPI:BOOL=ON
31+
ADIOS2_USE_Python:BOOL=ON
32+
ADIOS2_USE_SZ:BOOL=ON
33+
ADIOS2_USE_ZeroMQ:STRING=OFF
34+
ADIOS2_USE_ZFP:BOOL=ON
35+
36+
Python_ROOT_DIR:PATH=${PY_ROOT}
37+
Python_FIND_STRATEGY:STRING=LOCATION
38+
Python_FIND_FRAMEWORK:STRING=FIRST
39+
40+
CMAKE_C_COMPILER_LAUNCHER=ccache
41+
CMAKE_CXX_COMPILER_LAUNCHER=ccache
42+
CMAKE_C_FLAGS_RELEASE:STRING=-Wall -Os -DNDEBUG
43+
CMAKE_CXX_FLAGS_RELEASE:STRING=-Wall -Os -DNDEBUG
44+
CMAKE_Fortran_FLAGS_RELEASE:STRING=-Wall -Os
45+
46+
OpenMP_gomp_LIBRARY:FILEPATH=/spack/var/spack/environments/adios2-ci-mpich/.spack-env/view/lib/libgomp.so.1
47+
48+
MPIEXEC_MAX_NUMPROCS:STRING=${N2CPUS}
49+
")
50+
51+
set(CTEST_BUILD_CONFIGURATION Release)
52+
set(CTEST_CMAKE_GENERATOR "Ninja")
53+
list(APPEND CTEST_UPDATE_NOTES_FILES "${CMAKE_CURRENT_LIST_FILE}")
54+
include(${CMAKE_CURRENT_LIST_DIR}/ci-common.cmake)
File renamed without changes.

scripts/ci/cmake/ci-manylinux2014-gcc12-serial.cmake renamed to scripts/ci/cmake/ci-uo-manylinux2014-gcc11-serial.cmake

File renamed without changes.

0 commit comments

Comments
 (0)