Commit Graph

131 Commits

Author SHA1 Message Date
Christoph Reiter
3819baad92 CI: try --filter=blob:none instead
that seems to work better
2024-05-30 18:39:37 +02:00
Christoph Reiter
cd2d28041c CI: revert the treeless clone for the build job
git gets confused when we add another remote there, so revert
for now
2024-05-30 18:24:54 +02:00
Christoph Reiter
c02daa2412 CI: do a treeless clone in case we need the history
For cases where we pass "fetch-depth: 0" to get teh full history,
enable a treeless clone, since we only care about old commits, and
not much more.

This should speed up cloning in theory.
2024-05-29 21:53:16 +02:00
Christoph Reiter
f0566fe0ad CI: run grype to scan the sbom 2024-03-23 18:08:29 +01:00
Christoph Reiter
d79dc85af9 CI: generate and upload a SBOM 2024-03-19 09:07:01 +01:00
مهدي شينون (Mehdi Chinoune)
79e3d3cb6b CI: update configure-pagefile-action to 1.4 2024-02-02 17:29:46 +01:00
Christoph Reiter
2e39da1ee9 CI: Update actions/setup-python 2024-01-27 16:38:24 +01:00
Christoph Reiter
e1ccb5ea9c Reapply "update GitHub Actions"
This reverts commit 2dc3e02217.
2024-01-20 13:26:04 +01:00
Christoph Reiter
6c3e0d0e90 CI/check: use a fresh msys2
Like in the other steps.
The staging update makes it slower since that also updates other packages
provided by the host, and it updates packages installed by the action itself,
in case they are in staging.
2024-01-06 15:22:09 +01:00
Christoph Reiter
2dc3e02217 Revert "update GitHub Actions"
This reverts commit 2ea7c5a706.

It's broken: https://github.com/actions/download-artifact/issues/249
2024-01-05 17:57:04 +01:00
مهدي شينون (Mehdi Chinoune)
2ea7c5a706 update GitHub Actions 2023-12-14 19:30:33 +01:00
Christoph Reiter
42e5e74ba6 environment_request: some wording changes/fixes 2023-12-11 16:41:46 +01:00
Christoph Reiter
113ad5bb68 Add a new issue template for requesting a package to be built for a new environment
an MVP, to see how it looks
2023-12-11 15:52:40 +01:00
مهدي شينون (Mehdi Chinoune)
4428549b62 CI: Run package-grokker on both ucrt64 and clang64 2023-11-19 07:19:19 +01:00
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
4d807a5d40 CI: allow "Configure Pagefile" to fail
it can time out and we don't need it for all jobs, so just
allow errors for now.

See https://github.com/al-cheb/configure-pagefile-action/issues/16
2023-07-30 17:28:19 +02:00
Christoph Reiter
0958458dbc CI: remove winjitdebug
this should no longer be a problem with Python 3.11
2023-07-29 20:49:51 +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
Naveen M K
2837a2cc52 Merge pull request #16755 from naveen521kk/ci-check-strip
CI: check whether strip is disabled when using python-installer
2023-04-11 06:49:18 -07: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
Naveen M K
4667adf5bc CI: check whether strip is disabled when using python-installer
- This should avoid something like #16750 to occur
- this would require pacdb to be installed but it can be run
  without having it installed for "checking whether to run".
  For running the actual checks, pacdb is required.
- `pkgbase` is used to find the path to PKGBUILD for a given
  package.
- The db which contains the files of packages is used by default.
  files db is a superset of normal db, so using that should work.
2023-04-10 23:21:20 +05:30
Christoph Reiter
b72b01523e CI: remove saneman
I've never found it particular helpful and usually just ignored it.

One could argue that it could be improved to do what we want, but
I personally don't want to write that in bash.
2023-02-06 18:47:14 +01:00
Jeremy Drake
7c72e4a578 CI: simplify workflow for CLANGARM64
Now that it is enabled in pacman.conf and allowed as an msystem value in
setup-msys2.
2023-01-28 11:19:06 -08:00
Christoph Reiter
752ef871dd bug_report template: try to simplify it a bit
There are two main changes:

