Christoph Reiter
4704486d49
Update deps; require PyGithub 2.8.1
...
move to the new digest property
2025-09-09 09:44:28 +02:00
Christoph Reiter
dc632d9934
build: custom makepkg config for building
...
During the build create a temporary config file in makepkg.conf.d
which changes some defaults.
For starters this sets the zstd compression, and bumps it for source
builds.
This allows us to make the default zstd config faster, while compressing
with a higher level in autobuild.
2025-08-28 19:00:00 +02:00
Christoph Reiter
3687fa3a0b
Fix condition for selecting msys build
...
this happened to work by accident via substring match, and being
the last condition
2025-08-26 22:21:19 +02:00
Christoph Reiter
42b02362e1
Use ruff to upgrade code
2025-08-26 22:05:51 +02:00
Christoph Reiter
05abf4e953
Assume os.path.isjunction is available
...
now that we depend on Python 3.12+
2025-08-26 22:05:51 +02:00
Christoph Reiter
a3bae5a40c
Drop support for Python 3.11
...
We kinda depend on os.path.isjunction, so just drop it
2025-08-26 22:05:43 +02:00
Christoph Reiter
456089ba22
Remove old compat code
2025-08-26 21:32:32 +02:00
Christoph Reiter
d15bda6f83
CI: update actions/checkout
2025-08-25 09:49:26 +02:00
Christoph Reiter
de38d16edd
Update deps
2025-08-25 09:48:02 +02:00
Christoph Reiter
fd77359a5a
Drop support for Python 3.10
2025-08-01 08:26:25 +02:00
Christoph Reiter
3581de3619
fix Generator usage with older Python
...
it doesn't have defaults there, so pass None
2025-08-01 08:19:56 +02:00
Christoph Reiter
84d3306857
Update mypy
2025-08-01 08:16:45 +02:00
Christoph Reiter
5bbfb7bb18
Verify checksums when downloading assets
...
In the last few weeks (I think) GH added checksums to the API reponses
for release assets. Use them to verify the downloaded files.
Also bump the chunk size a bit while at it, it was quite small..
2025-08-01 08:13:06 +02:00
Christoph Reiter
69ce064955
Update pygithub
...
there are API changes, so bump the minimum
2025-08-01 07:56:41 +02:00
Christoph Reiter
ab3c2437e8
Update deps
2025-07-22 06:38:31 +02:00
Christoph Reiter
70dec0bd33
CI: revert to windows-2022 for now
...
see https://github.com/msys2/MINGW-packages/pull/24677#issuecomment-3017919467
2025-06-30 08:22:56 +02:00
Christoph Reiter
54197e6af4
Update deps
2025-06-20 20:16:36 +02:00
Christoph Reiter
c237bc163a
Update deps
2025-06-13 10:26:44 +02:00
Christoph Reiter
5f5d7aafa2
update default cycle breakers for winpthreads rename
2025-06-08 10:12:46 +02:00
Christoph Reiter
5c2504702e
Update deps
2025-06-02 09:22:39 +02:00
Christoph Reiter
776a26e021
Update deps
2025-05-25 15:46:04 +02:00
Christoph Reiter
999e4e9327
Try to match the install paths of the packages CI more closely
...
Things are failing and the only difference in the logs are paths, so
try to get rid of that difference at least.
2025-05-19 09:32:07 +02:00
Christoph Reiter
3a5fc4c416
Update deps
2025-05-04 19:46:18 +02:00
Christoph Reiter
663b7acdc1
zizmor: allow unpinned setup-msys2
...
we trust our own code
2025-04-28 06:31:28 +02:00
Christoph Reiter
e8d10d7e9e
config: switch to windows-11-arm for clangarm64
2025-04-16 19:59:15 +02:00
Christoph Reiter
caa6a73b53
CI: remove useless condition
...
as pointed out in https://github.com/msys2/msys2-autobuild/pull/112/files#r2047370653
if release==false then the location is not used anyway
2025-04-16 19:54:04 +02:00
Christoph Reiter
839b8befc3
config: fold MAXIMUM_BUILD_TYPE_JOB_COUNT into RUNNER_CONFIG as well
2025-04-16 07:24:19 +02:00
Christoph Reiter
a2fb8db0e7
config: add more runner specific config
...
instead of hardcoding them in multiple places
2025-04-16 06:34:39 +02:00
Christoph Reiter
311b4cd295
CI: run tests on windows-11-arm
...
force x64 Python still since installing our deps still fails
for arm64 there
2025-04-16 06:34:39 +02:00
Christoph Reiter
0d471ea5b7
build: try removing junctions before calling git clean
...
See https://github.com/msys2/msys2-autobuild/issues/108#issuecomment-2776420879
It looks like git can under some circumstances hang forever when trying
to clean the checkout when there are junction loops. So try to remove
them manually before calling git clean.
Fixes #108
2025-04-11 14:11:50 +02:00
Christoph Reiter
8d9cbcb54c
Update deps
2025-04-11 10:52:11 +02:00
Christoph Reiter
23845c53e0
Update deps
2025-03-29 12:37:12 +01:00
Christoph Reiter
e9e823c2e7
build: try to use actions/cache@v4 for pip caching
...
To work around https://github.com/actions/setup-python/issues/1050
2025-03-12 06:48:14 +01:00
Christoph Reiter
fe4bcd08a9
CI: disable "update-environment" for "setup-python"
...
setup-python, by default, sets various cmake and pkg-config env
vars, so that packages using cmake can be built. Since this might
interfere with out package builds disable it.
We only care about the Python executable itself, so use the action
output to create the venv.
2025-03-10 08:38:48 +01:00
Christoph Reiter
47cc05c39f
CI: also use a venv for the Windows build job
...
To be more isolated from the host system
2025-03-10 08:30:20 +01:00
Christoph Reiter
a2ebb72da0
CI: use a venv for the linux jobs
...
To gain more isolation from the host
2025-03-09 19:26:37 +01:00
Christoph Reiter
4413e41389
Port to PEP 621
...
only dev deps left, for that we need PEP 735 which isn't in poetry yet
2025-03-07 16:41:28 +01:00
Christoph Reiter
d45f6720f4
CI: move to Python 3.13
2025-03-07 12:06:20 +01:00
Christoph Reiter
e2042058f1
gh: improve repo caching
...
We were caching based on the build type, but for most build types the repo
is the same, so cache one level below instead.
2025-03-07 12:04:27 +01:00
Christoph Reiter
bb54adc298
Add verbosity option and write logs to stderr by default
...
default is warning, -v means info, -vv means debug
2025-03-07 12:04:27 +01:00
Christoph Reiter
1ef3f8f5f5
Use new pygithub global lazy feature
...
Requires 2.6.0. Means data is only fetched if it is accessed,
so fewer API calls for us (hopefully).
2025-03-07 12:04:21 +01:00
Christoph Reiter
ca6dd299ee
Update dependencies
2025-03-07 11:02:48 +01:00
Christoph Reiter
5f9bed8409
CI: remove VCPKG_ROOT workaround
...
This was to avoid breakage from https://github.com/actions/runner-images/pull/6192
But it was reverted in the image long ago: https://github.com/actions/runner-images/issues/6376
2025-03-07 10:07:04 +01:00
Christoph Reiter
625631832e
CI: derive the build root from GITHUB_WORKSPACE
...
On hosted runners this means D:, on self-hosted it
will point to C: if there is only one drive.
2025-03-06 00:27:11 +01:00
Christoph Reiter
7ec5a79b46
CI: build on D: instead of C:
...
Related to 796ec1c1ba
D: is both faster and has more free space compared to C: with the current runner setup.
2025-03-05 23:19:23 +01:00
Christoph Reiter
a187346d08
Update deps
2025-02-15 15:11:06 +01:00
Christoph Reiter
b442168127
build: delete all junctions before calling "git clean"
...
git clean can't deal with junctions and in case there is a loop
it follows them forever (or until stack overflow).
https://github.com/git-for-windows/git/issues/5320
To work around this try to delete all junctions in the clean
re-try code path.
Fixes #108
2025-01-31 16:01:13 +01:00
Christoph Reiter
bdd38ec73c
Update deps
2025-01-25 07:32:02 +01:00
Christoph Reiter
98f6ea2875
CI: set default permissions to make newer zizmor happy
2025-01-19 09:27:23 +01:00
Christoph Reiter
a977f9deb9
remove leftover debug print
2025-01-11 08:58:12 +01:00