Skip to content

Commit c6950a5

Browse files
committed
ascii plugin lowercased , only printing error logs
1 parent b37e836 commit c6950a5

5 files changed

Lines changed: 30 additions & 6 deletions

File tree

.github/workflows/build_gemc_almalinux.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
git config --global --add safe.directory "$GITHUB_WORKSPACE"/src
3131
- name: Build gemc
3232
run: |
33-
./ci/build.sh none
33+
./ci/build.sh
3434
- name: Upload Artifacts
3535
uses: actions/upload-artifact@v4
3636
with:

.github/workflows/build_gemc_fedora.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
git config --global --add safe.directory "$GITHUB_WORKSPACE"/src
3131
- name: Build gemc
3232
run: |
33-
./ci/build.sh none
33+
./ci/build.sh
3434
- name: Upload Artifacts
3535
uses: actions/upload-artifact@v4
3636
with:

.github/workflows/build_gemc_ubuntu.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
git config --global --add safe.directory "$GITHUB_WORKSPACE"/src
3131
- name: Build gemc
3232
run: |
33-
./ci/build.sh none
33+
./ci/build.sh
3434
- name: Upload Artifacts
3535
uses: actions/upload-artifact@v4
3636
with:

api/system_template.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ def write_templates(system, variations):
234234
pj.write(' factory: ascii\n\n')
235235
pj.write('gstreamer:\n')
236236
pj.write(f' - filename: {system}.txt\n')
237-
pj.write(' format: ASCII\n\n')
237+
pj.write(' format: ascii\n\n')
238238

239239
# ask_to_overwrite_file(readme)
240240
with open(f'{readme}', 'w') as rm:

ci/build.sh

Lines changed: 26 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,17 +23,29 @@ setup_log=/root/src/logs/setup.log
2323
compile_log=/root/src/logs/build.log
2424
test_log=/root/src/logs/test.log
2525

26+
touch $setup_log $compile_log $test_log
27+
28+
echo Logs:
29+
30+
ls -l $setup_log
31+
ls -l $compile_log
32+
ls -l $test_log
33+
34+
2635
echo " > Geant-config: $(which geant4-config) : $(geant4-config --version)" > $setup_log
2736
echo " > Root-config: $(which root-config) : $(root-config --version)" >> $setup_log
2837

2938
setup_options=" --native-file=core.ini $meson_option -Dprefix=$GEMC --wipe "
3039

3140
echo " > Running build Configure with setup build options: $setup_options" >> $setup_log
32-
meson setup build $=setup_options
41+
meson setup build $=setup_options >> $setup_log
3342
if [ $? -ne 0 ]; then
3443
echo "Build Configure failed. Log: "
3544
cat $setup_log
3645
exit 1
46+
else
47+
echo Build Configure Successful
48+
echo ; echo
3749
fi
3850

3951
cd build || exit 1
@@ -44,7 +56,12 @@ if [ $? -ne 0 ]; then
4456
echo "Compile failed. Log: "
4557
cat $compile_log
4658
exit 1
59+
else
60+
echo Compile Successful
61+
echo ; echo
4762
fi
63+
64+
4865
echo " > Current directory: $(pwd) content:" >> $compile_log
4966
ls -l >> $compile_log
5067

@@ -54,18 +71,25 @@ if [ $? -ne 0 ]; then
5471
echo "Install failed. Log: "
5572
cat $compile_log
5673
exit 1
74+
else
75+
echo Install Successful
76+
echo ; echo
5777
fi
78+
5879
echo " > $GEMC recursive content:" >> $compile_log
5980
ls -lR $GEMC >> $compile_log
6081

6182
# if $1 is NOT one of sanitize option, run meson test
6283
if [[ $1 != @(address|thread|undefined|memory|leak) ]]; then
6384
echo " > Running meson test" > $test_log
64-
meson test -v -j 1 >> $test_log
85+
meson test -j 1 --print-errorlogs >> $test_log
6586
if [ $? -ne 0 ]; then
6687
echo "Test failed. Log: "
6788
cat $test_log
6889
exit 1
90+
else
91+
echo Install Successful
92+
echo ; echo
6993
fi
7094
fi
7195

0 commit comments

Comments
 (0)