Commit Graph

37 Commits

Author SHA1 Message Date
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
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
Christoph Reiter
808bd29fa7 CI: use Python 3.11 2023-05-30 17:37:02 +02:00
Christoph Reiter
3aa67a662c update-srcinfo: pass the python interpreter path to pipx
otherwise it will default to python on the image, which is 3.9
2023-05-30 17:33:13 +02:00
Christoph Reiter
8f29aa2f29 CI: remove lint_pkgbuild hackery
this is now disabled by default in makepkg
2023-04-11 08:03:24 +02:00
Christoph Reiter
656d5b5abc Revert "CI: try to cache pip downloads"
This reverts commit 8ed4b873f4.
2023-04-11 07:22:22 +02:00
Christoph Reiter
8ed4b873f4 CI: try to cache pip downloads 2023-04-11 07:15:06 +02:00
Christoph Reiter
a21c9beca9 CI: move ci-generate-srcinfo into msys2-devtools 2023-04-11 06:53:38 +02: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
63cb78a4b9 generate-srcinfo: compress the json file
The content for all environments is very similar, so this compresses
really well.
2022-07-22 17:39:32 +02:00
Mehdi Chinoune
4b13ec07cd GHA: update actions to v3 (node16) 2022-03-07 07:35:40 +01:00
Christoph Reiter
463763bd00 CI: create a dummy strip.exe instead of installing binutils
When parsing PKGBUILDs it wont be used, but makepkg requires
it to be in PATH anyway.
2022-01-09 20:53:35 +01:00
Christoph Reiter
880f0c9ff3 CI: remove workaround for makepkg-mingw complaining about the toolchain missing
makepkg-mingw no longer emits those warnings
2022-01-09 20:16:41 +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
b4cc23ea37 generate-srcinfo: add names for all custom steps 2021-09-12 17:50:06 +02:00
Christoph Reiter
02a372f557 upload-srcinfo: pass a repo
otherwise it tries to fetch from .git, which doesn't exist here
2021-09-12 16:42:30 +02:00
Christoph Reiter
ad501c202f CI: use the GH cli to upload the srcinfo cache
Does all we need here and doesn't need docker
2021-09-12 16:37:17 +02:00
Christoph Reiter
602084216d Forgot to remove the default shell 2021-09-12 16:20:49 +02:00
Christoph Reiter
696f844b4e generate-srcinfo: use native Python and git
Should make things a bit faster, and more reliable.
2021-09-12 16:17:56 +02:00
Christoph Reiter
22ad01c8ac CI: skip lint_pkgbuild when generating the srcinfo 2021-09-12 11:18:49 +02:00
Jeremy Drake
0263ebda7d CI: use -u (unbuffered) option to python
for generate-srcinfo.  It prints out as it parses each PKGBUILD, but
that's never seen while the job is running.
2021-08-26 10:27:39 -07:00
Christoph Reiter
705ba7058e CI: Trigger a website update after updating srcinfo.json 2021-05-16 19:32:36 +02:00
Christoph Reiter
a9d0da3322 update-srcinfo: clang32 uses clang.. 2021-04-25 15:36:27 +02:00
Christoph Reiter
841fdace5f update-srcinfo: silence warnings for clang builds 2021-04-25 15:26:05 +02:00
Christoph Reiter
f11b3d2a81 CI: add write permissions for the upload-srcinfo job 2021-04-24 17:50:22 +02:00
Christoph Reiter
17bdbfcdc8 CI: only one generate-srcinfo at any time
this makes sure the last one uploads last
2021-04-21 21:45:03 +02:00
Christoph Reiter
5dcff9fd63 riscv64-unknown-elf-gcc: fix a syntax error 2021-04-02 11:22:09 +02:00
Christoph Reiter
d7332ab095 Move CI scripts into a subdir 2020-12-21 20:13:19 +01:00
Christoph Reiter
bc14fb2717 CI: makepkg wants strip.exe in PATH 2020-10-25 08:44:08 +01:00
Christoph Reiter
8736a53ca9 CI: Try to speed up generate-srcinfo setup
makepkg-mingw wants toolchains to be installed, but we don't really need them.
2020-10-25 08:33:36 +01:00
jeremyd2019
c06fff7cc0 CI: disable update-srcinfo on forks
This workflow is meant to generate a file that msys2-web consumes, and just generates meaningless errors on forks.  Forks can still trigger the workflow via workflow_dispatch, for developing/testing the workflow.
2020-08-21 21:47:04 -07:00
Christoph Reiter
873f8d33f1 generate-scrinfo: make curl fail if the download fails 2020-08-18 20:13:31 +02:00
Christoph Reiter
daf1da0686 Add a CI job for creating SRCINFO for all packages in the repo
It caches them on a github release and updates them as the repo changes.

This will be used by packages.msys2.org to show the content of the repo.
2020-08-18 18:56:52 +02:00