Befator
50276fb9a2
More fixes
test / test (ubuntu-24.04, 3.12) (push) Has been cancelled
test / test (ubuntu-24.04, 3.13) (push) Has been cancelled
test / test (windows-11-arm, 3.12) (push) Has been cancelled
test / test (windows-11-arm, 3.13) (push) Has been cancelled
test / test (windows-2022, 3.12) (push) Has been cancelled
test / test (windows-2022, 3.13) (push) Has been cancelled
test / zizmor (push) Has been cancelled
build / schedule (push) Has been cancelled
build / ${{ matrix.name }} (push) Has been cancelled
2025-10-18 19:19:29 +02:00
Befator
84c03f504e
Giteafication
test / test (windows-11-arm, 3.13) (push) Waiting to run
test / test (ubuntu-24.04, 3.12) (push) Waiting to run
test / test (ubuntu-24.04, 3.13) (push) Waiting to run
test / test (windows-11-arm, 3.12) (push) Waiting to run
test / test (windows-2022, 3.12) (push) Waiting to run
test / test (windows-2022, 3.13) (push) Waiting to run
test / zizmor (push) Waiting to run
2025-10-17 19:45:13 +02:00
Christoph Reiter
553846537b
add some debug logs for JOB_CHECK_RUN_ID
...
seems like it's not there in some cases (?)
2025-10-05 09:49:19 +02:00
Christoph Reiter
c6213b4d1a
Partly remove hack to fetch the current job ID
...
GH runner now exposes a "job.check_run_id" in the template
language, which we can use directly for the API to fetch
information about the job currently in progress.
Previously we looked through all active jobs and matched them
by name.
There is no env var for job.check_run_id, so we have to set the
env var in the yaml file still.
2025-10-03 22:16:09 +02:00
Christoph Reiter
ecd1d51f4d
Use native arm64 Python
2025-09-17 11:11:28 +02:00
Christoph Reiter
fd1952d205
Update mypy
2025-09-17 10:59:55 +02:00
Christoph Reiter
19926ce9c5
Update requirements.txt
...
missed it
2025-09-17 10:29:34 +02:00
Christoph Reiter
33a052a413
Update deps
2025-09-17 10:18:31 +02:00
Christoph Reiter
59740a3f2e
Port to PEP 735
...
And depend on poetry 2.2.
This allows one to use uv instead of poetry if wanted.
Add .venv to flake8 ignore since that's the uv default.
Also update deps while at it, and specify a license.
2025-09-14 21:43:15 +02:00
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