Commit Graph

51 Commits

Author SHA1 Message Date
Chuck Craft 373c8f616d github: call reworked macos-setup-brew.sh with options 2023-02-03 10:47:12 -06:00
João Valverde 62005a7e20 GitHub: Switch MSYS2 build to UCRT64 2023-01-29 22:07:43 +00:00
João Valverde 80a35f632e GitHub: Build MSYS2 commit SHA
The PKGBUILD always builds the tip of the master branch. Try to
allow selecting a commit using $PKG_COMMIT.
2023-01-29 22:07:43 +00:00
João Valverde aff45e6318 MSYS2: Update GitHub action 2023-01-12 21:04:37 +00:00
Gerald Combs a07265f3c4 GitHub: Add FUNDING.yml 2023-01-12 20:42:13 +00:00
Dario Lombardo c64eaf87af
github: install cmake and winflexbison alongside other windows pkgs. 2022-12-09 17:27:46 +01:00
Chuck Craft eff7cd15b0 github: repo_lockdown v2->v3 (node12->node16)
Last item on #18462. Will manually close after a good run on github.
2022-12-07 09:04:03 +00:00
Chuck Craft 80ebd68cc4 github: windows - downgrade cmake back to 3.24.3
cmake 3.25 changed library search logic for .a and .library
Downgrade cmake until libsmi and zlib cmake files are adjusted?
See notes in !8807
2022-11-18 21:02:44 -06:00
Chuck Craft 72234923c4 github: use latest winflexbison3 in workflow build
Use current version (2.5.24.20210105) which is hosted on github.
Should reduce timeouts previous version had which is hosted on
sourceforge.
2022-10-23 17:33:06 -05:00
Chuck Craft 61d81683c8 github: make yaml syntax consistent (msys2.yml)
Simplify output of grep | sort | uniq when checking "uses"
2022-10-21 15:15:16 +00:00
Chuck Craft d896660e63 github: make yaml syntax consistent (lockdown.yml)
Simplify output of grep | sort | uniq when checking "uses"
2022-10-21 14:30:45 +00:00
João Valverde d4ba8be9d7 Github CI: Rename MSYS2 job 2022-10-14 20:25:07 +00:00
Chuck Craft d0ce6e5f81 Github: Ignore symbol changes on the master branch
See #18404 and !8452
2022-10-14 10:31:15 -05:00
João Valverde 101ad8f29e Github CI: Add MSYS2 build
Ping #17771.
2022-10-13 08:08:11 +00:00
Chuck Craft 3c0936d83e Github actions: newer verions with node12 -> node16
Ping #18462
2022-10-12 20:32:37 +00:00
Dario Lombardo a082ba9dae github: update "options" workflow.
Ref: #18352.
2022-09-26 13:49:48 +00:00
Chuck Craft 673bd6aca3 github: fix Windows action (Qt6; NSIS; Cmake -D syntax)
Ref: #18352, !8189, !7067, !5598
2022-09-22 15:04:52 +00:00
Dario Lombardo f10a5b147a github: fix ubuntu action (move to 22.04).
Ref: #18352.
2022-09-22 12:11:36 +00:00
Dario Lombardo a0174e4f0b github: fix ubuntu workflow. 2022-08-01 21:36:07 +00:00
Dario Lombardo b49edf0a5b
github: update macos action. 2022-05-31 10:20:25 +02:00
Dario Lombardo ec6a47f663 github: fix ubuntu action when building dpkg. 2022-02-24 09:15:05 +00:00
Dario Lombardo 1810ad641d github: bump msbuild version. 2021-12-28 18:49:24 +00:00
Dario Lombardo c3bbca8e73 github: update artifacts uploading. 2021-12-28 18:49:24 +00:00
Dario Lombardo 0258ef3a04 github: remove scheduled runs from repo-lockdown.
Add issue auto-close while here, since the action supports it
as well.

Fix: #17805.
2021-12-27 21:56:55 +00:00
Uli Heilmeier 3c73fa5d55 Revert "tests: fix test fails on Ubuntu, fix #17730"
This reverts commit 78067deb89.
Commit d5ba1fe2 unsets XDG_CONFIG_HOME when setting up the environment.

