Commit Graph

160 Commits

Author SHA1 Message Date
Christoph Reiter
a1e12d602d CI: remove procdump setup
It was added in 6ff1a1f8a6, but we never really needed
it since then.

Since MS is currently down and this causes CI to fail, it's a good time
to remove it.

If we need it again it's always in the git history..
2025-10-29 21:33:47 +01:00
Christoph Reiter
577191dbf2 CI: update GH actions 2025-10-27 09:44:23 +01:00
Christoph Reiter
7ece3bb493 generate-srcinfo: sync from MSYS2-packages 2025-10-22 08:56:04 +02:00
Christoph Reiter
e96aeb784d generate-srcinfo: map ignored CVEs into the cdx sbom
See ef673c9802
2025-09-07 15:03:07 +02:00
Christoph Reiter
aa0a73fca7 generate-srcinfo: move to new sbom fixup command
See 7459bff72b
2025-09-07 11:07:40 +02:00
Christoph Reiter
a6d345ca35 generate-srcinfo: merge grype commands
it can generate multiple formats in one go
2025-09-07 10:02:34 +02:00
Christoph Reiter
19c58b7fbf generate-srcinfo: include fixed versions in the SBOM
See c7d0333481
2025-09-06 17:22:11 +02:00
Christoph Reiter
243fb1907d CI: use the current remote grype DB info as a cache key
so we don't create a new cache on every run
2025-08-04 23:01:27 +02:00
Christoph Reiter
abf928417d CI: try to cache the grype DB 2025-08-04 19:20:34 +02:00
Christoph Reiter
c8190268f3 CI: also enable minidump for arm64
the release also contains an arm version, so why not
2025-07-31 22:19:01 +02:00
Christoph Reiter
60c11611dc CI: revert to windows-2022 for now
see https://github.com/msys2/MINGW-packages/pull/24677#issuecomment-3017919467
2025-06-30 08:20:40 +02:00
Jeremy Drake
39cf8955bf CI: try a different way to get total physical memory 2025-04-20 13:11:53 -07:00
Jeremy Drake
1351148e66 CI: remove 'clean up runner' step
It was pretty unneccary on the self-hosted runner once I added hooks to
do that, and now that there are GitHub-hosted windows-arm64 runners it's
completely useless.

Also, add TotalPhysicalMemory to 'facts'
2025-04-20 11:11:36 -07:00
Christoph Reiter
6b1134378c CI: build on windows-11-arm 2025-04-15 07:11:30 +02:00
Christoph Reiter
479a06412b CI: remove setup-python usage
We no longer change the env in autobuild, so it should be safe to remove here too:
fe4bcd08a9
2025-03-10 21:32:31 +01:00
Christoph Reiter
26a2360495 CI: remove VCPKG_ROOT workaround
It was removed from the image long ago:
https://github.com/actions/runner-images/issues/6376
2025-03-07 10:22:11 +01:00
Christoph Reiter
c003bbea6c CI: derive the build drive from GITHUB_WORKSPACE 2025-03-07 10:22:11 +01:00
Christoph Reiter
267b456f1f CI: revert to C: for al-cheb/configure-pagefile-action
It fails otherwise for some reason, see
https://github.com/al-cheb/configure-pagefile-action/issues/18
2025-03-05 23:26:28 +01:00
Christoph Reiter
796ec1c1ba CI: move various things from drive C to D to get more space/speed
Previously C had more space compared to D, see
https://github.com/msys2/MINGW-packages/issues/9048#issuecomment-820889210

Nowadays it's the opposite:
    Name           Used (GB)     Free (GB) Provider      Root                                               CurrentLocation
    ----           ---------     --------- --------      ----                                               ---------------
    A                                      FileSystem    A:\
    C                 119.26         30.25 FileSystem    C:\
    D                   3.00        147.00 FileSystem    D:\                                 …ys2-autobuild\msys2-autobuild
    Temp              119.26         30.25 FileSystem    C:\Users\runneradmin\AppData\Local…

    Name : AMD EPYC 7763 64-Core Processor

So:

* Move the pagefile to D:
* Move the MSYS2 install from C:/M to D:/M
* Move the checkout from C:/_ to D:/_
* (Make it configurable for self-hosted runners)

