Commit graph

71 commits

Author SHA1 Message Date
Ibrahim Zidan
3d3a63914c
Implemented a github action step that pre-compiles all conan
dependencies and caches them for use in later builds, improving build
speed.

Signed-off-by: Ibrahim Zidan <brahem@aotsw.com>
2026-07-21 02:03:50 +03:00
Ibrahim Zidan
f6f35f4652
Update windows github actions and re-enable them
Signed-off-by: Ibrahim Zidan <brahem@aotsw.com>
2026-07-21 02:03:49 +03:00
Ibrahim Zidan
f65333a002
Update the github workflow to work with the hybrid C/C++ build
Signed-off-by: Ibrahim Zidan <brahem@aotsw.com>
2026-07-21 02:03:36 +03:00
Ibrahim Zidan
f443c57734
Added BUILD_PLUGINS and BUILD_HPMHOOKING to control weather to build plugins and hpmhookings or not to compact a quirk in install that requires all targets to be built, by default only plugins will be built and hpmhooking will be off
Signed-off-by: Ibrahim Zidan <brahem@aotsw.com>
2026-06-28 01:25:10 +03:00
Ibrahim Zidan
3d6daf3eb3
Change gcc-snapshot CI build to just current gcc and make it the main sanitizer build as conan doesn't support preview releases
Signed-off-by: Ibrahim Zidan <brahem@aotsw.com>
2026-06-27 22:21:34 +03:00
Ibrahim Zidan
b76190dd9a
Update github actions to work with the new cmake setup
Signed-off-by: Ibrahim Zidan <brahem@aotsw.com>
2026-06-27 22:21:33 +03:00
Ibrahim Zidan
af48cc3aec
Change hercules bot enviroment to ubuntu 24.04
Signed-off-by: Ibrahim Zidan <brahem@aotsw.com>
2026-04-22 03:51:09 +02:00
Ibrahim Zidan
49f3a27261
Change sanatizer in ci builds to only load the library before running the target test and unload it after
Signed-off-by: Ibrahim Zidan <brahem@aotsw.com>
2026-04-22 03:51:08 +02:00
Ibrahim Zidan
678d0393d8
Removal of mysql ci builds as it is moved to best-effort support basis
Signed-off-by: Ibrahim Zidan <brahem@aotsw.com>
2026-04-22 03:51:07 +02:00
Ibrahim Zidan
3e1778e56f
Update code quality analyzer in github actions to version 4
Signed-off-by: Ibrahim Zidan <brahem@aotsw.com>
2026-04-22 03:51:06 +02:00
Ibrahim Zidan
4caecbc4a6
Update actions/checkout in github actions to version 6
Signed-off-by: Ibrahim Zidan <brahem@aotsw.com>
2026-04-22 03:51:06 +02:00
Ibrahim Zidan
a29c4101f7
Change the build step to check for oldest and newest supported compiler versions of gcc/clang on our supported platform
Signed-off-by: Ibrahim Zidan <brahem@aotsw.com>
2026-04-22 03:51:03 +02:00
Ibrahim Zidan
345381d4a1
Temporarily change the testing enviroment to ubuntu 24.04LTS until issues with pcre library is fixed
Signed-off-by: Ibrahim Zidan <brahem@aotsw.com>
2026-04-22 03:51:03 +02:00
Ibrahim Zidan
171c0f7392
Temporary disable latest clang and gcc builds until we fix pcre dependency
Signed-off-by: Ibrahim Zidan <brahem@aotsw.com>
2026-04-22 03:51:02 +02:00
Ibrahim Zidan
3547f8bd51
Change clang15 test to just clang and it will be used instead to test for most newest supported clang version
Signed-off-by: Ibrahim Zidan <brahem@aotsw.com>
2026-04-22 03:51:02 +02:00
Ibrahim Zidan
fb7bf70db7
Removal of old gcc CI builds as we phase out gcc versions on unsupported platforms
Signed-off-by: Ibrahim Zidan <brahem@aotsw.com>
2026-04-22 03:50:48 +02:00
Ibrahim Zidan
9d54dc7d76
Disable of macOS and Windows builds on CI until their native project files are supported again
Signed-off-by: Ibrahim Zidan <brahem@aotsw.com>
2026-04-22 03:49:37 +02:00
Ibrahim Zidan
717453eef8
Merge branch 'rebalance'
Signed-off-by: Ibrahim Zidan <brahem@aotsw.com>
2026-04-22 03:35:47 +02:00
Lorenzo Buitizon
1876561527
Replaced php-sqllint with SQLFluff.
Signed-off-by: Lorenzo Buitizon <the.keikun@gmail.com>
2025-10-02 22:00:46 +08:00
Haru
600e4a773e
Merge branch 'stable' into rebalance
Signed-off-by: Haru <haru@dotalux.com>
2024-12-01 03:00:50 +01:00
Haru
257343fd38
Switch the clang-15 builds to debian:stable since the package was dropped from unstable
Signed-off-by: Haru <haru@dotalux.com>
2024-11-30 23:36:23 +01:00
Haru
22e14804f1 Merge remote-tracking branch 'master' into rebalance 2024-08-31 23:42:55 +00:00
Haru
0a32256946
Drop the CI builds that require Ubuntu 18.04, which has been EoL for several months
The nodejs v20 actions require at least Ubuntu 20.04 to run. Downgrading
to nodejs 16 and extending its agony for a few more months until they
become fully unsupported seems pointless to me.

