Commit Graph

84 Commits

Author SHA1 Message Date
Christoph Reiter
6c3e0d0e90 CI/check: use a fresh msys2
Like in the other steps.
The staging update makes it slower since that also updates other packages
provided by the host, and it updates packages installed by the action itself,
in case they are in staging.
2024-01-06 15:22:09 +01:00
Christoph Reiter
2dc3e02217 Revert "update GitHub Actions"
This reverts commit 2ea7c5a706.

It's broken: https://github.com/actions/download-artifact/issues/249
2024-01-05 17:57:04 +01:00
مهدي شينون (Mehdi Chinoune)
2ea7c5a706 update GitHub Actions 2023-12-14 19:30:33 +01:00
مهدي شينون (Mehdi Chinoune)
4428549b62 CI: Run package-grokker on both ucrt64 and clang64 2023-11-19 07:19:19 +01:00
Christoph Reiter
7dcaca8690 CI: Update to actions/checkout@v4 2023-09-20 10:53:45 +02:00
Christoph Reiter
4d807a5d40 CI: allow "Configure Pagefile" to fail
it can time out and we don't need it for all jobs, so just
allow errors for now.

See https://github.com/al-cheb/configure-pagefile-action/issues/16
2023-07-30 17:28:19 +02:00
Christoph Reiter
0958458dbc CI: remove winjitdebug
this should no longer be a problem with Python 3.11
2023-07-29 20:49:51 +02:00
Christoph Reiter
808bd29fa7 CI: use Python 3.11 2023-05-30 17:37:02 +02:00
Naveen M K
4667adf5bc CI: check whether strip is disabled when using python-installer
- This should avoid something like #16750 to occur
- this would require pacdb to be installed but it can be run
  without having it installed for "checking whether to run".
  For running the actual checks, pacdb is required.
- `pkgbase` is used to find the path to PKGBUILD for a given
  package.
- The db which contains the files of packages is used by default.
  files db is a superset of normal db, so using that should work.
2023-04-10 23:21:20 +05:30
Christoph Reiter
b72b01523e CI: remove saneman
I've never found it particular helpful and usually just ignored it.

One could argue that it could be improved to do what we want, but
I personally don't want to write that in bash.
2023-02-06 18:47:14 +01:00
Jeremy Drake
7c72e4a578 CI: simplify workflow for CLANGARM64
Now that it is enabled in pacman.conf and allowed as an msystem value in
setup-msys2.
2023-01-28 11:19:06 -08:00
Christoph Reiter
d02f79c47e CI: test building with a larger pagefile
It defaults to 1.8GB, bump it a bit so we can build
flang under clang64 which otherwise hits OOM