Ideally that gives us more space for builds, and according to this
it should also be faster: https://github.com/pypa/pip/pull/13129
2025-03-05 20:02:47 +01:00
Christoph Reiter
c0a3272423 CI/check: use the runner temp dir instead of harcoding paths
* The most space is on D: nowadays, so just use runner.temp that's
  located there and also is cleaned up afterwards
* Instead of hardcoding paths, pass the directory to the script
2025-03-05 19:58:00 +01:00
Christoph Reiter
9dbe3e3a49 generate-srcinfo: specify new extras for msys2-devtools
See https://github.com/msys2/msys2-devtools/pull/11
2025-02-16 15:26:43 +01:00
Christoph Reiter
9f766f74ce CI: sync generate-srcinfo from MSYS2-packages
for sbom generation changes
2024-12-23 14:39:03 +01:00
Christoph Reiter
22c8c14d93 CI: move to windows-2025 2024-12-19 22:44:31 +01:00
مهدي شينون (Mehdi Chinoune)
fe16a8ea7c Drop clang32. 2024-12-17 08:15:18 +01:00
Jeremy Drake
c4a49da150 CI: update setup-python-installed version to 3.12
to match autobuild
2024-12-08 15:17:58 -08:00
Maksim Bondarenkov
d29f171e0b CI: change order of jobs
so it will be sorted by priority: UCRT64 -> CLANG64 -> MINGW64 -> MINGW32 -> CLANG32.
this changes the default job shown in "checks" tab, and it's a bit annoying to switch to UCRT64 job because MINGW64 is disabled for a particular package
2024-10-30 19:53:22 +01:00
مهدي شينون (Mehdi Chinoune)
8d7df49a09 remove clang32 from issue templates. 2024-10-05 08:22:35 +01:00
مهدي شينون (Mehdi Chinoune)
0810128e74 CI: Install ntldd only when there is a list of packages to be built. 2024-09-23 17:15:13 +01:00
Christoph Reiter
5b592bb63a CI: use the new setup-msys2 output for finding the install location 2024-08-03 14:08:21 +02:00
Christoph Reiter
3819baad92 CI: try --filter=blob:none instead
that seems to work better
2024-05-30 18:39:37 +02:00
Christoph Reiter
cd2d28041c CI: revert the treeless clone for the build job
git gets confused when we add another remote there, so revert
for now
2024-05-30 18:24:54 +02:00
Christoph Reiter
c02daa2412 CI: do a treeless clone in case we need the history
For cases where we pass "fetch-depth: 0" to get teh full history,
enable a treeless clone, since we only care about old commits, and
not much more.

This should speed up cloning in theory.
2024-05-29 21:53:16 +02:00
Christoph Reiter
f0566fe0ad CI: run grype to scan the sbom 2024-03-23 18:08:29 +01:00
Christoph Reiter
d79dc85af9 CI: generate and upload a SBOM 2024-03-19 09:07:01 +01:00
مهدي شينون (Mehdi Chinoune)
79e3d3cb6b CI: update configure-pagefile-action to 1.4 2024-02-02 17:29:46 +01:00
Christoph Reiter
2e39da1ee9 CI: Update actions/setup-python 2024-01-27 16:38:24 +01:00
Christoph Reiter
e1ccb5ea9c Reapply "update GitHub Actions"
This reverts commit 2dc3e02217.
2024-01-20 13:26:04 +01:00
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
Christoph Reiter
42e5e74ba6 environment_request: some wording changes/fixes 2023-12-11 16:41:46 +01:00
Christoph Reiter
113ad5bb68 Add a new issue template for requesting a package to be built for a new environment
an MVP, to see how it looks
2023-12-11 15:52:40 +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
4204b0f9ae CI: msys2-pypi-cache now reads from srcinfo 2023-09-17 21:21:48 +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
ea670bbfc7 don't write a pypi.json.gz file if curl fails 2023-07-03 09:16:19 +02:00
Christoph Reiter
541c9e5ee1 CI: generate a pypi package cache
we might need to call this daily in the future
2023-07-03 09:08:37 +02:00
Christoph Reiter
821add74ba update-srcinfo: try to add some pip caching
we don't have an input file, so just use the workflow file
2023-06-02 10:24:53 +02:00