Skip to content

Commit 0b929c3

Browse files
committed
ci: add build matrix table to scripts/ci/README.md
| 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 | 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 | | manylinux2014 | GCC 11 | MPICH | shared | | manylinux2014 | GCC 11 | serial | 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 cbe155f commit 0b929c3

24 files changed

Lines changed: 271 additions & 572 deletions

.github/workflows/everything.yml

Lines changed: 89 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -128,62 +128,36 @@ jobs:
128128
CCACHE_COMPRESS: true
129129
CCACHE_COMPRESSLEVEL: 6
130130
container:
131-
image: ghcr.io/ornladios/adios2:ci-spack-${{ matrix.os }}-${{ matrix.compiler }}${{ matrix.arch && format('-{0}', matrix.arch) || '' }}${{ matrix.deps == 'external' && '-external' || '' }}
131+
image: ghcr.io/ornladios/adios2/ci-spack-${{ matrix.os }}-${{ matrix.compiler }}:20260313
132132
options: --shm-size=1g
133133

134134
strategy:
135135
fail-fast: false
136136
matrix:
137137
os: [ubuntu22.04]
138-
compiler: [gcc9, gcc10, clang11, clang14]
138+
compiler: [gcc10, gcc12, gcc14, clang14]
139139
parallel: [mpich]
140140
include:
141141
- os: ubuntu22.04
142-
compiler: gcc9
143-
parallel: ompi
144-
- os: ubuntu22.04
145-
compiler: gcc9
146-
parallel: serial
147-
- os: ubuntu22.04
148-
compiler: clang11
142+
compiler: gcc12
149143
parallel: ompi
150144
- os: ubuntu22.04
151-
compiler: clang11
145+
compiler: gcc12
152146
parallel: serial
153147
- os: ubuntu22.04
154-
compiler: gcc9
148+
compiler: gcc12
155149
parallel: serial
156150
shared: static
157-
- os: ubuntu22.04
158-
compiler: gcc9
159-
shared: static
160-
parallel: mpich
161-
constrains: build_only
162151
- os: ubuntu22.04
163152
compiler: clang11
164-
shared: static
165-
parallel: mpich
166-
constrains: build_only
153+
parallel: ompi
167154
- os: ubuntu22.04
168-
compiler: rocm
155+
compiler: clang14
169156
parallel: serial
170-
constrains: build_only
171-
- os: ubuntu22.04
172-
compiler: gcc11
173-
parallel: mpich
174-
- os: ubuntu22.04
175-
compiler: gcc12
176-
parallel: mpich
177-
deps: internal
178-
- os: ubuntu22.04
179-
compiler: gcc12
180-
parallel: mpich
181-
deps: external
182157
- os: ubuntu22.04
183-
compiler: gcc11
158+
compiler: rocm
184159
parallel: serial
185-
runner: ubuntu-22.04-arm
186-
arch: aarch64
160+
constrains: build_only
187161

188162
steps:
189163
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v4
@@ -234,7 +208,7 @@ jobs:
234208
contents: read
235209
actions: write # for cache save
236210
container:
237-
image: ghcr.io/ornladios/adios2:ci-el8-${{ matrix.compiler }}
211+
image: ghcr.io/ornladios/adios2/ci-el8-${{ matrix.compiler }}:20260313
238212
options: --shm-size=1g
239213
env:
240214
GH_YML_JOBNAME: ${{ matrix.os }}-${{ matrix.compiler }}-${{ matrix.parallel }}
@@ -251,7 +225,7 @@ jobs:
251225
fail-fast: false
252226
matrix:
253227
os: [el8]
254-
compiler: [icc, oneapi]
228+
compiler: [oneapi]
255229
parallel: [mpich]
256230

257231
steps:
@@ -292,6 +266,80 @@ jobs:
292266
- name: Test
293267
run: gha/scripts/ci/gh-actions/run.sh test
294268

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

330381
name: macos (${{ matrix.image }}, ${{ matrix.compiler}}, ${{ matrix.arch }}, ${{ matrix.shared }}, ${{ matrix.parallel }})
331382

@@ -646,7 +697,7 @@ jobs:
646697
#######################################
647698

648699
build_and_test:
649-
needs: [el8, ubuntu, macos, windows, docker, contract]
700+
needs: [el8, ubuntu, manylinux2014, macos, windows, docker, contract]
650701
runs-on: ubuntu-latest
651702
steps:
652703
- run: echo "All required jobs complete"

scripts/ci/cmake/ci-el8-icc-ompi.cmake

Lines changed: 0 additions & 35 deletions
This file was deleted.

scripts/ci/cmake/ci-el8-icc-serial.cmake

Lines changed: 0 additions & 35 deletions
This file was deleted.

scripts/ci/cmake/ci-el8-oneapi-ompi.cmake

Lines changed: 0 additions & 36 deletions
This file was deleted.

scripts/ci/cmake/ci-macos-14-xcode15_4-static-serial.cmake

Lines changed: 0 additions & 54 deletions
This file was deleted.

0 commit comments

Comments
 (0)