247 Commits

Author SHA1 Message Date
Christoph Reiter
698f9f514f Only start jobs for build types where we own the asset release 2022-01-13 09:36:45 +01:00
Christoph Reiter
f765fe5ea7
Drop clangarm64 from the manual build list 2022-01-12 22:38:17 +01:00
Christoph Reiter
f49b8afb91 Fetch certain build types also from other repos
Allow mapping build types to external repos and make some
read-only operations work with it.

This mainly means downloading assets will now also download clangarm64
and the clangarm64 build status will be included on packages.msys2.org.
2021-12-26 15:19:19 +01:00
Jeremy Drake
456f0a1e57 fetch_assets: add option to limit build_types. 2021-12-21 04:50:24 +01:00
Christoph Reiter
1aaafbed38 msys2-devel is no longer needed 2021-12-14 20:28:14 +01:00
Christoph Reiter
f712bbd622 CI: switch the hosted runner env from windows-2019 to windows-2022
Let's give it a try.
2021-12-09 20:07:59 +01:00
Christoph Reiter
a0a0b3f47b
mingw-w64-mlpack is fixed now 2021-11-05 18:38:32 +01:00
Christoph Reiter
6e469e2c56 fetch-assets: add --fetch-complete option
this fetches all packages, as long es they are complete
2021-11-03 08:49:23 +01:00
Christoph Reiter
0cfe547446 Revert "qt5-static: All manual builds"
This reverts commit 87dbe7aebc5cd274457f05e62527029f90f90e2e.
2021-10-20 09:53:39 +02:00
Alexey Pavlov
87dbe7aebc qt5-static: All manual builds 2021-10-19 21:09:52 +03:00
Christoph Reiter
4cc7035246
ignore rdeps: mingw-w64-zig 2021-10-17 20:12:52 +02:00
Christoph Reiter
aea50264e2
ignore qt-static rdeps 2021-10-14 18:44:51 +02:00
Christoph Reiter
41742850ce Revert "Revert "Update autobuild.py""
This reverts commit 5f728e1eb22bdcb3c0e97c2d7c6fdd6a025dca64.
2021-10-11 18:25:43 +02:00
Christoph Reiter
5f728e1eb2 Revert "Update autobuild.py"
This reverts commit 8c7ef11f693b7af3ad3292ff6d0ae0b80fcd8ba0.
2021-10-10 17:57:46 +02:00
Christoph Reiter
8c7ef11f69
Update autobuild.py 2021-10-10 15:07:50 +02:00
Christoph Reiter
d74753f0e5 build status: inherit blocking info instead of replacing it
a bit hacky.. but works

