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