Commit Graph

174 Commits

Author SHA1 Message Date
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
Gerald Combs 798e45aaeb GitLab CI: Update to match recent PortableApps changes. 2021-06-19 16:51:55 -07:00
Gerald Combs 6495e7da99 Packaging: Add 64-bit PortableApps packages.
Build WiresharkPortable32 or WiresharkPortable64 as appropriate for our
target platform. Add WiresharkPortable64 steps to the Win64 builder.
Update the Developer's Guide. Fixes #17260.
2021-06-19 22:53:45 +00:00
Gerald Combs 2d9280089c GitLab CI: Add initial Windows package builds.
Start migrating the Windows package build steps from Buildbot.
2021-06-16 05:48:38 +00:00
Gerald Combs 35f5c116ca GitLab CI: Don't clobber the Code Lines before_script. 2021-06-07 11:40:19 -07:00
Gerald Combs e80e118f7a GitLab CI: Add more code line counters.
Count lines using cloc, scc, and tokei in addition to SLOCCount.
2021-06-07 18:20:10 +00:00
Gerald Combs a72b60b58b GitLab CI: Add CMake sections in more places.
Add section start and end markers for cmake in more places.
2021-05-28 18:39:28 +00:00
Gerald Combs 02f4dcb0ad GitLab CI: Enable ccache for fuzz builds.
Enable ccache for our fuzz builds. Add sections as described at
https://docs.gitlab.com/ee/ci/jobs/#expand-and-collapse-job-log-sections
for the CMake step as well.
2021-05-24 20:52:29 +00:00
Gerald Combs 9c6aef746a GitLab CI: Adjust the Documentation rules.
GitLab CI annoyingly shows "⚙ blocked" in the pipeline UI if you have
any jobs that can be run manually instead of a green checkmark even if
all of the other jobs in the pipeline have passed. It's not clear that
"blocked" means "you can run this manually if needed," so adjust the
Documentation rule so that this doesn't happen.
2021-05-07 21:51:24 +00:00
Gerald Combs 7c6df3848f GitLab CI: Give our jobs proper names.
GitLab's job YAML parser allows spaces in key names and our jobs are
visible in the web UI, so give them proper names.
2021-05-07 19:26:31 +00:00
Gerald Combs bedf0eb21c GitLab CI: Restore the ability to run pipelines from the web UI. 2021-05-07 11:49:51 -07:00
Gerald Combs ae37347103 GitLab CI: Simply our fuzz run times. 2021-05-07 09:21:30 -07:00
Gerald Combs 0c3db4c9fd GitLab CI: Install valgrind.
Install valgrind in the fuzz-valgrind job.
2021-05-06 14:49:31 -07:00
Gerald Combs 458bc93171 GitLab CI: Fix the fuzzing before and after scripts. 2021-05-06 09:24:35 -07:00
Gerald Combs 4397eed75c GitLab CI: Add Valgrind and randpkt fuzzing.
Move common fuzzing configuration items to .fuzz-ubuntu. Build using
Clang, which is what the Buildbot fuzzers did. Add jobs for fuzzing
using Valgrind and randpkt.
2021-05-05 18:54:34 -07:00
Gerald Combs da66bae61b GitLab CI: Fix a path. 2021-05-05 17:36:55 -07:00
Gerald Combs cc285882bf GitLab CI: Fill in fuzz-test.
Fuzz using our runner and our capture menagerie. Extend the run time.
Check for failures and report them.
2021-05-05 15:46:45 -07:00
Gerald Combs 3401f9697d Revert "GitLab CI: Try switching Windows builds back to Qt 5.15.1."
This reverts commit b258f90ce5, which was
an attempt to fix a CI build issue by changing our Qt version. That
didn't fix the issue. Switching from CMake 3.20 to 3.19.8 *did*, which
suggests that we've run into

https://gitlab.kitware.com/cmake/cmake/-/issues/21145
2021-05-05 17:16:16 +00:00
Gerald Combs d7bdd77a4c GitLab CI: Add a minimal fuzzing job.
Add a -t option to tools/fuzz-test.sh which lets you specify a maximum
fuzz time.

Add an initial "fuzz-test" job which fuzzes test/captures/* for 5
minutes. To do: Fuzz longer using our capture menagerie and report
failures.
2021-05-05 16:58:12 +00:00
Gerald Combs 4100cd748a GitLab CI: Fix our API reference uploads. 2021-05-04 14:10:46 -07:00
Gerald Combs 773c35d70a GitLab CI: Fix an upload command. 2021-05-04 13:11:23 -07:00
Gerald Combs 3b18c3f1fd GitLab CI: Distribute our documentation.
Rename the "docbook" job to "documentation". Make sure we can do syntax
highlighting and produce PDFs. Distribute the docs that we build. Allow
the job to be manually run if we don't update any documentation sources.
2021-05-04 18:52:10 +00:00
Gerald Combs 71f66bee3b GitLab CI: Consolidate repeated RPM declarations.
Move repeated build declarations to .build-rpm. Add .test-rpm and move
repeated test declarations there.
2021-05-03 20:32:10 +00:00
Gerald Combs d6500f5870 GitLab CI: Publish the API reference.
Build the wsar_html_zip instead of wsar_html and (re-)publish it at
https://www.wireshark.org/download/docs/. Move the doxygen_all job to
the daily schedule section.
2021-05-03 10:34:31 -07:00
Gerald Combs 74145a8bc6 GitLab CI: Fix our Coverity submission URLs. 2021-05-03 09:46:18 -07:00
Gerald Combs 6467a5ecad GitLab CI: Try to fix Coverity submissions.
Fixup some variable names.
2021-05-03 09:04:14 -07:00
Gerald Combs 37e833e2c6 GitLab CI: Fix an artifact declaration. 2021-05-02 20:28:50 -07:00
Gerald Combs a479922052 GitLab CI: Try to fix Coverity submissions.
The files we need to submit to Coverity might be too large to upload
over HTTP, so use their URL submission method. We won't have a usable
artifact URL until after each cov-build job runs, so we need to submit
our URLs in separate jobs.
2021-05-03 01:55:40 +00:00
Gerald Combs 3de0a93759 GitLab CI: Fix our common rules.
There are three ways to reuse configuration blobs in .gitlab-ci.yml: The
"extends" keyword, YAML anchors, and "!reference" tags. As noted in
https://gitlab.com/gitlab-org/gitlab/-/issues/322992, only the last
method works for job rules. Clean up our common rules and apply them
using "!reference".
2021-05-02 22:01:48 +00:00
Gerald Combs 49fd57440f GitLab CI: Switch back to explicit scheduling.
It looks like "extends" and YAML anchors don't work for scheduling
rules, at least for the way we're using them. Use explicit rules for
scheduled jobs.
2021-04-30 18:48:20 -07:00
Gerald Combs 69c2e89fe2 GitLab CI: Update the schedule variable name. 2021-04-30 17:37:00 -07:00
Gerald Combs e119c035b3 GitLab CI: Switch back to using "only" for scheduled jobs.
Rules don't seem to support schedule variables.
2021-04-30 16:00:35 -07:00
Gerald Combs d816ebea17 GitLab CI: Fixup a scheduling rule. 2021-04-30 16:00:35 -07:00