Signed-off-by: Haru <haru@dotalux.com>
2024-08-31 23:49:47 +02:00
Haru
409dc5fbe2
Reduce the GitHub Actions job timeout from 60 to 30 minutes
The only jobs that take over 30 minutes are usually only the ones that got stuck. This ensures that stuck jobs don't hog the entire CI for too long.

Signed-off-by: Haru <haru@dotalux.com>
2024-08-31 18:49:35 +02:00
Haru
71eeb07dbb
Remove the deprecated packet mysql-connector-c (replaced by mysql-client) in the macos CI builds
This fixes the following deprecation warning in GitHub Actions:

- 'Formula mysql-connector-c was renamed to mysql-client'

Signed-off-by: Haru <haru@dotalux.com>
2024-08-31 18:49:33 +02:00
Haru
d898cb5c22
Switch to codeql-action/init@v3, codeql-action/autobuild@v3, codeql-action/analyze@v3
This fixes the following deprecation warnings in GitHub Actions:

- 'The following actions use a deprecated Node.js version and will be forced to run on node20: github/codeql-action/init@v2, github/codeql-action/autobuild@v2, github/codeql-action/analyze@v2'
- 'CodeQL Action v2 will be deprecated on December 5th, 2024. Please update all occurrences of the CodeQL Action in your workflow files to v3"

Signed-off-by: Haru <haru@dotalux.com>
2024-08-31 18:49:31 +02:00
Haru
3118892647
Switch to actions/checkout@v4
This fixes the following deprecation warning in GitHub Actions:

- 'The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/checkout@v1'

Signed-off-by: Haru <haru@dotalux.com>
2024-08-31 18:49:26 +02:00
Guilherme G. Menaldo
e273be2d24
Make CI use classic autospell list for old clients 2024-06-01 00:59:37 -03:00
Asheraf
ff3f778586
Adding github actions workflows for windows 2024-03-04 22:23:59 +01:00
Asheraf
d3db3f258c
Adding github actions workflows for macos x64 and ARM 2024-02-10 15:37:13 +01:00
Guilherme G. Menaldo
e0de07d062
make pull_requests also use "controller" workflow
for reasons unknown, the controller workflow was only used by pushes,
while all workflows were triggered separately for pull requests.

now both pushes and pull requests follow the same CI flow, with some
specifics for pushes being handled with ifs
2023-10-21 23:10:33 -03:00
Guilherme G. Menaldo
c1ef569863
fix concurrency name of action workflows
- replacing "github.workflow" replacer with a hardcoded name of the flow
  file. "github.workflow" value comes from the caller.

  When controller workflow is the one triggering, all flows will get
  this as "controller" and tests with the same matrix will conflict and
  cancel each other. Hardcoding the flow name allows all of them to run.

