Skip to content

Commit cfd1e0d

Browse files
committed
workflows testing Fedora
1 parent 5b69fea commit cfd1e0d

File tree

4 files changed

+24
-22
lines changed

4 files changed

+24
-22
lines changed

.github/workflows/analyzers.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ jobs:
191191
-S .
192192
-B '${{ env.TinyORMBuildTree }}'
193193
-G Ninja
194-
-D CMAKE_CXX_COMPILER_LAUNCHER:FILEPATH=/usr/local/bin/ccache
194+
-D CMAKE_CXX_COMPILER_LAUNCHER:FILEPATH=ccache
195195
-D CMAKE_CXX_COMPILER:FILEPATH=/usr/bin/clang++-18
196196
-D CMAKE_TOOLCHAIN_FILE:FILEPATH="$VCPKG_INSTALLATION_ROOT/scripts/buildsystems/vcpkg.cmake"
197197
-D CMAKE_DISABLE_PRECOMPILE_HEADERS:BOOL=ON
@@ -226,18 +226,18 @@ jobs:
226226
run: >-
227227
echo 'TINY_CLANG_TIDY_COMPLETED=true' >> $GITHUB_ENV
228228
229-
run-clang-tidy-18
229+
run-clang-tidy
230230
-extra-arg-before='-Qunused-arguments'
231231
-p='${{ env.TinyORMBuildTree }}'
232232
-j ${{ env.TinyParallel }}
233233
'[\\\/]+(?:drivers|examples|orm|src|tests|tom)[\\\/]+.+?[\\\/]+(?!mocs_)[\w\d_\-\+]+\.cpp$'
234234
235-
- name: Clazy-standalone prepare
236-
# Run the clazy if the clang-tidy was executed and was success or failed
237-
if: env.TINY_CLANG_TIDY_COMPLETED == 'true' && (success() || failure())
238-
working-directory: ${{ env.TinyORMPath }}
239-
run: |
240-
chmod +x ./tools/run-clazy-standalone.py
235+
# - name: Clazy-standalone prepare
236+
# # Run the clazy if the clang-tidy was executed and was success or failed
237+
# if: env.TINY_CLANG_TIDY_COMPLETED == 'true' && (success() || failure())
238+
# working-directory: ${{ env.TinyORMPath }}
239+
# run: |
240+
# chmod +x ./tools/run-clazy-standalone.py
241241

242242
# Disabled checks
243243
# Level 2 - qstring-allocations
@@ -264,7 +264,7 @@ jobs:
264264
`# Checks Excluded from level2`\
265265
'no-qstring-allocations'
266266
267-
./tools/run-clazy-standalone.py \
267+
python3 ./tools/run-clazy-standalone.py \
268268
-checks="$checks" \
269269
-extra-arg-before='-Qunused-arguments' \
270270
-header-filter='[\\\/]+(drivers|examples|orm|tests|tom)[\\\/]+.+\.(h|hpp)$' \

.github/workflows/linux-qt6-drivers.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,8 @@ jobs:
4949
- key: clang18
5050
command: clang++-18
5151

52-
- key: gcc13
53-
command: g++-13
52+
- key: gcc14
53+
command: g++-14
5454

5555
include:
5656
- lto: ON
@@ -68,8 +68,8 @@ jobs:
6868
key: release
6969
name: Release
7070
compiler:
71-
key: gcc13
72-
command: g++-13
71+
key: gcc14
72+
command: g++-14
7373

7474
steps:
7575
- uses: actions/checkout@v4
@@ -87,13 +87,13 @@ jobs:
8787
# gh workflow run --ref silverqx-develop
8888
# --
8989
# The description below is Outdated but I leave the comment.
90-
# For gcc13 with the parallel 4 I saw 15.1GB maximum memory usage from 15.6GB and that is
90+
# For gcc14 with the parallel 4 I saw 15.1GB maximum memory usage from 15.6GB and that is
9191
# very close to the edge, so I have to decrease it to 3.
9292
# For clang18 it was ~11.6 from 15.6GB so parallel 8 is ok.
9393
# I must divide all parallel by 2 because I have 2 self-hosted runners on the same computer
9494
# and also -1 for reserve to avoid swapping, so for clang: 8 / 2 - 1 = 3 and for gcc:
9595
# 3 / 2 - 1 = 1.
96-
parallel=${{ matrix.compiler.key == 'gcc13' && '3' || '8' }}
96+
parallel=${{ matrix.compiler.key == 'gcc14' && '3' || '8' }}
9797
echo "TinyParallel=$parallel" >> $GITHUB_ENV
9898
9999
tinyormPath=$(realpath ./main)
@@ -224,7 +224,7 @@ jobs:
224224
-S .
225225
-B '${{ env.TinyORMBuildTree }}'
226226
-G Ninja
227-
-D CMAKE_CXX_COMPILER_LAUNCHER:FILEPATH=/usr/local/bin/ccache
227+
-D CMAKE_CXX_COMPILER_LAUNCHER:FILEPATH=ccache
228228
-D CMAKE_CXX_COMPILER:FILEPATH='/usr/bin/${{ matrix.compiler.command }}'
229229
-D CMAKE_TOOLCHAIN_FILE:FILEPATH="$VCPKG_INSTALLATION_ROOT/scripts/buildsystems/vcpkg.cmake"
230230
-D CMAKE_DISABLE_PRECOMPILE_HEADERS:BOOL=ON
@@ -320,7 +320,7 @@ jobs:
320320
# the reason for this is to always have the latest tom_testdata and to avoid manual rebuilds if
321321
# any shared library is updated on which the tom_testdata depends to avoid crashes.
322322
- name: Install tom_testdata for vcpkg-linux-drivers.yml
323-
if: matrix.compiler.key == 'gcc13' && matrix.drivers-type == 'Static' && matrix.build-type.key == 'release'
323+
if: matrix.compiler.key == 'gcc14' && matrix.drivers-type == 'Static' && matrix.build-type.key == 'release'
324324
working-directory: ${{ env.TinyORMBuildTree }}/tests/testdata_tom
325325
run: |
326326
cp --force --target-directory="$(realpath ~/bin)" ./tom_testdata