Fixes #42
2021-10-09 08:37:22 +02:00
Christoph Reiter
9c67f65b7c make mypy happy 2021-09-15 08:54:29 +02:00
Christoph Reiter
7f3417441c Fix cleaning up failed assets 2021-09-15 08:48:00 +02:00
Christoph Reiter
6add89827b Only have one metadata file for a failed build
We used the resulting package names, but we can just key by build type
and get fewer files that way.
2021-09-15 08:35:53 +02:00
Christoph Reiter
a0713fbf40 move a call out of a loop 2021-09-12 07:02:16 +02:00
Christoph Reiter
5b58993660 Have one GH release per build type
This makes the code easier to understand and saves some API calls
when fetching dependencies, since only a subset of assets need to
be looked through.
2021-09-11 17:08:00 +02:00
Christoph Reiter
c2c24e50e3 More typing for literals 2021-09-11 12:03:41 +02:00
Christoph Reiter
c5688a7839
oops.. 2021-09-05 15:33:19 +02:00
Christoph Reiter
09475aabfd
clean up "ignore rdep" list 2021-09-05 09:08:35 +02:00
Christoph Reiter
79d4cbda1a
ignore rdeps: add mingw-w64-plasma-framework-qt5
until https://github.com/msys2/MINGW-packages/pull/9530 lands
2021-09-04 19:27:46 +02:00
Christoph Reiter
b738d09014 flake8 2021-08-28 11:45:32 +02:00
Christoph Reiter
10764cd166 Run everything with unbufferd stdout/err
Instead of flushing everywhere
2021-08-28 11:08:53 +02:00
Jeremy Drake
640d714345 flush stdout on a few prints that show up at odd times 2021-08-26 08:29:38 +02:00
Christoph Reiter
916fd75c11 MANUAL_BUILD: allow limiting for specific build types
qt5-static works fine with clang, so let CI handle that.
While at it unify the logic to also handle clangarm64.
2021-08-24 17:30:39 +02:00
Christoph Reiter
8d057042c4 Clean up IGNORE_RDEP_PACKAGES
These pacakges got fixed in the meantime
2021-08-24 17:21:07 +02:00
Christoph Reiter
10fdc3ec57 Download dependencies in parallel 2021-08-22 18:46:08 +02:00
Christoph Reiter
64a3c0b94e CI: fall back to GITHUB_TOKEN if GITHUBTOKENREADONLY is empty
Fixes #32
2021-08-22 18:36:21 +02:00
Christoph Reiter
842072fe55 Add all dependencies to the temp repo in one go
This should be faster since the pacman DB needs to be rebuild only once
2021-08-22 18:29:01 +02:00
Christoph Reiter
d37effda22 Use the dependency information from the API
Instead of hardcoding that mingw can depend on msys etc.
2021-08-22 18:11:46 +02:00
Christoph Reiter
975e479034 Port to new buildqueue API
No functional change
2021-08-22 17:50:18 +02:00
Christoph Reiter
b4c259019b Install the VCS group for jobs building source packages 2021-08-20 09:33:50 +02:00
Christoph Reiter
d028d3acbd fetch-assets: add --delete option to clear targetdir of unwanted files
This removes all files we no longer need from the target, while keeping
files where the mtime and size match and wont re-download them.

This is useful for keeping a directory in sync via a cron job for example.
2021-08-11 21:06:08 +02:00
Christoph Reiter
51666786b6 allow src.tar.zst again 2021-07-25 09:03:16 +02:00
Christoph Reiter
be1f0f71e0 thinko 2021-07-17 21:31:02 +02:00
Christoph Reiter
7f481fdb1a Simplify build order selection
It was selecting the middle one first and then filtered the list
to find the right build type. In many cases this results on not the
middle being built in the end.
2021-07-17 21:16:59 +02:00
Christoph Reiter
71e061429e Add back the third job 2021-07-17 19:55:27 +02:00
Christoph Reiter
e2279e671a fetch-assets: warn in case the mtime of the existing file is different 2021-07-17 19:50:12 +02:00
Christoph Reiter
41f566d371 When downloading an asset preserve the mtime
We take the update_date of the release asset as the mtime.
2021-07-17 19:46:19 +02:00
Christoph Reiter
082e6ba927 Move a function to its only user 2021-07-17 19:06:40 +02:00
Christoph Reiter
8618aa349c Create the referenced releases automatically 2021-07-17 19:04:33 +02:00
Christoph Reiter
ae604e8cac Add some more type annotations 2021-07-17 18:45:56 +02:00
Christoph Reiter
e45ceae224 Move some global state into a function 2021-07-17 18:30:50 +02:00
Christoph Reiter
788340e1bb Add libgda to broken packages
I tried to fix it but gave up. It segfaults at some point during the build.
2021-07-14 20:28:28 +02:00
Christoph Reiter
235648ed1b Remove third job again
We are hitting the api rate limit, so this doesn't add much
2021-07-13 19:04:41 +02:00
Christoph Reiter
44337498b1 use a separate limit for read only limits
it's the main bottle neck now, and there are not many write requests,
so keep them separate.
2021-07-13 06:07:17 +02:00