Commit Graph

406 Commits

Author SHA1 Message Date
João Valverde 5ea8c80b9c Gitlab CI: Remove redundant NSIS code signing step 2023-06-05 10:29:26 +00:00
João Valverde 6aa0490fdc CMake+NSIS: Allow building an unsigned installer 2023-06-05 10:59:11 +01:00
João Valverde 48384dba68 Gitlab CI: Use ccache with Fedora MinGW job 2023-05-30 17:33:43 +00:00
João Valverde 1910d4fe95 Gitlab CI: Add Fedora MinGW-w64 job 2023-05-30 13:17:29 +00:00
Gerald Combs c4f242e6ac Revert "Revert "GitLab CI: Update the GitLab macOS runner info""
https://gitlab.com/gitlab-org/ci-cd/shared-runners/infrastructure/-/issues/79
should be fixed, so reenable the new macOS runners.

This reverts commit 6653a0e6ef.
2023-05-25 16:49:58 +00:00
John Thacker d6d34fc60d GitLab CI: Check the ASN.1 dissectors consistency
Regenerate the ASN.1 dissectors in the Code Checks job, and fail
if any tracked files have changes after doing so.

This should make it impossible to commit changed to ASN.1 dissectors
without corresponding changes to the templates and conformance files,
and vice versa. (Perhaps the generated files shouldn't even be in git.)
2023-05-25 16:36:03 +00:00
Gerald Combs 2e502cbf70 GitLab CI+Docbook: More win64 → x64 updates 2023-05-24 16:10:11 +00:00
Gerald Combs c845aa15fe GitLab CI: Update our Windows package names
Update our file globs to match fb1b022922.
2023-05-23 20:56:02 +00:00
Gerald Combs fb1b022922 Packaging: Change our Windows installer filename format
Switch to Wireshark-<version>-{x64,arm64}.{exe,msi}.
2023-05-23 20:05:39 +00:00
Gerald Combs c76ec1eeeb GitLab CI: Fix our pre-commit check
Use $CI_COMMIT_SHA instead of HEAD.
2023-05-19 00:07:14 +00:00
Gerald Combs 6653a0e6ef Revert "GitLab CI: Update the GitLab macOS runner info"
Temporarily switch back to the old runners until
https://gitlab.com/gitlab-org/gitlab/-/issues/412138 is cleared up.

This reverts commit 9a37a12a67.

[skip ci]
2023-05-18 15:40:44 -07:00
Gerald Combs 908af7f538 GitLab CI: Remove remaining 'when:always'es
They're not needed in our case.
2023-05-18 02:25:04 +00:00
Gerald Combs 4e57e6f72e GitLab CI: Start removing when:always
We use "when: always" in a lot of places where we should probably just
use the default "when: on_success".
2023-05-17 10:26:44 -07:00
Gerald Combs 9a37a12a67 GitLab CI: Update the GitLab macOS runner info
The runner tag and VM image names for GitLab's macOS runners recently
changed. Update our config to match

https://docs.gitlab.com/ee/ci/runners/saas/macos/environment.html
2023-05-17 09:17:24 -07:00
Gerald Combs 0694144dd5 GitLab CI: Try to keep the Documentation job from blocking
As https://docs.gitlab.com/ee/ci/yaml/index.html#allow_failure says:

"The default value for allow_failure is:

- true for manual jobs.
- false for jobs that use when: manual inside rules.
- false in all other cases."

Set "allow_failure: true" for the Documentation job.

[skip ci]
2023-05-16 11:18:39 -07:00
Gerald Combs dddae82883 GitLab CI: Tweak our documentation rules
Remove an apparently-unneeded "when: always"

[skip ci]
2023-05-15 11:55:25 -07:00
Gerald Combs ec9736456e GitLab CI: Allow the docs to be built manually
[skip ci]
2023-05-14 16:16:44 -07:00
João Valverde f660af095a Gitlab CI: Fix a python path 2023-05-12 13:35:28 +01:00
João Valverde 33efc751e9 Gitlab CI: Call pytest directly
Running CTest currently gives no indication of which test failed.
Run pytest directly instead to have usable output on failure.
2023-05-12 11:01:04 +01:00
João Valverde 48656ba262 CI: Remove obsolete CMake option ENABLE_CARES 2023-05-08 21:07:49 +00:00
Martin Mathieson 4056799e83 Call check_val_to_str.py in 'Clang + Code Checks' pipeline 2023-05-05 14:19:46 +01:00
Gerald Combs fe4498281f GitLab CI: Force the installation of llvm-15
A bug fix for the jammy-updates LLVM packages broke compatibility with
the LLVM upstream packages:

https://bugs.launchpad.net/ubuntu/+source/llvm-toolchain-15/+bug/2008755

Try to work around the issue by installing llvm-15 with the
--force-overwrite option.
2023-04-13 19:41:35 +00:00
João Valverde 551bfdbc78 Gitlab CI: Make critical log messages fatal
Critical messages indicate programming errors. Make them fatal
in our CI fuzz test jobs so they can be detected and fixed.
2023-04-10 21:02:42 +00:00
Gerald Combs 79b3bdf841 GitLab CI: Move Valgrind fuzzing to its own resource group 2023-03-29 11:07:56 -07:00
Gerald Combs 0a558f9143 GitLab CI: Adjust our fuzz run time
[skip ci]
2023-03-10 10:07:10 -08:00
Gerald Combs a3232592b0 GitLab CI: Run our macOS tests in parallel. 2023-02-03 23:55:57 +00:00
Gerald Combs c237cfb76b GitLab CI: macOS MR builds are wireshark/wireshark only for now
Access to macOS SaaS builders are limited to beta program participants.
2023-02-03 19:24:41 +00:00
Gerald Combs 1bcc5d097d GitLab CI: Add a macOS merge request build.
Add an initial "macOS Build" job that uses GitLab's macOS beta.
https://about.gitlab.com/blog/2021/08/23/build-cloud-for-macos-beta/

Add command line options to macos-setup-brew.sh and use it to install
our packages.

Skip running tests for now.
2023-02-02 23:13:29 +00:00
John Thacker b71d87ed27 Gitlab CI: Switch to the OpenSUSE 15.4 container
15.3 has reached EOL: https://en.opensuse.org/Lifetime
2023-01-22 22:59:13 +00:00
João Valverde 006f10f108 Gitlab CI: Enable -Werror with Clang builds
Enable -Werror so Clang specific warnings will trigger a build
error and can't be checked-in.

This requires disabling "extra" warnings.

Add explicit ENABLE_WERROR=ON options instead of relying on defaults.
2022-11-17 11:31:30 +00:00
João Valverde e1d492e2e0 CMake: Do not disable -Werror with "extra compiler warnings"
Give the ENABLE_WERROR option full control of -Werror. Silently
overriding the user configuration is potentially confusing and
unnecessary.
2022-11-17 11:22:57 +00:00
Gerald Combs b2d3f8dc31 GitLab CI: Update our schedule rules.
Note that we have a "weekly" schedule and add an unused weekly rule
stanza.
2022-11-16 17:15:30 +00:00
João Valverde 795e318739 Gitlab CI: Add build with -Werror enabled
Currently we don't have any build with -Werror because of
widespread use of ENABLE_EXTRA_COMPILER_WARNINGS CMake option,
that automatically disables -Werror. That's bad because it allows
code with warnings to pass the CI jobs and be checked in, which is
something we want to avoid.

Configure the GCC build to not use ENABLE_EXTRA_COMPILER_WARNINGS.
2022-11-11 14:24:54 +00:00
João Valverde 1ed750dd94 CMake + Gitlab CI: Allow fuzz jobs to pass with warnings
Allow fuzz jobs to pass with warnings because catching warnings is
not their purpose.

Remove -Werror=unused-but-set-variable that was added in
85357ae721 as a work-around to the fact that -Werror is not
enabled as a side-effect of ENABLE_EXTRA_COMPILER_WARNINGS.

Allow users to control -Werror. For example the MSYS2 build
has many warnings, this policy of adding -Werror= breaks that
build.
2022-11-11 14:20:28 +00:00
Gerald Combs 0928a25d1f GitLab CI: Switch to clang 15. 2022-11-06 10:33:09 -08:00
Alexis La Goutte 3f194ad187 gitlab-ci: move check tfs and typed_item_call to end of test
it will be more easy to see on the log
2022-10-28 18:09:38 +00:00
Gerald Combs 23f206c8b8 GitLab CI: Build RPMs in parallel.
Our RPM spec runs `cmake --build ... -j1` on Fedora and Rocky. Set
RPM_BUILD_NCPUS, which increases the `-j` value so that ninja can make
full use of the system.

[skip ci]
2022-10-25 19:35:43 +00:00
Alexis Gryta ce2b9a046a .gitlab-ci's variables: as string 2022-10-24 18:14:26 +00:00
Gerald Combs 8514eb0e21 GitLab CI: Remove the "Latest Clang" job.
It was a subset of the "Code Checks + Clang Warnings" job.

[skip ci]
2022-10-21 13:10:23 -07:00
Gerald Combs 197e645f6a GitLab CI: Switch the RPM test jobs to the 2x-daily schedule.
[skip ci]
2022-10-21 11:42:41 -07:00
Gerald Combs 83d5533711 GitLab CI: Switch our Linux packages to a twice daily schedule.
The RPM packages use a versioned build directory, which creates problems
for ccache. The APT packages simply take a long time to build. Switch
both to a twice-daily schedule so that we don't set fire to CI minutes
in parallel with every merge.

Back out a recent CMake change since it's no longer needed.
2022-10-21 11:15:22 -07:00
Gerald Combs 139e46898d CMake+GitLab CI: Add and use RPMBUILD_EXTRA_ARGS.
Add an RPMBUILD_EXTRA_ARGS variable to CMakeLists.txt and use it in
GitLab CI to define __cmake_builddir. This should let ccache work with
our RPM builds.
2022-10-20 21:53:37 -07:00
Gerald Combs 31ee273517 GitLab CI: Try to get ccache working for RPM builds. 2022-10-20 17:51:16 -07:00
Gerald Combs 6d79c8c1f6 GitLab CI: Don't set absolute_paths_in_stderr.
It's not supported by openSUSE's ccache.
2022-10-20 21:48:36 +00:00
Gerald Combs a30774d8c1 GitLab CI: Set ccache's base_dir for RPM builds.
GitLab CI builds RPMs in a different directory for each pipeline
($CI_PROJECT_DIR/build/packaging/rpm/BUILD/wireshark-<version>), so set
base_dir to the build directory and enable absolute_paths_in_stderr.

Fix our cache directory max sizes as well.
2022-10-20 13:49:40 -07:00
Gerald Combs 912f7122f9 GitLab CI: Check our commit before building MR jobs.
Make sure the Commit Check job passes before spending additional
resources.
2022-10-20 18:29:43 +00:00
Gerald Combs 9270731976 GitLab CI: Enable ccache for our RPM package jobs. 2022-10-20 15:43:57 +00:00
João Valverde d9fbde7cc7 Debian: Ignore symbol changes on the master branch
Fixes #18404.
2022-10-10 08:14:46 +00:00
João Valverde 287170eabd Gitlab CI: Add test for Release build
Release build increases optimization level (throws new warnings) and
disables assertions and debug code (catch unused variables, etc.).
2022-10-05 10:48:39 +00:00
Gerald Combs b54219f7ad GitLab CI: Update our digest algorithms.
OpenSSL 3 deprecated RIPEMD160. Remove it from our list of digest
algorithms and add SHA512.
2022-09-07 10:37:35 -07:00
Gerald Combs 6a5a4cfcfb GitLab CI: APT package updates.
Don't pass "-Zgzip" to dpkg-buildpackage on Ubuntu. Newer versions
default to zstd. Pass "-zfast" to dpkg-buildpackage on Debian and use
ccache.
2022-09-06 15:29:34 -07:00
João Valverde 67ceab96c8 Gitlab CI: Use Qt6 with Ubuntu builds
Our ubuntu container has Qt6 so use the default Qt version.

The APT packages are still using Qt5 at the moment. We may want to
migrate those to Qt6 in the future and choose a single Linux build
using Qt5.
2022-08-25 21:55:46 +01:00
João Valverde 8e77b5c499 Gitlab CI: Build Fedora RPM job using Qt6 2022-08-25 08:26:32 +00:00
João Valverde 1f3876f48b Gitlab CI: Clean up formatting 2022-08-25 08:26:32 +00:00
João Valverde 1b210202a5 Gitlab CI: TShark build jobs don't need USE_qt6 2022-08-23 18:43:07 +00:00
João Valverde a27ecac02a Gitlab CI: Use DWARF-4 with Valgrind Fuzz job
Valgrind does not support Clang 14 + DWARF-5.

Ping #18191.
2022-08-23 16:09:23 +00:00
João Valverde 6297831fb9 Gitlab CI: Add another USE_qt6=OFF option.
[skip ci]
2022-08-23 09:51:59 +01:00
João Valverde 9aa8331467 Gitlab CI: Fix ubuntu/rpm builds using Qt5 2022-08-23 08:52:20 +01:00
João Valverde 2155a725e1 Gitlab-CI: Disable Qt6 for Windows Qt5 build 2022-08-22 10:17:24 +01:00
João Valverde b33210750c CMake+etc: Enable Qt6 by default for Unix builds
Linux builds were left behind on the Qt transition, presumably because
our Ubuntu CI image does not support Qt6.

Enable Qt6 by default and explicitly disable it for slower or more
conservative Linux distros.

Drop experimental status for Qt6, because we are using it to build
official Windows and macOS releases.
2022-08-22 09:08:06 +00:00
Gerald Combs b51a66f4f1 GitLab CI: Fix our macOS Intel deployment target. 2022-08-17 22:53:58 +00:00
Gerald Combs e555b458de GitLab CI: Enable Qt6 for the macOS builds. 2022-08-17 13:33:55 -07:00
Gerald Combs 9445bda1d8 GitLab CI: Switch the macOS builds to Qt 6.2.4. 2022-08-17 18:46:09 +00:00
Gerald Combs 25bb87a781 GitLab CI: BUILD_logwolf → BUILD_logray. 2022-08-11 17:56:28 -07:00
Gerald Combs babb059f21 GitLab CI: Disable tests in the Debian package job. 2022-07-25 11:12:15 -07:00
Gerald Combs fa9703cb27 GitLab CI: Rocky 9 fixups.
The Ninja command is available as "ninja", so use that.

[skip ci]
2022-07-24 13:49:45 -07:00
Gerald Combs 34d30922eb GitLab CI: Switch to Rocky Linux 9.
Rocky Linux 9 includes a supported version of c-ares.
2022-07-23 17:02:48 -07:00
Balint Reczey 924076ed29 GitLab CI: Fix format of DEB_BUILD_OPTIONS passed to the Ubuntu build 2022-07-21 18:03:56 +00:00
Gerald Combs b91079d3a6 GitLab CI: Fixup our make-version calls.
Call make-version.py on Windows using py.exe. Call it directly on other
platforms.
2022-07-11 17:33:08 -05:00
Moshe Kaplan 87ca8c227a tools: Port make-version.pl to Python 2022-07-11 14:44:23 +00:00
Gerald Combs 022ebb106a GitLab CI: Fix our documentation globs
The correct glob pattern for a directory and its subdirectories is
"**/*". Use that in the change rules for the Documentation job.
2022-06-15 10:26:36 -07:00
Gerald Combs bbe6ab6316 CMake: Update WiX and PortableApps target names.
Rename the wix_package target to wireshark_wix and the
portableapps_package target to wireshark_portableapps.
2022-06-08 18:12:46 +00:00
Gerald Combs de1a4c3774 CMake: Update package target names.
Rename the rpm-package target to wireshark_rpm and the appimage target
to wireshark_appimage.
2022-06-08 17:56:21 +00:00
João Valverde c0bd7266ad Gitlab-CI: Add tfshark to code check job
Building tfshark is disabled by default in CMake options.

The tfshark code should be continuously tested or removed from the
main repo. It should not be allowed to exist in a broken state.

Add it to the code check job to make sure that it at least compiles.
2022-06-05 19:47:10 +00:00
Gerald Combs 056fd8a1e3 NSIS: Update some target and filenames.
Rename the following build targets, similar to the recent macOS target
name changes:

nsis_package_prep to wireshark_nsis_prep
nsis_package to wireshark_nsis

Rename some NSIS files to reflect that they're specific to Wireshark.
Update the documentation and CI configurations.
2022-06-02 16:33:31 -07:00
Gerald Combs 370c58f913 macOS: Add Logwolf packaging targets.
Rename the following build targets:

app_bundle to wireshark_app_bundle
dmg_package_prep to wireshark_dmg_prep
dmg_package to wireshark_dmg

Add logwolf_app_bundle, logwolf_dmg_prep, and logwolf_dmg targets and
packaging assets. Update the documentation.

We need to add a set of Logwolf version variables to CMake and
make-version.pl. Add a static logwolf-version attribute to
attributes.adoc in the mean time.
2022-05-26 20:29:20 +00:00
Gerald Combs f238dec118 GitLab CI: Switch the Windows packages to Qt 6.2.3.
Qt 6.2.4 has a serious display enumeration bug on Windows (QTBUG-101203).
Switch to 6.2.3.

Fixes #18091.
2022-05-16 09:44:02 -07:00
Martin Mathieson ca5b095b38 .gitlab-ci.yml: more checks from tools/check_typed_item_calls.py 2022-05-04 09:36:19 +00:00
Gerald Combs 925daf665c GitLab CI: Switch back to Clang 14. 2022-05-02 13:57:12 -07:00
Gerald Combs 7bccf9e2aa GitLab CI: Revert back to Clang 12.
Revert commits bc29ce61d5 and
3dd5ccbe7d in case Clang 14 is causing our
recent fuzz failures. Ping #18045.
2022-04-29 15:54:13 -07:00
Moshe Kaplan 7e04ea3202 .gitlab-ci.yml: Disable security-code-scan
Disable security-code-scan, a .NET scanner which
is not applicable to Wireshark.
2022-04-28 13:34:00 +00:00
Moshe Kaplan c3249701b5 .gitlab-ci.yml: Disable semgrep
Disable semgrep SAST scanner because it cannot properly
handle macros used in Wireshark dissectors and other code.
2022-04-27 00:26:18 +00:00
Gerald Combs 3dd5ccbe7d GitLab CI: Build the fuzz and "No Options" job without mmdbresolve.
Recent fuzz jobs are timing out, and it appears to be related to
mmdbresolve. Disable it, at least for now. Ping #18045.
2022-04-24 17:19:35 -07:00
Gerald Combs b491d28c42 GitLab CI+release notes: Remove 32-bit Windows.
Note that we no longer ship 32-bit Windows packages in the release
notes.

Remove our 32-bit Windows and CentOS 7 jobs.
2022-04-20 19:26:13 +00:00
Moshe Kaplan 8d6fbafe05 gitlab-ci: Add SAST 2022-04-19 12:52:05 +00:00
Gerald Combs bc29ce61d5 GitLab CI: Switch to clang 14. 2022-04-17 18:26:37 +00:00
Gerald Combs 37ccc2b0e5 GitLab CI: Build Logwolf in the Code Checks + Clang Warnings job. 2022-04-07 23:46:20 +00:00
Gerald Combs 629fc46ea1 GitLab CI: Add a Windows Qt5 MR job.
Add a "Windows Qt5 Build" job that builds the qtui target with Qt 5.
2022-03-27 14:19:53 +00:00
Gerald Combs 1d65574fc8 GitLab CI: Switch the 64-bit Windows builds to Qt 6. 2022-03-25 13:50:18 -07:00
Gerald Combs e39b9a2f80 CMake: Disable fuzzshark by default.
Most people don't use fuzzshark, so don't waste compute resources
building it. OSS-Fuzz has been updated to always build fuzzshark in
https://github.com/google/oss-fuzz/pull/7373
2022-03-11 17:35:49 +00:00
Gerald Combs c4f60981c1 GitLab CI: Copy our macOS dSYM .dmgs. 2022-03-05 17:04:36 -08:00
Gerald Combs 2ebefa4cc1 GitLab CI: Try to fix macOS Arm builds.
Don't specify CMAKE_OSX_SYSROOT, for now at least.
2022-02-22 15:52:33 -08:00
Gerald Combs 91f588ea6f GitLab CI: Remove `arch` commands.
GitLab Runner 14.8 added a native Arm binary for macOS. It's been
installed on our build machine, so the `arch` calls in the "macOS Arm
Package" job are no longer needed.
2022-02-22 14:10:30 -08:00
Gerald Combs 79da670bd1 Packaging+GitLab CI: Move debian to the packaging directory.
We keep our various packaging assets in the "packaging" directory. Move
the Debian assets there. dpkg-buildpackage doesn't seem appear to have a
"debian directory path" option, but symlinking worked in my test
container.
2022-02-13 13:21:58 -08:00
John Thacker 0729f96fdd GitLab CI: Fix Commit Check gitrevision for multiple commits
commit^N means the Nth parent of a commit object (after a merge,
for example.) It is not the same as the Nth generation ancestor
(following only the first parents), which is commit~N, or
alternatively commit^^^^^ (N times), or even commit^1^1^1....
(See 'man gitrevisions' for details.)
When the number of commits is N, we want the Nth generation ancestor.

Fixes error messages like:
fatal: ambiguous argument 'HEAD^3': unknown revision or path not
in the working tree.
2022-01-19 18:06:56 +00:00
Gerald Combs 5f19c5b6ef GitLab CI: Migrate to Visual Studio 2022.
Migrate the Windows builds to Visual Studio 2022.
2022-01-15 16:40:07 -08:00
Gerald Combs 947d80c477 GitLab CI: Swap the Ubuntu package and latest Clang builds.
The Ubuntu APT Package job takes a long time to run. Do so after merging
and add a package test job, similar to the other Linux package builds.
The Latest Clang job has been detecting errors that also affect macOS.
Run it for merge requests. Fix Ubuntu build caching.
2022-01-07 03:32:26 +00:00
Gerald Combs 734d8cfbee GitLab CI: Update a couple of RPM builds.
Switch from Centos 8 to Rocky Linux 8 and switch from openSUSE 15.2 to
15.3. Alphabetize our Linux jobs.
2022-01-06 04:18:44 +00:00
João Valverde 119473eab3 CMake: Use more consistent naming for options
Having some options use DISABLE_ and others ENABLE_ is inconsistent
and difficult to remember. Use ENABLE_ instead consistently.

Frame-larger-than remains an exception.
2022-01-03 15:55:06 +00:00
Dario Lombardo 1abc6bd3b1 ci: run checks on all the commits in the current MR.
Fix: #16813.
2021-12-29 22:11:48 +00:00
Gerald Combs 044c3a594b GitLab CI: Stop building 32-bit Windows Installer (.msi) packages.
The 32-bit Windows Installer / WiX / .msi packages make up a tiny
percentage of our downloads, and they take a non-trivial amount of time
to create. Stop building them. Ping #17779.
2021-12-29 18:19:11 +00:00
Gerald Combs a11f105e44 GitLab CI: Simplify our Windows paths.
CMake's FindPerl module and our FindNSIS and FindWiX modules can find
perl, makensis, and the various WiX utilities in their default locations
so we don't need to prepopulate our PATH.

Update FindWiX to look for version 3.11.
2021-12-22 20:33:29 +00:00
Gerald Combs c9715e5ab5 GitLab CI: Switch the Windows MR job back to vanilla CMake.
After switching to Visual Studio's CMake the Windows MR builds started
failing with

    C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(241,5): error MSB8066: Custom build for 'C:\builds\wireshark\wireshark\build\CMakeFiles\7345cb0fc1b52560d4d2bd48e83ff433\wireshark_de.qm.rule;C:\builds\wireshark\wireshark\build\CMakeFiles\7345cb0fc1b52560d4d2bd48e83ff433\wireshark_en.qm.rule;C:\builds\wireshark\wireshark\build\CMakeFiles\7345cb0fc1b52560d4d2bd48e83ff433\wireshark_es.qm.rule;C:\builds\wireshark\wireshark\build\CMakeFiles\7345cb0fc1b52560d4d2bd48e83ff433\wireshark_fr.qm.rule;C:\builds\wireshark\wireshark\build\CMakeFiles\7345cb0fc1b52560d4d2bd48e83ff433\wireshark_it.qm.rule;C:\builds\wireshark\wireshark\build\CMakeFiles\7345cb0fc1b52560d4d2bd48e83ff433\wireshark_ja_JP.qm.rule;C:\builds\wireshark\wireshark\build\CMakeFiles\7345cb0fc1b52560d4d2bd48e83ff433\wireshark_pl.qm.rule;C:\builds\wireshark\wireshark\build\CMakeFiles\7345cb0fc1b52560d4d2bd48e83ff433\wireshark_ru.qm.rule;C:\builds\wireshark\wireshark\build\CMakeFiles\7345cb0fc1b52560d4d2bd48e83ff433\wireshark_sv.qm.rule;C:\builds\wireshark\wireshark\build\CMakeFiles\7345cb0fc1b52560d4d2bd48e83ff433\wireshark_tr_TR.qm.rule;C:\builds\wireshark\wireshark\build\CMakeFiles\7345cb0fc1b52560d4d2bd48e83ff433\wireshark_uk.qm.rule;C:\builds\wireshark\wireshark\build\CMakeFiles\7345cb0fc1b52560d4d2bd48e83ff433\wireshark_zh_CN.qm.rule;C:\builds\wireshark\wireshark\build\CMakeFiles\9829b32238fa3bcc807b02099e4c1642\qtui_autogen.rule' exited with code -1073741819. [C:\builds\wireshark\wireshark\build\ui\qt\qtui_autogen.vcxproj]

This appears to be caused by
https://gitlab.kitware.com/cmake/cmake/-/issues/22014 which should be
fixed in recent versions of the official CMake distribution.
2021-12-18 21:47:43 +00:00
Gerald Combs 271ab568b0 GitLab CI: Enable ccache in the "No options" job. 2021-12-17 18:53:53 +00:00
Gerald Combs f877e26b31 GitLab CI: Add back a missing variable. 2021-12-17 08:49:02 -08:00
Gerald Combs 07c4059277 GitLab CI+Qt+Docs: CMAKE_PREFIX_PATH updates.
Qt's documentation recommends using CMAKE_PREFIX_PATH to designate your
Qt installation prefix: https://doc.qt.io/qt-5/cmake-get-started.html.
Do so in GitLab's CI and update the Developer's Guide.
2021-12-16 18:47:18 -08:00
Gerald Combs 7d88f1e2b1 GitLab CI: More Windows environment updates.
Use Visual Studio's CMake in the MR build. Use CMAKE_PREFIX_PATH as
recommended by https://doc.qt.io/qt-5/cmake-get-started.html
2021-12-16 17:00:02 -08:00
Gerald Combs 476bf62494 GitLab CI: Remove a no-longer-needed build.
Remove the -DENABLE_PCAP=OFF build from the "macOS Arm Package" job.
It's no longer needed since we now have a "No options" job.
2021-12-16 22:51:47 +00:00
Dario Lombardo 1f7c4eff30
ci: add no options job.
Fix: #17786.
2021-12-16 22:54:21 +01:00
Gerald Combs 606bc27777 GitLab CI: Update our Windows environments.
Use Visual Studio's CMake where we can.
2021-12-15 18:51:20 -08:00
Gerald Combs b62197c283 CMake+GitLab CI: Reduce verbosity.
For various commands, make sure we show warnings and errors, but not
other extraneous information such as filenames.
2021-12-11 13:57:29 -08:00
Gerald Combs 7736e69b57 GitLab CI: Simplify some checks.
Assume that we have sufficient AWS credentials if our S3 destination
environment variable is set.
2021-12-11 09:33:52 -08:00
Gerald Combs 5005a696e4 GitLab CI: Bump our minimum macOS Intel version. 2021-11-15 15:59:51 -08:00
Gerald Combs 4105d78681 GitLab CI: Switch the macOS Intel build to Qt 5.15.3. 2021-11-15 15:31:52 -08:00
Gerald Combs 24b8942a90 GitLab CI+tools: Fuzz test updates.
Make sure we install the llvm package, which includes llvm-symbolizer.
Add the current branch and CI job information to the error report.
2021-10-28 11:20:25 -07:00
Gerald Combs fef8082364 GitLab CI: Move the Lintian check.
Move the Lintian check from the Ubuntu .dpkg job to the Debian package
job. This should reduce the time it takes to build merge request
pipelines a little bit.
2021-10-25 04:10:29 +00:00
Gerald Combs f2ec793131 Revert "GitLab CI: Switch to clang 13."
This reverts commit 0aae44e145.

The fuzz builder has been running out of memory since the switch to
Clang 13, so revert back to 12 for now.
2021-10-18 19:07:12 +00:00
Gerald Combs 6299a66a92 Revert "GitLab CI: Add an "Update Numbers" job."
This reverts commit f773bb4391. Maybe some
other time.
2021-10-10 20:32:28 +00:00
Gerald Combs f26ef902b2 GitLab CI: Initial macOS Intel build.
Add a "macOS Intel Package" job to .gitlab-ci.yml.
2021-10-09 09:32:32 -07:00
Gerald Combs f773bb4391 GitLab CI: Add an "Update Numbers" job.
Add an "Update Numbers" job that updates our various "numbers",
translations, and other files.
2021-10-08 15:34:26 -07:00
Gerald Combs aa41dd9a56 GitLab CI: Restrict our merges to master. 2021-10-06 03:45:55 +00:00
Gerald Combs 0aae44e145 GitLab CI: Switch to clang 13.
Clang 13 was added to the Ubuntu image in wireshark-containers
e5725506f4.
2021-10-06 00:28:01 +00:00
Gerald Combs 436dd46720 GitLab CI: Switch all Linux builds to our container registry.
Switch all of the remaining Linux builds to
registry.gitlab.com/wireshark/wireshark-containers/
2021-10-01 15:52:38 -07:00
Gerald Combs f9279ddaea GitLab CI: Switch the openSUSE 15.2 image.
Switch to the image in the wireshark/wireshark-containers registry.
2021-10-01 22:23:53 +00:00
Gerald Combs fee7f31e63 GitLab CI: Switch the CentOS 8 image.
Switch to the image in the wireshark/wireshark-containers registry.
2021-10-01 20:13:31 +00:00
Gerald Combs 7f47511653 Try to fix RPM packaging.
Asciidoctor is now required for packaging. Try to make sure it's
installed on CentOS 8 and openSUSE 15.2. Note that CentOS 8 doesn't have
an Asciidoctor package, which complicates our SPEC.
2021-10-01 18:26:24 +00:00
Gerald Combs f1ee29fc61 GitLab CI: Don't refresh our openSUSE repository.
The openSUSE 15.2 RPM Test step occasionally fails when trying to
retrieve repository metadata. Add "--no-remote" to the zypper install
command in the openSUSE 15.2 RPM Test to match the offline behavior of
our other RPM tests.
2021-09-27 04:17:01 +00:00
Alexis La Goutte 3e193b376f GitLab CI: Add HTML output for Clang Analyzer Check artifact 2021-09-22 04:44:28 +00:00
Alexis La Goutte 6c0897393b GitLab CI: remove ANSI color when generate Clang Check Analyzer text log 2021-09-22 04:44:28 +00:00
Alexis La Goutte 6cf6794e37 GitLab Ci: Fix duplicate apt cmd for daily run 2021-09-13 18:47:35 +00:00
Alexis La Goutte d940352da7 gitlab-ci: enhance cppcheck
display on CI build, the text output (and not xml)
store all cppcheck output files on cppcheck folder

(you need to launch cppcheck twice for generate txt and xml)
2021-09-06 04:04:46 +00:00
Alexis La Goutte 3403e37d47 gitlab-ci: Add artifact for check hf conflict 2021-09-05 07:49:29 +00:00
Alexis La Goutte 1f4e150ca7 gitlab-ci (Clang): Add Clang Analyzer ouput to artifacts 2021-09-02 16:06:17 +00:00
Gerald Combs 97b6610818 GitLab CI: Fix a command.
BSD stat doesn't support `--format`.
2021-08-27 15:47:40 -07:00
Gerald Combs 916dac3316 GitLab CI: Print package sizes and hashes.
Print the sizes of our source, Windows, and macOS packages. Print the
hash of our macOS package.
2021-08-27 22:01:25 +00:00
Gerald Combs 8c4543373a CMake: Use "'" instead of "’" in our guide filenames.
Use an apostrophe instead of RIGHT SINGLE QUOTATION MARK in our PDF and
EPUB filenames. Some programs (notably Okular) can't open filenames with
extended characters, at least on Windows.
2021-08-27 01:18:13 +00:00
Gerald Combs 5e016c1970 GitLab CI: Fix a path (try 2).
Copy the correct .dmg pattern to s3.
2021-08-25 22:18:00 +00:00
Gerald Combs f8fb504d74 GitLab CI: Publish our Windows PDBs. 2021-08-25 22:01:27 +00:00
Gerald Combs 3fbf6fa022 GitLab CI: Fix a path.
Copy the correct .dmg path to s3.
2021-08-25 21:42:48 +00:00
Gerald Combs 28c4c947c0 GitLab CI: Enable macOS Arm notarization.
Enable code signing & notarization in the macOS Arm Package job. Add
"needs: []". Verify the .dmg after notarizing it.
2021-08-25 20:40:29 +00:00
Alexis La Goutte 72eb858741 gitlab-ci: Fix daily API ref
mkdir / cd build is already on ubuntu step
2021-08-25 17:18:28 +00:00
Alexis La Goutte ebb1d7ffaf gitlab-ci: Fix daily Clang Analysis
mkdir / cd build is already on ubuntu step
2021-08-25 17:18:28 +00:00
Gerald Combs d2979e1976 GitLab CI: Initial macOS Arm build.
Add a "macOS Arm Package" job to .gitlab-ci.yml. Fixup a check in
osx-dmg.sh.
2021-08-24 21:22:41 +00:00
Gerald Combs a6e0482a6f Docs: Give the PDF and EPUB guides descriptive filenames.
Use the document title for our PDF and EPUB filenames under the theory
that "Wireshark User’s Guide.pdf" is more obvious than "user-guide.pdf".
2021-08-03 22:18:06 +00:00
Gerald Combs 282179b643 GitLab CI: Make sure Linux builds run under Docker.
Rename the .build job to .build-linux and require the "docker" tag. Add
a corresponding .test-linux job and have the Linux test stages extend
it. Update various steps accordingly.
2021-08-03 16:26:30 +00:00
Gerald Combs b58edf3cb8 Docs: Add epub targets for the guides.
Add user_guide_epub and developer_guide_epub targets that generate
EPUB versions of the User's Guide and Developer's Guide.
Ping #17494.
2021-07-30 21:05:37 +00:00
Gerald Combs 94d7b7846c GitLab CI: Add a retry to the Windows builds.
The Windows runners (Win32 in particular) sometimes time out during
tests. Add a retry.
2021-07-25 22:13:38 +00:00
Gerald Combs f6872b0c3e GitLab CI: Produce less test output.
Pass `--output-on-failure` instead of `--verbose` to ctest so that we
produce more relevant output.
2021-07-14 18:17:08 +00:00
Gerald Combs 9ae60d8483 GitLab CI: Don't print a performance summary on Windows.
In the Windows merge request build job, don't pass
/consoleloggerparameters:PerformanceSummary;NoSummary to msbuild. It
makes the output more verbose and in turn makes errors more difficult to
find.
2021-07-14 00:48:46 +00:00
Gerald Combs ef180c1be6 GitLab CI: Add a "merged" rule for dedicated runners.
We have to use dedicated runners for Windows builds, so create a
separate "if-merged" rule for them which includes only the
wireshark/wireshark repository.
2021-06-29 19:32:51 +00:00