Related to #17730
2021-11-21 17:47:32 +00:00
easonweii 78067deb89 tests: fix test fails on Ubuntu, fix #17730
unset the env variable XDG_CONFIG_HOME in ubuntu.yaml (action config file), wireshark will use $HOME evn variable;
and i test those two solutions, all test case is success;
2021-11-17 22:41:55 +08:00
Jaap Keuter 4f8e7f0d1c Add direct GitLab reference in GitHub PR lockdown text
Nothing more annoying than having to read a bunch of documentation, while
all you need is one fundamental piece of information: the right repo.
2021-11-16 16:47:09 +00:00
Gerald Combs 5a9978e7b5 GitHub: Move the lockdown workflow to the proper directory.
Workflows need to be in .github/workflows.
2021-11-05 10:11:02 -07:00
Gerald Combs 77541af2df GitHub: Migrate Repo Lockdown to an action.
Repo Lockdown started out as a GitHub app[1], but has since been
migrated to an action[2]. Update our config to match. Fixes #17692.

[1] https://github.com/apps/repo-lockdown
[2] https://github.com/dessant/repo-lockdown
2021-10-30 13:05:35 +00:00
Dario Lombardo c734201e70 github: update no-options workflow. 2021-10-20 19:45:34 +00:00
Dario Lombardo b034473cb2
github: update windows action.
The target user_guide_chm has been replaced by user_guide_html
in 6bfab69d14, but the action hasn't been updated accordingly.
2021-06-28 12:53:38 +02:00
Gerald Combs 313a6e9274 CI: Don't run xcode-select.
Changing the developer directory shouldn't be necessary after the include
path fixups in 270c8ed746.
2021-02-18 13:54:47 +00:00
Dario Lombardo d13a7899ec github: use macos 11.0 in macos image.
Fix: #17063.
2020-12-15 08:12:10 +00:00
Dario Lombardo 4b9dfc3a19
github: fix actions.
The command add-path within the changed actions has been deprecated
according to

https://github.blog/changelog/2020-10-01-github-actions-deprecating-set-env-and-add-path-commands/

Use shogo82148/actions-setup-perl for strawberryperl on windows.
Upgrade setup-ruby to 1.1.2 on macos.
2020-11-19 09:20:17 +01:00
Dario Lombardo 52d7eb733d github: install biplist for macos. 2020-10-15 17:32:53 +00:00
Dario Lombardo df7d1905eb github: fix macOS build.
Use xcode from command line tools.
See:
  https://www.wireshark.org/lists/wireshark-dev/202004/msg00065.html
2020-09-30 17:59:20 +00:00
Dario Lombardo aaf2edf8a7 github: fix windows build.
Downgrade winflexbison3 to 2.5.18.20190508.

Related: #16824.
2020-09-04 10:27:27 +00:00
Dario Lombardo f71a5e0f02 github: add cmake options workflow.
This workflow will test the several options available in cmake,
by not using the default value.

The workflow runs once a day, instead on push, to spot problems
that unlikely happen.

The compilation without pcap has been removed from other CIs,
since it is included in this one and that will spare CI cycles.

Change-Id: I796a1ac1879fe85c66d9518207c7053531204c11
Reviewed-on: https://code.wireshark.org/review/36608
Reviewed-by: Peter Wu <peter@lekensteyn.nl>
2020-04-08 21:42:51 +00:00
Peter Wu 3b7ae88961 Revert "github: add action to automatically close pull requests."
This reverts commit b7f38efb78.

This GitHub action does not seem to work, perhaps because no
authentication token was installed in the Wireshark project on GH? See
also https://github.com/superbrothers/close-pull-request/issues/4

Change-Id: I084547028dd1de7852aaa5f9e923efa8a69d4244
Reviewed-on: https://code.wireshark.org/review/36718
Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
2020-04-07 05:26:48 +00:00
Peter Wu f73135fce9 github: use the Repo Lockdown app to auto-close repos
This automatically closes existing and new pull requests on GitHub once
the GitHub app is installed.

Change-Id: I98e2426ff8f974534d6bcec6ee446619319c08bb
Reviewed-on: https://code.wireshark.org/review/36719
Reviewed-by: Gerald Combs <gerald@wireshark.org>
Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
2020-04-07 05:26:36 +00:00
Dario Lombardo c474b70f8b github: move pip installations upwards.
python ssl has some conflict with installed packages. Installing pip
stuff before other packages fixes it.