.github/workflows/vcpkg-linux-drivers.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,9 @@ jobs:
183183
- name: vcpkg install libmysql (classic mode)
184184
if: matrix.build-type.key == 'debug'
185185
run: |
186-
vcpkg install libmysql
186+
# Temp. GCC14 workaround
187+
CFLAGS="-Wno-implicit-function-declaration -Wno-int-conversion" vcpkg install libmysql
188+
# vcpkg install libmysql
187189
188190
- name: vcpkg install ${{ matrix.qt.vcpkg-qt }} (classic mode)
189191
if: matrix.build-type.key == 'debug'
@@ -340,7 +342,7 @@ jobs:
340342
-S .
341343
-B '${{ runner.workspace }}/TinyORM-builds-cmake/build-TinyDrivers-manual-gcc-${{ matrix.build-type.key }}'
342344
-G Ninja
343-
-D CMAKE_CXX_COMPILER_LAUNCHER:FILEPATH=/usr/local/bin/ccache
345+
-D CMAKE_CXX_COMPILER_LAUNCHER:FILEPATH=ccache
344346
-D CMAKE_TOOLCHAIN_FILE:FILEPATH="$VCPKG_INSTALLATION_ROOT/scripts/buildsystems/vcpkg.cmake"
345347
-D CMAKE_DISABLE_PRECOMPILE_HEADERS:BOOL=OFF
346348
-D CMAKE_BUILD_TYPE:STRING=${{ matrix.build-type.name }}
@@ -455,7 +457,7 @@ jobs:
455457
-S .
456458
-B '${{ runner.workspace }}/HelloWorld-builds-cmake/build-TinyDrivers-fetchcontent-gcc-${{ matrix.build-type.key }}'
457459
-G Ninja
458-
-D CMAKE_CXX_COMPILER_LAUNCHER:FILEPATH=/usr/local/bin/ccache
460+
-D CMAKE_CXX_COMPILER_LAUNCHER:FILEPATH=ccache
459461
-D CMAKE_TOOLCHAIN_FILE:FILEPATH="$VCPKG_INSTALLATION_ROOT/scripts/buildsystems/vcpkg.cmake"
460462
-D CMAKE_DISABLE_PRECOMPILE_HEADERS:BOOL=OFF
461463
-D CMAKE_BUILD_TYPE:STRING=${{ matrix.build-type.name }}

.github/workflows/vcpkg-linux.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -455,7 +455,7 @@ jobs:
455455
-S .
456456
-B '${{ runner.workspace }}/TinyORM-builds-cmake/build-manual-gcc-${{ matrix.build-type.key }}'
457457
-G Ninja
458-
-D CMAKE_CXX_COMPILER_LAUNCHER:FILEPATH=/usr/local/bin/ccache
458+
-D CMAKE_CXX_COMPILER_LAUNCHER:FILEPATH=ccache
459459
-D CMAKE_TOOLCHAIN_FILE:FILEPATH="$VCPKG_INSTALLATION_ROOT/scripts/buildsystems/vcpkg.cmake"
460460
-D CMAKE_DISABLE_PRECOMPILE_HEADERS:BOOL=OFF
461461
-D CMAKE_BUILD_TYPE:STRING=${{ matrix.build-type.name }}
@@ -559,7 +559,7 @@ jobs:
559559
-S .
560560
-B '${{ runner.workspace }}/HelloWorld-builds-cmake/build-fetchcontent-gcc-${{ matrix.build-type.key }}'
561561
-G Ninja
562-
-D CMAKE_CXX_COMPILER_LAUNCHER:FILEPATH=/usr/local/bin/ccache
562+
-D CMAKE_CXX_COMPILER_LAUNCHER:FILEPATH=ccache
563563
-D CMAKE_TOOLCHAIN_FILE:FILEPATH="$VCPKG_INSTALLATION_ROOT/scripts/buildsystems/vcpkg.cmake"
564564
-D CMAKE_DISABLE_PRECOMPILE_HEADERS:BOOL=OFF
565565
-D CMAKE_BUILD_TYPE:STRING=${{ matrix.build-type.name }}

0 commit comments

Comments
 (0)