- use "_" as separator between matrix values instead of "-" to make it
  easier to read flow ids generated by Actions, since our matrix also
  uses "-" in its values
2023-10-21 23:07:45 -03:00
Guilherme G. Menaldo
0fd50217ae
add concurrency setting for github actions workflows
pushing a new commit in a PR now stops actions from previous commits
of the same PR, allowing CI to stop testing old code and starting the
new one earlier
2023-10-19 00:10:45 -03:00
Guilherme G. Menaldo
39bde24642
fix clang-13 build action
debian:unstable doesn't have clang-13 available for installation, using debian bookworm instead
2023-10-19 00:09:32 -03:00
Guilherme G. Menaldo
7622179c74
add timeout to all actions that runs hercules
sometimes the test execution freezes but doesn't fail.
Those tests usually take 30 minutes in the worst case, so using
a timeout of 1 hour will prevent jobs from staying running for
6 hours until the default timeout stops them.
2023-07-09 20:59:12 -03:00
Guilherme G. Menaldo
caf051e94a
change how mariadb healthcheck is done in actions
the current approach of using mysqladmin ping was failing all the time,
using the healtcheck script contained in the container image should be
enough, since it ensures the instance is reachable

mysql containers still use mysqladmin ping (since healthcheck.sh is not
available for them)
2023-07-09 15:28:12 -03:00
Andrei Karas
fd64e0f09d Add alternative library llhttp for all build jobs in github ci 2023-04-12 02:54:01 +03:00
Andrei Karas
d13b3f3fe2 Skip validate interfaces check in very old gcc, due python 3 issues with unicode chars 2023-04-12 02:54:01 +03:00
Andrei Karas
5fbf7e855e Add check sql upgrades tool 2023-02-25 17:04:35 +03:00
Haru
5c81183afb
Fix missing package php-dom
php-dom is provided by php-xml
2023-01-12 10:40:13 +01:00
Haru
56780d5250
Change the python2 dependency into python3 for ubuntu CI builds
This is for consistency with the debian builds that have already been switched to use python3, since python2 is EOL and is finally disappearing

Signed-off-by: Haru <haru@dotalux.com>
2023-01-12 01:47:26 +01:00
Haru
0a7eee835e
Change the python2 dependency into python3 for debian:unstable CI builds
python2 has been dropped from unstable, and all our scripts should be already compatible with python3

Signed-off-by: Haru <haru@dotalux.com>
2023-01-12 01:47:20 +01:00
Andrei Karas
67adb78fc9 Use gcc-12 in github ci file build.yml 2022-10-31 21:05:17 +03:00
Andrei Karas
c990c3b0eb In github ci use max packet version 20221024 2022-10-31 21:05:17 +03:00
Haru
d070b008c0
Update the hwsapibot generator to handle both the pre-re and re versions of constants.md
Signed-off-by: Haru <haru@dotalux.com>
2022-10-27 19:49:39 +02:00
Haru
ff15e8f7b6
Update CodeQL github workflow following the latest upstream template
This resolves the Node.js 12 deprecation warning by moving to the Node.js 16 actions/checkout@v3

Signed-off-by: Haru <haru@dotalux.com>
2022-10-23 20:22:24 +02:00
Haru
872aebe2d3
Fix HWSAPI run failures caused by a missing XML::Parser perl module
Signed-off-by: Haru <haru@dotalux.com>
2022-08-03 20:51:39 +02:00
Haru
ec6b079cff
Switch the gcc-7 and gcc-8 builds to Ubuntu 20.04
Signed-off-by: Haru <haru@dotalux.com>
2022-08-02 18:36:18 +02:00
Haru
1f6986487e
Fix CI builds that were using Ubuntu 21.10, which is EOL
Signed-off-by: Haru <haru@dotalux.com>
2022-08-02 11:31:45 +02:00
Haru
012d719767
Update GitHub Actions workflow controller
Signed-off-by: Haru <haru@dotalux.com>
2022-06-02 04:49:09 +02:00