Commit graph

68 commits

Author SHA1 Message Date
Thomas Waldmann
5b92b86e13
CI: do dynamic code analysis, #6819
Use:
- AddressSanitizer ASan
- UndefinedBehaviorSanitizer UBSan

(cherry picked from commit add19da678)
2025-11-21 19:13:54 +01:00
Thomas Waldmann
a25856a33d
ci: add tag-based workflows and provenance attestation for GitHub-built binaries
backport of #9135 and #9136.
2025-11-02 22:06:08 +01:00
Thomas Waldmann
cb0157ca55
drop Python 3.9 (EOL'ed by python.org) 2025-11-01 13:09:28 +01:00
Thomas Waldmann
687c34e89b
CI: fix indentation in windows.yml 2025-10-15 17:42:12 +02:00
Thomas Waldmann
4d6ad22353
go back to macOS 13 for Intel
there are no other free macOS Intel gh
action runners for opensource projects. :-(

the macOS 13 runner is deprecated, so guess
it will be game-over for macOS Intel 2025-12.
2025-10-14 22:50:07 +02:00
Thomas Waldmann
d595f04398
fix macos-14 label
macos-14-intel does not exist (yet?).
2025-10-14 22:33:38 +02:00
Thomas Waldmann
1a75569590
use macos-14 for the intel binary
the macOS 13 runner is already deprecated
and going away in 2 months already.
2025-10-14 22:16:08 +02:00
Thomas Waldmann
1759ff295a
ci: check out exact tag during tagged commit builds 2025-10-14 19:30:28 +02:00
Thomas Waldmann
815aa560ac
ci: improved tagged commit detection 2025-10-14 19:27:28 +02:00
Thomas Waldmann
5a3a0c4808
ci: build and test binaries only for tagged commits 2025-10-14 18:32:48 +02:00
Thomas Waldmann
a768027de6
binaries: don't use .exe extension 2025-10-14 15:36:39 +02:00
Thomas Waldmann
43a39f5f08
binaries: directly give the binary name 2025-10-14 15:23:56 +02:00
Thomas Waldmann
8a4782d1aa
ci: speed up pull requests
only run py39 fuse2 ubuntu 22.04 and py314 fuse3 ubuntu 24.04.
there are no binary builds in these matrix entries.

the macOS runners are usually super slow.
testing all pythons and building binaries consumes quite some
resources.
thus, only do that on "push" (e.g. when the PR is merged).
2025-10-14 15:23:54 +02:00
Thomas Waldmann
33ab2dc688
binary builds for macOS and Ubuntu 2025-10-14 15:23:53 +02:00
Thomas Waldmann
116c2eee23
ci: add GitHub Actions workflow for building binaries on macOS 2025-10-14 00:12:49 +02:00
Thomas Waldmann
4915c26795
test on Python 3.14 (w/o -dev) 2025-10-09 17:36:03 +02:00
Thomas Waldmann
1bb32057d2
github workflows: fix typos and grammar 2025-08-12 11:15:11 +02:00
Thomas Waldmann
779a94bb20
support Python 3.14 2025-07-25 13:36:31 +02:00
Thomas Waldmann
f3a61ae350
CI: test on ubuntu 22.04 or 24.04
20.04 was removed.
2025-04-17 15:17:57 +02:00
Thomas Waldmann
69151c7a1a
support and test on Python 3.13 2024-12-25 13:49:01 +01:00
Thomas Waldmann
de913cc251
github CI: windows msys2 build: broken, disable it for now, see #8264 2024-07-07 14:42:02 +02:00
Thomas Waldmann
b9617928d4
github CI: fix PKG_CONFIG_PATH for openssl 3.0 2024-05-12 14:59:02 +02:00
Thomas Waldmann
28bd4d1bc6
github CI: misc updates
- move most Linux tests to ubuntu 22.04
- macOS: run on macos-14 (on Apple Silicon!)
- macOS: use OpenSSL 3.0 from brew
- macOS: run with Python 3.11
- pip install -e .: add -v
- trigger CI run for changed .toml files
- use up-to-date github actions
- remove libb2 references - since borg 1.2, we use blake2 indirectly via python stdlib
2024-03-15 16:38:30 +01:00
Thomas Waldmann
009a88626f
gh actions: increase timeout
especially the macos workers are sometimes
extremely slow.
2024-01-30 00:39:53 +01:00
Stephen
bfe81ab1d7
github CI (macOS): use brew bundle install (uses Brewfile) 2024-01-14 19:53:45 +01:00
Thomas Waldmann
915e58653b
replace flake8 by ruff 2023-12-25 04:20:15 +01:00
Thomas Waldmann
84df37a19f
use less setup.py, use pip and build
todo: clean clean2 build_usage build_man
2023-12-24 20:50:19 +01:00
Thomas Waldmann
6b402896a6
require python >= 3.9, drop py38, fixes #6383 2023-12-24 03:01:21 +01:00
Thomas Waldmann
39a48d50cd
github ci / codeql: use 1.4-maint branch 2023-12-23 21:24:44 +01:00
Thomas Waldmann
dff29627dc
CI: increase timeout to 90min
esp. the macOS CI jobs are sometimes rather slow,
so 40min were not enough.
2023-10-27 22:30:52 +02:00
Thomas Waldmann
d6ad508a29
github CI: test on py312 (w/o -dev) 2023-10-08 00:20:31 +02:00
Thomas Waldmann
ce274aa11c
test on python 3.12-dev 2023-09-25 15:29:30 +02:00
Thomas Waldmann
54d8636a2d
codeql action: upgrade to v2 2023-03-27 16:28:19 +02:00
TW
5704c4d887
Merge pull request #7215 from ThomasWaldmann/github-actions-updates-1.2
GitHub actions updates (1.2-maint)
2022-12-17 21:39:07 +01:00
Thomas Waldmann
96d36e32cb
github CI: set PKG_CONFIG_PATH again
strange: on macOS, the globally set PKG_CONFIG_PATH was overwritten,
thus the borg build did not find openssl any more. setting it here
locally again works around the issue.
2022-12-17 20:27:49 +01:00
Thomas Waldmann
dd8e5487e3
github CI: prepend to PKG_CONFIG_PATH 2022-12-17 20:27:39 +01:00
Thomas Waldmann
0849ef25de
github CI: use actions/cache@v3 2022-12-17 20:02:52 +01:00
Thomas Waldmann
b69721ebe0
no fail fast, just checking... 2022-12-17 18:48:41 +01:00
Thomas Waldmann
fe1c89e5ba
github CI: use actions/setup-python@v4
should fix the node12 deprecation warning.
2022-12-17 18:33:26 +01:00
Thomas Waldmann
bb1c132bbc
github CI: use actions/checkout@v3
should fix the node12 deprecation warning.
2022-12-17 18:33:12 +01:00
Thomas Waldmann
73097c8162
github CI: use ubuntu-20.04 (not -latest)
affects only the lint job, everything else used 20.04 already.
2022-12-17 18:33:06 +01:00
Thomas Waldmann
e66d8c399b
fix tox4 passenv issue, fixes #7199
also: have a setting to disable fail-fast, in case something breaks again.
2022-12-10 19:55:28 +01:00
Thomas Waldmann
822a23da92
github CI: use python 3.11 (not -dev) 2022-11-20 17:58:43 +01:00
Rayyan Ansari
e8dd5c449e
Add new Windows build scripts and CI with GitHub and MSYS2 [backport]
Fixes #7105
2022-10-27 16:56:08 +01:00
Thomas Waldmann
9fb9508f4b CI: test on macOS 12 without fuse / fuse tests
too troublesome on github CI due to kernel extensions needed by macFUSE.
2022-07-27 23:10:10 +02:00
Thomas Waldmann
d1ef35b4f0 CI: also test on python 3.11-dev 2022-06-03 10:05:56 +02:00
aspargas2
2425f54bdb tweak what is backported, as requested
- don't backport `pyproject.toml` or related changes
- install some additional -dev packages with `apt-get` for CodeQL
- run CodeQL in a python venv
2022-03-07 10:14:22 -05:00
Thomas Waldmann
4fb6df813a fix codeql complaining about missing headers needed by borg
thus:
- install requirements first
- codeql init
- build borg
- codeql analyzse
2022-03-05 23:28:37 -05:00
aspargas2
aa27294927 fix codeql complaining about missing cython
backports commits 6cbb7d6, 142bb0e, 4df8255, and 30c145e
2022-03-05 23:21:20 -05:00
Thomas Waldmann
412e39b898 fix wrong branch name in github actions 2022-03-04 22:50:23 +01:00