Bug: 16478
Change-Id: Iba5a5eceb5e27a435544aa65e0fad683f798f3f3
Reviewed-on: https://code.wireshark.org/review/36669
Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
Reviewed-by: Dario Lombardo <lomato@gmail.com>
2020-04-03 22:33:34 +00:00
Dario Lombardo 2f514106ea github: don't install ruby twice.
Change-Id: Id6edfca6f98ecfd5c30b5973f81980a8e8d935d4
Reviewed-on: https://code.wireshark.org/review/36668
Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
Reviewed-by: Dario Lombardo <lomato@gmail.com>
2020-04-03 16:27:55 +00:00
Dario Lombardo 65bcd03ce8 github: install ruby via action v1.1.1.
Action v1 is buggy and has been fixed in v1.1.1.
Error:
sudo ln -sf /Users/runner/hostedtoolcache/Ruby/2.6.5/x64/bin/ruby /usr/bin/ruby
ln: /usr/bin/ruby: Operation not permitted
(node:1010) UnhandledPromiseRejectionWarning: Error: The process 'sudo' failed with exit code 1
    at ExecState._setResult (/Users/runner/runners/2.165.2/work/_actions/actions/setup-ruby/v1/node_modules/@actions/exec/lib/toolrunner.js:547:25)
    at ExecState.CheckComplete (/Users/runner/runners/2.165.2/work/_actions/actions/setup-ruby/v1/node_modules/@actions/exec/lib/toolrunner.js:530:18)
    at ChildProcess.<anonymous> (/Users/runner/runners/2.165.2/work/_actions/actions/setup-ruby/v1/node_modules/@actions/exec/lib/toolrunner.js:430:27)
    at ChildProcess.emit (events.js:210:5)
    at maybeClose (internal/child_process.js:1021:16)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:283:5)

Change-Id: I2b715291265d4675b46850006bd3fbecaaf9f4be
Reviewed-on: https://code.wireshark.org/review/36667
Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
Reviewed-by: Dario Lombardo <lomato@gmail.com>
2020-04-03 16:27:42 +00:00
Dario Lombardo 39ee56ec33 github: fix job names.
Change-Id: I26e77b4677bfcb0537d0dbf99472594765f3954e
Reviewed-on: https://code.wireshark.org/review/36595
Reviewed-by: Jaap Keuter <jaap.keuter@xs4all.nl>
2020-03-27 06:24:19 +00:00
Dario Lombardo b7f38efb78 github: add action to automatically close pull requests.
Change-Id: Icb1164879c9bd0a48aad21d7a42cba79ab195677
Reviewed-on: https://code.wireshark.org/review/36353
Reviewed-by: Gerald Combs <gerald@wireshark.org>
Reviewed-by: Peter Wu <peter@lekensteyn.nl>
2020-03-09 23:07:41 +00:00
Dario Lombardo 1594112d34 github: setup ruby in macos workflow.
This is required to call asciidoctor.

Change-Id: Iff47a9d6b92f68d0b5ec611570cd2bbc2c56c926
Reviewed-on: https://code.wireshark.org/review/36340
Reviewed-by: Dario Lombardo <lomato@gmail.com>
2020-03-09 20:20:58 +00:00
Dario Lombardo 4b0e800773 github: create Windows package and upload it as artifact.
Change-Id: I88e19514a56630a4946338c6109b801c98526a44
Reviewed-on: https://code.wireshark.org/review/36321
Reviewed-by: Peter Wu <peter@lekensteyn.nl>
2020-03-08 19:04:25 +00:00
Dario Lombardo 9cdff50e18 github: create OSX package and upload it as artifact.
Change-Id: I05e0b97a67de0bda4da3623e8574aa2af33ee43b
Reviewed-on: https://code.wireshark.org/review/36319
Reviewed-by: Peter Wu <peter@lekensteyn.nl>
2020-03-08 19:03:59 +00:00
Dario Lombardo c2b1cf6f33 github: create debian package and upload it as artifact.
Change-Id: Id9e17ecacddfd1a22370a1e1e87cb04ef634f297
Reviewed-on: https://code.wireshark.org/review/36318
Reviewed-by: Peter Wu <peter@lekensteyn.nl>
2020-03-08 19:03:46 +00:00
Dario Lombardo a7b06aae59 github: restore original Qt windows action.
It has been patched and now it works again.

Change-Id: I69c28efb6b105ed7f748acc6be1fefd36d62cf9c
Reviewed-on: https://code.wireshark.org/review/36320
Reviewed-by: Peter Wu <peter@lekensteyn.nl>
2020-03-07 18:24:48 +00:00