Use C: since we have 95GB free there and only 12GB on D:
2022-10-29 20:58:05 +02:00
Naveen M K
3b3fe12112 CI: Fix python ci-check 2022-10-27 11:12:14 -07:00
مهدي شينون (Mehdi Chinoune)
cc67e6544e CI: Move from deprecated set-output 2022-10-24 22:52:02 -07:00
مهدي شينون (Mehdi Chinoune)
e6df55ca1c CI: Use UCRT64 for python-pip check and package grokker 2022-10-10 18:50:02 +01:00
Christoph Reiter
3d846790f7 CI: enable_pcon is now the default so remove it 2022-10-08 14:06:48 +02:00
مهدي شينون (Mehdi Chinoune)
434d29a7d4 CI: unset VCPKG_ROOT
Recently GHA started defining VCPKG_ROOT environment variable (https://github.com/actions/runner-images/pull/6192).
So unset it to not let it autodetected and interfere with our build jobs.
2022-10-02 10:25:27 +01:00
Jeremy Drake
8b24a09c10 CI: only install ntldd if needed
Not an issue on fresh hosted runners, but on a re-used self-hosted
runner ntldd may already be installed.  It's only mildly annoying having
it reinstalled every run, but easy enough to fix.
2022-09-29 11:33:56 -07:00
Jeremy Drake
e44e707faa CI: uncomment clangarm64 and staging from pacman.conf instead of adding from scratch 2022-08-13 16:25:22 -07:00
Christoph Reiter
b3369ca489 CI: Update actions/setup-python and start using Python 3.10 2022-08-05 21:36:28 +02:00
Christoph Reiter
a9b8f8e5d4 CI: set enable_pcon
To give it some testing in CI
2022-07-26 18:18:06 +02:00
Christoph Reiter
6ff1a1f8a6 CI: upload a process minidump in case something crashes
In case something crashes in CI this will show us some
information on which program crashed and why.

We register procdump as a JIT debugger which dumps the process
memory into a new file if triggered. To enable the JIT debugger
in the context of cygwin we need to set MSYS=winjitdebug.

The resulting dump file can for example be analyzed with
minidump-stackwalk or minidump_stackwalk
2022-07-23 18:51:36 +02:00
Christoph Reiter
53c3d93165 CI: stop adding the clang32 repo
it should be there by default now
2022-05-04 19:18:04 +02:00
Jeremy Drake
2d1b951719 Add CI label to commented ARM64 runner selection.
This will allow me to label runners according to whether I want them to
run autobuild or CI jobs (or both, theoretically).

See also msys2/msys2-autobuild#56
2022-04-18 17:41:14 -07:00
مهدي شينون (Mehdi Chinoune)
54e9107c36 [CI] Add a post-build job to grok packages. (#11123)
* [CI] Add a post-build job to grok packages.

Co-authored-by: jeremyd2019 <github@jdrake.com>
2022-04-04 11:16:04 -07:00
Jeremy Drake
baaa5159bb CI: bump setup-python's python version to 3.9
This is intended to mirror autobuild, which updated to 3.9.
2022-03-23 11:17:25 -07:00
Jeremy Drake
d2af6b9dd3 CI: install ntldd after MSYSTEM environemnt setup 2022-03-14 17:24:49 -07:00
Christoph Reiter
f3cb69bdf3 Merge pull request #10821 from MehdiChinoune/runtime-deps
[CI] Check runtime dependencies
2022-03-14 08:41:58 +01:00
Mehdi Chinoune
4b13ec07cd GHA: update actions to v3 (node16) 2022-03-07 07:35:40 +01:00
Mehdi Chinoune
51e1982d72 [CI] Check runtime dependencies 2022-03-06 14:08:50 +01:00
Jeremy Drake
b00fa220ff CI: remove no-longer-used can-fail from commented CLANGARM64 matrix entry 2022-03-05 17:16:52 -08:00
Mehdi Chinoune
8cd7e94117 Make clang jobs in CI fatal 2022-03-05 16:08:35 +01:00
Mehdi Chinoune
29801b396f [CI] Fix check job
Fails when there is nothing to run
2022-02-20 18:20:57 +01:00
Mehdi Chinoune
bbf306973e CI: Use staging repo to check Python packages reverse dependencies. 2022-02-20 11:53:37 +01:00
Christoph Reiter
c2c500974e CI: stop installing a C toolchain by default
Packages should depend on it explicitely now

See https://github.com/msys2/MINGW-packages/discussions/10506
2022-01-09 20:27:09 +01:00
Christoph Reiter
12597d5d9d CI: we need python too 2022-01-09 09:00:52 +01:00
Christoph Reiter
7354dc2d82 CI: install git still
our build scripts require it
2022-01-09 08:50:36 +01:00
Christoph Reiter
48163027b2 CI: stop building source pacakges
We don't upload them because they can get too large for GitHub.
Also their code path is mostly a subset of the real build,
so it doesn't add much for testing.

This way we don't have to install the VCS group.
2022-01-09 08:45:02 +01:00
Christoph Reiter
0ca9cf2ae0 CI: only install the C compiler instead of the whole toolchain group
See https://github.com/msys2/MINGW-packages/discussions/10506

This is an intermediate step. It results in CI installing fewer packages
by default before building, but makepkg-mingw will not complain since
it only checks for the C compiler when checking for the group.

If this works out we can update the docs and remove the install alltogether.
2022-01-09 07:48:09 +01:00
Christoph Reiter
e43a0ec6ae CI: switch to windows-2022 2021-12-10 13:47:52 +01:00
Christoph Reiter
b998b04522 CI: don't install binutils
I think this was added for "strip.exe", but that should be used from the
active toolchain in PATH now.

It's not there in autobuild as well.
2021-11-27 14:59:05 +01:00
Christoph Reiter
c9d4607092 CI: make sure staging is always first so it takes precedence 2021-11-25 19:12:23 +01:00
Jeremy Drake
a62380ea27 Comment out CLANGARM64 matrix entry
There will be no runner to run it.
2021-11-19 16:56:34 -08:00
jeremyd2019
d3f7aecd76 hack around setup-msys2 not liking CLANGARM64 2021-11-19 16:52:10 -08:00
jeremyd2019
cf18d0a9f4 CI: try to make work on ARM64 runner
always use x64 python, there is no arm64 python registered with github
actions

don't persist git credentials, clean up c:\_ copy
2021-11-19 16:51:59 -08:00
Mehdi Chinoune
00dbdbcfe1 CI: Change MSYS2 default Installation location 2021-11-03 14:02:31 +01:00
Konstantin Podsvirov
6b3d8dd30a Fix main workflow: pactoys-git -> pactoys 2021-11-03 12:09:10 +03:00
Mehdi Chinoune
d85dba2343 [NFC] CI: Get CPU Name
Just to know if the CI is using a slow or a fast CPU.
2021-10-28 09:41:09 +01:00
Mehdi Chinoune
f310e25019 [GHA] Cancel previous workflows in the same branch/pull-request
${{ github.ref }} equal to 'refs/heads/branch' if the event is "push" and It is equal to 'refs/pull/#pr/megre' for a pull-request.
2021-08-31 09:02:07 +01:00
jeremyd2019
bd9f3b3137 CI: don't install msys2-devel
These tools are not present in autobuild, and may cause confusion with the proper MINGW tools
2021-08-28 13:22:55 -07:00