Commit Graph

406 Commits

Author SHA1 Message Date
Gerald Combs 5f0672d749 Add initial Clang-Tidy configuration files and a CI check
Add an initial Clang-Tidy configuration file which checks for recursion
and various clang analyzer issues.

Run Clang-Tidy in the "Clang + Code Checks" merge request job.

Add NOLINT suppressions where needed in wsutil, epan, and lemon.
2024-02-19 19:00:52 -08:00
Gerald Combs d54031eda9 GitLab CI: Add release notes artifacts 2024-02-14 13:19:08 -08:00
Gerald Combs 520fb7848e GitLab CI: Install ruby-dev in the Documentation job 2024-01-12 09:55:03 -08:00
Gerald Combs 40111d9e8f GitLab CI: Generate our release notes 2024-01-03 11:31:41 -08:00
Gerald Combs d9247e7edb GitLab CI: Get our clang version from our container
The ubuntu-dev container saves the current clang/llvm version in
`/clang-latest.env`, so use it.
2023-12-30 17:20:48 -08:00
Gerald Combs 5353057795 GitLab CI: Switch to clang 17 2023-12-13 09:15:28 -08:00
Gerald Combs 9a9b2e114f GitLab CI: Make sure we set the ccache size in our fuzz jobs 2023-12-07 18:18:49 -08:00
John Thacker f6913a9107 GitLab CI: Disable more options in no options build
Disable nghttp3, bcg729, and opus in the No Options build.
Also disable building mmdbresolve, which results in
HAVE_MAXMINDB being undefined.
2023-12-06 13:26:39 +00:00
Gerald Combs a7568772e7 Test: Make sure sampleif.py uses our current Python executable
Make sure sampleif.py uses the same Python executable as our test
environment. Remove a related workaround from our GitLab CI config.
2023-12-03 18:22:49 +00:00
Gerald Combs f93fa9d896 GitLab CI: Use the default / stable macOS image
According to

https://docs.gitlab.com/ee/ci/runners/saas/macos_saas_runner.html

if we don't specify an image we'll run the current stable / Generally
Available image, which is currently macos-13-xcode-14. Using the current
GA image should increase our chances of staying within Homebrew's
support window.

Add a workaround for asdf in the macos-13-xcode-14. Hopefully it won't
require further babysitting.
2023-12-01 09:29:30 -08:00
Balint Reczey 1b4f3f491d debian: Use strict generated shlibs instead of symbols files
Maintaining the symbols file on the master branch requires extra work,
while ABI stability is promised only on release branches

The shlibs system [1] offers a simpler approach. To ensure that only
compatible packages are installed to work together on the system the
dependencies are tightened in debian/rules.

[1] https://www.debian.org/doc//debian-policy/ch-sharedlibs.html#the-shlibs-system
2023-11-23 09:22:11 +00:00
John Thacker 47a4d7f480 GitLab CI: Check help URLs in Commit Check
Make sure help buttons don't reference a help URLs that don't exist.
Do this is Commit Check early on; it's fast and will abort the request.

