Skip to content

Commit 0c3f078

Browse files
committed
CI: For minimal build, do not use global settings
1 parent 66d7e4f commit 0c3f078

File tree

3 files changed

+97
-2
lines changed

3 files changed

+97
-2
lines changed
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
builtin_vdt=ON
2+
builtin_zlib=ON
3+
builtin_zstd=ON
Lines changed: 79 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,79 @@
1+
alien=OFF
2+
all=OFF
3+
arrow=OFF
4+
asan=OFF
5+
asserts=OFF
6+
builtin_cfitsio=OFF
7+
builtin_clang=ON
8+
builtin_cling=ON
9+
builtin_cppzmq=ON
10+
builtin_davix=OFF
11+
builtin_fftw3=OFF
12+
builtin_freetype=OFF
13+
builtin_ftgl=OFF
14+
builtin_gl2ps=OFF
15+
builtin_glew=OFF
16+
builtin_gsl=OFF
17+
builtin_llvm=ON
18+
builtin_lz4=OFF
19+
builtin_lzma=OFF
20+
builtin_nlohmannjson=OFF
21+
builtin_openssl=OFF
22+
builtin_openui5=ON
23+
builtin_pcre=OFF
24+
builtin_tbb=OFF
25+
builtin_unuran=OFF
26+
builtin_vc=OFF
27+
builtin_vdt=OFF
28+
builtin_veccore=OFF
29+
builtin_xrootd=OFF
30+
builtin_xxhash=OFF
31+
builtin_zeromq=ON
32+
builtin_zlib=OFF
33+
builtin_zstd=OFF
34+
ccache=ON
35+
cefweb=OFF
36+
check_connection=OFF
37+
clingtest=OFF
38+
cocoa=OFF
39+
coverage=OFF
40+
cuda=OFF
41+
daos=OFF
42+
dcache=OFF
43+
dev=OFF
44+
distcc=OFF
45+
fail-on-missing=ON
46+
fcgi=OFF
47+
gminimal=OFF
48+
gnuinstall=OFF
49+
gsl_shared=OFF
50+
gviz=OFF
51+
jemalloc=OFF
52+
libcxx=OFF
53+
macos_native=OFF
54+
memory_termination=OFF
55+
mpi=OFF
56+
pythia8=OFF
57+
qt6web=OFF
58+
r=OFF
59+
rootbench=OFF
60+
roottest=ON
61+
runtime_cxxmodules=ON
62+
shadowpw=OFF
63+
shared=ON
64+
soversion=OFF
65+
tcmalloc=OFF
66+
testing=ON
67+
tmva-gpu=OFF
68+
tmva-cudnn=OFF
69+
tmva-pymva=OFF
70+
tmva-rmva=OFF
71+
tmva-sofie=OFF
72+
unfold=ON
73+
unuran=ON
74+
uring=OFF
75+
vc=OFF
76+
veccore=OFF
77+
vecgeom=OFF
78+
win_broken_tests=OFF
79+
winrtdebug=OFF

.github/workflows/root-ci.yml

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -385,7 +385,7 @@ jobs:
385385
- image: alma10
386386
# Minimal build
387387
- image: alma10
388-
overrides: ["minimal=ON", pythia8=OFF, tmva-sofie=OFF]
388+
minimal: true
389389
- image: ubuntu22
390390
overrides: ["imt=Off", "CMAKE_BUILD_TYPE=Debug"]
391391
- image: ubuntu2404
@@ -434,7 +434,7 @@ jobs:
434434
- ${{ matrix.extra-runs-on == null && 'cpu' || matrix.extra-runs-on }}
435435

436436
name: |
437-
${{ matrix.image }} ${{ matrix.property }}
437+
${{ matrix.image }} ${{ matrix.property }} ${{ matrix.minimal && 'Minimal build' || '' }}
438438
${{ (github.event_name != 'schedule' && github.event_name != 'workflow_dispatch' && join( matrix.overrides, ', ' )) || '' }}
439439
440440
container:
@@ -493,6 +493,19 @@ jobs:
493493
run: 'printf "%s@%s\\n" "$(whoami)" "$(hostname)";
494494
ls -la
495495
'
496+
- name: Apply option minimal request from matrix for this job
497+
if: ${{ matrix.minimal == true }}
498+
env:
499+
GLOBAL_CONFIG_DIR: '.github/workflows/root-ci-config/buildconfig'
500+
CONFIGFILE_STEM: '.github/workflows/root-ci-config/buildconfig/${{ matrix.image }}'
501+
run: |
502+
echo "Applying minimal request options"
503+
# Add commands to apply minimal request options here
504+
set -x
505+
cp "$GLOBAL_CONFIG_DIR/global-minimal.txt" "$GLOBAL_CONFIG_DIR/global.txt"
506+
if [ -f "${CONFIGFILE_STEM}-minimal.txt" ]; then
507+
cp "$GLOBAL_CONFIG_DIR/global-minimal.txt" "${CONFIGFILE_STEM}.txt"
508+
fi
496509
497510
- name: Apply option overrides from matrix for this job for all builds except non-special nightlies and releases
498511
if: ${{ ( github.event_name != 'schedule' || matrix.is_special) && github.event_name != 'workflow_dispatch' && matrix.overrides != NaN }}

0 commit comments

Comments
 (0)