* Description and reproduction steps are merged at the top, so
  users don't descripe the bug and then later on have to fill
  out the steps again, possibly writing the same things twice slightly differently.
  This flow feels more natural imo.

* Recomend "uname" instead of "cmd.exe /c ver", the later is tricky
  because of path conversion of "/c", and uname has the same info basically.
2022-12-17 17:14:20 +01:00
Christoph Reiter
d02f79c47e CI: test building with a larger pagefile
It defaults to 1.8GB, bump it a bit so we can build
flang under clang64 which otherwise hits OOM

Use C: since we have 95GB free there and only 12GB on D:
2022-10-29 20:58:05 +02:00
Naveen M K
3b3fe12112 CI: Fix python ci-check 2022-10-27 11:12:14 -07:00
مهدي شينون (Mehdi Chinoune)
cc67e6544e CI: Move from deprecated set-output 2022-10-24 22:52:02 -07:00
مهدي شينون (Mehdi Chinoune)
e6df55ca1c CI: Use UCRT64 for python-pip check and package grokker 2022-10-10 18:50:02 +01:00
Christoph Reiter
3d846790f7 CI: enable_pcon is now the default so remove it 2022-10-08 14:06:48 +02:00
مهدي شينون (Mehdi Chinoune)
434d29a7d4 CI: unset VCPKG_ROOT
Recently GHA started defining VCPKG_ROOT environment variable (https://github.com/actions/runner-images/pull/6192).
So unset it to not let it autodetected and interfere with our build jobs.
2022-10-02 10:25:27 +01:00
Jeremy Drake
8b24a09c10 CI: only install ntldd if needed
Not an issue on fresh hosted runners, but on a re-used self-hosted
runner ntldd may already be installed.  It's only mildly annoying having
it reinstalled every run, but easy enough to fix.
2022-09-29 11:33:56 -07:00
Christoph Reiter
31a6f42666 update request template: swap input types for version and other info
Fixes #12997
2022-09-09 08:45:50 +02:00
مهدي شينون (Mehdi Chinoune)
55b9bc98e2 issue-templates: Add description to MINGW environments 2022-08-27 04:41:23 +01:00
مهدي شينون (Mehdi Chinoune)
6dfd20d920 issue-templates: Apply suggestion to get Windows version
Co-authored-by: Biswapriyo Nath <nathbappai@gmail.com>
2022-08-27 04:41:23 +01:00
مهدي شينون (Mehdi Chinoune)
6037804899 Add issue templates 2022-08-27 04:41:23 +01:00
Jeremy Drake
e44e707faa CI: uncomment clangarm64 and staging from pacman.conf instead of adding from scratch 2022-08-13 16:25:22 -07: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
a9b8f8e5d4 CI: set enable_pcon
To give it some testing in CI
2022-07-26 18:18:06 +02:00
Christoph Reiter
6ff1a1f8a6 CI: upload a process minidump in case something crashes
In case something crashes in CI this will show us some
information on which program crashed and why.

We register procdump as a JIT debugger which dumps the process
memory into a new file if triggered. To enable the JIT debugger
in the context of cygwin we need to set MSYS=winjitdebug.

The resulting dump file can for example be analyzed with
minidump-stackwalk or minidump_stackwalk
2022-07-23 18:51:36 +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
Christoph Reiter
53c3d93165 CI: stop adding the clang32 repo
it should be there by default now
2022-05-04 19:18:04 +02:00
Jeremy Drake
2d1b951719 Add CI label to commented ARM64 runner selection.
This will allow me to label runners according to whether I want them to
run autobuild or CI jobs (or both, theoretically).

See also msys2/msys2-autobuild#56
2022-04-18 17:41:14 -07:00