Fix #17982
2023-11-19 08:38:38 +00:00
Gerald Combs d9bd2d2155 GitLab CI: Don't run Lintian
We generally try to be supportive of downstream OS distributions, but
we're not exclusively a Debian package and enforcing Debian's packaging
policies is outside our scope.
2023-11-18 12:12:08 -08:00
Gerald Combs 7cd82a923c GitLab CI: Copy our Debian packages instead of moving them
...so that lintian can run
2023-11-14 09:16:12 -08:00
Gerald Combs 3ddad3fcae GitLab CI: Run lintian after we've created our artifacts 2023-11-11 10:20:41 -08:00
Gerald Combs 625c1a5ded GitLab CI: Always publish our Debian Stable APT Package artifacts 2023-11-09 09:06:18 -08:00
Gerald Combs 3ab45fe831 GitLab CI: Make our Debian symbols downloadable 2023-11-08 16:27:57 -08:00
Gerald Combs e973c15aaa GitLab CI: Fix the Commit Check job for external projects
Inbound merge requests often run under the contributor's namespace. They
likely won't have a valid GITLAB_TOKEN variable set, so assume that
`glab` can fail.
2023-11-06 13:43:23 -08:00
Gerald Combs 434f378500 GitLab CI: Fix a couple of paths 2023-11-06 13:18:53 -08:00
Gerald Combs 7d0025eaea GitLab CI: Run `tshark --version` in a few places
Run `tshark --version` after building our macOS and Windows packages.
2023-11-06 11:18:52 -08:00
Gerald Combs d661136b77 GitLab CI: Conditionally install the GitLab CLI (glab) 2023-11-05 21:18:05 +00:00
Gerald Combs 9433d37731 GitLab CI: Make sure GITLAB_TOKEN is set in the Commit Check job 2023-11-04 07:46:35 +00:00
Gerald Combs 4035dfa94d GitLab CI: Repository and error handling fixups
Make sure commit checks use the correct repository. Make sure we catch errors
correctly.
2023-11-02 17:30:39 +01:00
Gerald Combs 04335b02d7 GitLab CI: Update some commit check result text 2023-11-02 11:56:54 +00:00
Gerald Combs 14a934fb22 GitLab CI: More rules updates
Tighten up some of our rules and note what triggers each condition.
2023-11-01 21:13:19 +00:00
Gerald Combs 1b634a3a8b GitLab CI: Print more CI variables and update job rules
Try to avoid running jobs in cherry-pick branches.
2023-11-01 20:36:04 +00:00
Gerald Combs 53876ae73b GitLab CI: Show a commit log when we have multiple commits 2023-11-01 15:44:54 +00:00
Gerald Combs fa99fe81cc GitLab CI: Add plumbing for merge request feedback
Install the GitLb CLI in the Commit Check job and add warnings.
2023-11-01 12:44:20 +00:00
Gerald Combs 250474a738 GitLab CI: Fix our Windows release info paths 2023-10-28 18:45:02 +02:00
Gerald Combs ed482b263f GitLab CI: Add Windows package release info 2023-10-28 17:48:35 +02:00
Gerald Combs fa1be49d40 GitLab CI+tools: Switch to a raw version file 2023-10-28 12:27:04 +00:00
Gerald Combs 919eb1c53f GitLab CI+tools: Add version environment files
Add shell environment files to make-version.py and use them in GitLab
CI.
2023-10-28 07:43:29 +00:00
Gerald Combs 061eea1c37 GitLab CI: Use PowerShell's Get-FileHash 2023-10-25 15:13:35 -07:00
Gerald Combs 800831cab2 Fixup vcpkg-export-20231017-1
GLib's debug libraries link against pcre2-8d.lib, which means we have
to as well.

Revert some debugging in GitLab CI.
2023-10-19 18:05:43 -07:00
Gerald Combs 652b6b186f Add vcpkg-export-20231017-1 2023-10-19 20:42:29 +00:00
John Thacker a274d763df GitLab CI: Switch the openSUSE builds to 15.5 2023-10-18 20:59:53 -04:00
Gerald Combs c3fefcc537 GitLab CI: Print our CI variables
Add sections that print our CI variables, which should help with
debugging.
2023-10-18 14:21:41 -07:00
Peter Wu adb4f1d91b CI,Tools: auto-enable Homebrew updates in CI, remove brew doctor
* Show brew and homebrew-core versions to learn about available formula.
* The formula list included with the current macOS image is too old and
  does not have libnghttp3. Enable auto-updates to resolve this, these
  are faster than before: https://brew.sh/2023/02/16/homebrew-4.0.0/
* Disable brew doctor, it breaks CI for non-fatal reasons.
2023-10-16 16:27:14 +00:00
Gerald Combs 669d47119b Tools: Add an install-test-deps option to macos-setup-brew 2023-10-13 13:19:56 -07:00
Gerald Combs 8962b0c46b GitLab CI: Update our Freedesktop metainformation when we build our tarball
Fixes #19382
2023-10-06 20:44:23 +00:00
Gerald Combs 642e77d6f5 CMake: Fix our macOS Intel deployment target 2023-10-03 10:58:43 -07:00
Gerald Combs bd801bf093 GitLab CI: Only run the Windows Qt5 Build job if the UI code changes 2023-10-03 09:41:17 -07:00
Gerald Combs 7db4de58af GitLab CI: Switch the macOS builds to Qt 6.5.3 2023-10-02 14:18:49 -07:00
Gerald Combs 7f8dc702da GitLab CI: Fix a filename 2023-10-02 11:51:14 -07:00
Gerald Combs a89f301313 GitLab CI: macOS signature workflow updates. 2023-10-02 10:56:01 -07:00
Gerald Combs 8c073467d4 GitLab CI: Fix a path 2023-10-01 18:05:00 -07:00
Gerald Combs e05e08e049 GitLab CI: More macOS signature updates 2023-10-01 17:06:03 -07:00
Gerald Combs f3b687aaf2 GitLab CI: Generate Sparkle signatures on macOS
Try with Sparkle 2.2.2 this time.
2023-09-30 14:51:17 -07:00
Gerald Combs 8bd086302f GitLab CI: More macOS updates 2023-09-29 18:51:40 -07:00
Gerald Combs 26fab0dab2 GitLab CI: Fix a couple of paths 2023-09-29 17:53:30 -07:00