Commit Graph

64 Commits

Author SHA1 Message Date
Christoph Reiter
e43a0ec6ae CI: switch to windows-2022 2021-12-10 13:47:52 +01:00
Christoph Reiter
b998b04522 CI: don't install binutils
I think this was added for "strip.exe", but that should be used from the
active toolchain in PATH now.

It's not there in autobuild as well.
2021-11-27 14:59:05 +01:00
Christoph Reiter
c9d4607092 CI: make sure staging is always first so it takes precedence 2021-11-25 19:12:23 +01:00
Jeremy Drake
a62380ea27 Comment out CLANGARM64 matrix entry
There will be no runner to run it.
2021-11-19 16:56:34 -08:00
jeremyd2019
d3f7aecd76 hack around setup-msys2 not liking CLANGARM64 2021-11-19 16:52:10 -08:00
jeremyd2019
cf18d0a9f4 CI: try to make work on ARM64 runner
always use x64 python, there is no arm64 python registered with github
actions

don't persist git credentials, clean up c:\_ copy
2021-11-19 16:51:59 -08:00
Mehdi Chinoune
00dbdbcfe1 CI: Change MSYS2 default Installation location 2021-11-03 14:02:31 +01:00
Konstantin Podsvirov
6b3d8dd30a Fix main workflow: pactoys-git -> pactoys 2021-11-03 12:09:10 +03:00
Mehdi Chinoune
d85dba2343 [NFC] CI: Get CPU Name
Just to know if the CI is using a slow or a fast CPU.
2021-10-28 09:41:09 +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
Mehdi Chinoune
f310e25019 [GHA] Cancel previous workflows in the same branch/pull-request
${{ github.ref }} equal to 'refs/heads/branch' if the event is "push" and It is equal to 'refs/pull/#pr/megre' for a pull-request.
2021-08-31 09:02:07 +01:00
jeremyd2019
bd9f3b3137 CI: don't install msys2-devel
These tools are not present in autobuild, and may cause confusion with the proper MINGW tools
2021-08-28 13:22:55 -07: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
4ef6a66f80 CI: install the VCS group instead of git alone
so we can build source packages using mercurial for example
2021-08-20 09:08:05 +02:00
Mehdi Chinoune
d2f251e658 [CI] Remove packages from single PKGBUILD at once
1- Sometimes a single PKGBUILD produce many packages, which make it not possible to remove an earlier (alphabetically) package before its dependent package. and that package will stay installed.

2- Ensure that the toolchain is installed in case the previous package is a part of it and get removed.
2021-08-05 05:08:19 +01:00
Jeremy Drake
dac23adcbd CI: don't run on master branch on any fork.
Per discussion on discord, most use their master branch to mirror
upstream, and do not need CI to run when they sync.
2021-07-16 16:38:20 -07:00
Jeremy Drake
8799a4c9d9 CI: use mirrorlist for clang32.
Now that there is one, use it and potentially reduce load on
repo.msys2.org
2021-06-30 11:40:06 -07:00
jeremyd2019
fc7c60c8fc ci: explicitly install pactoys-git
For some reason it seems to have stopped being installed, so do it explicitly.

Fixes msys2/MSYS2-packages#2524
2021-05-30 12:30:36 -07:00
Naveen M K
3588ee7ba4 Don't run on rebuilding python itself 2021-05-19 11:03:44 +05:30
Christoph Reiter
ae7a382ddb CI: add a clang32 job 2021-05-18 20:30:46 +02:00
Christoph Reiter
a009a1e0e2 Merge pull request #8689 from naveen521kk/pip-check
Add a pip check
2021-05-18 20:18:46 +02:00
Christoph Reiter
705ba7058e CI: Trigger a website update after updating srcinfo.json 2021-05-16 19:32:36 +02:00
Naveen M K
585b8b3a13 Run some after install check
For python packages and dependencies

Signed-off-by: Naveen M K <naveen@syrusdark.website>
2021-05-16 16:42:56 +05:30
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
62c22f9c4b Revert "CI: move continue-on-error from steps to job"
This reverts commit 62da4e29b9.

While this might make dependant jobs continue it marks the job as failed
which is not what we want right now because it confuses users.
2021-04-25 13:55:47 +02:00
Christoph Reiter
fb287e86c6 CI: stop running builds on the master branch
No one looks at them really, and they just consume resources.
We still run them on forks, PRs and feature branches.
2021-04-24 18:11:24 +02:00
Christoph Reiter
f11b3d2a81 CI: add write permissions for the upload-srcinfo job 2021-04-24 17:50:22 +02:00
Christoph Reiter
2ee0c32557 CI: add a clang64 job
Allowed to fail for now until we get filtering.
2021-04-23 19:37:58 +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
Jeremy Drake
62da4e29b9 CI: move continue-on-error from steps to job
See
https://github.blog/changelog/2020-04-15-github-actions-new-workflow-features/#expressions-in-jobcontinue-on-error
2021-04-10 13:03:00 -07:00
Christoph Reiter
3aa9596811 CI: fail if ucrt64 fails, and enable it by default for mingw_arch 2021-04-04 16:39:38 +02:00
Christoph Reiter
5dcff9fd63 riscv64-unknown-elf-gcc: fix a syntax error 2021-04-02 11:22:09 +02:00
umarcor
22f1b671d7 MINGW_INSTALLS is deprecated, use MINGW_ARCH instead 2021-03-29 05:10:18 +02:00
Christoph Reiter
8079a39678 CI: always set a job name
So we can reference it as a merge requirement and it doesn't change
2021-03-26 20:22:38 +01:00
Christoph Reiter
4e952a7445 CI: try to not fail if ucrt fails 2021-03-26 16:52:42 +01:00
Christoph Reiter
c89ba9e4d6 CI: test with UCRT64
Will likely fail in many cases, we'll see
2021-03-26 16:40:36 +01:00
Christoph Reiter
1462a34442 CI: use the staging repo
This should allow us to build against packages already merged
but not in the repo.
2021-02-28 15:00:20 +01:00
Christoph Reiter
597070cc5c CI: also install msys2-devel
While we don't need it, it's installed in autobuild because it builds
both msys and mingw packages.

We want both environments to be the same, so also install it here.
2021-02-06 14:38:47 +01:00
Christoph Reiter
cb068023d9 CI: install Python to match the autobuild env
Fixes #7888
2021-02-06 14:02:10 +01:00
Christoph Reiter
7432ae30e9 gha: makepkg wants strip.exe to be in PATH
Related: https://github.com/msys2/MSYS2-packages/issues/2285
2020-12-28 15:35:07 +01:00
Christoph Reiter
0bb4259c28 CI: always run in a MSYS shell
To match what autobuild does, see https://github.com/msys2/MSYS2-packages/issues/2285
2020-12-28 09:41:32 +01:00
Christoph Reiter
d7332ab095 Move CI scripts into a subdir 2020-12-21 20:13:19 +01:00
Christoph Reiter
48b17eedc1 Revert "CI: add a third job using pkgconf instead of pkg-config"
This reverts commit ff041c60df.
2020-11-22 19:50:29 +01:00
Christoph Reiter
7289a732ac CI: don't upload source packages
For some reason this fails a lot of times (GH just gives "Internal Server Error")
2020-11-06 10:46:39 +01:00