Commit graph

76 commits

Author SHA1 Message Date
Thomas Waldmann
5f6c794cb0
CI: build linux binaries with pyfuse3 2026-02-14 15:04:45 +01:00
Thomas Waldmann
af232a539c
CI: use macos-15 to build the binaries
Github EOLed the macOS 13 Intel runner and only
supports Intel on macOS 15 from now on.

Let's also use macOS 15 for the Apple Silicon build.
2025-12-16 20:22:22 +01:00
Thomas Waldmann
1298840de0
CI: increase timeout 2025-12-02 11:04:56 +01:00
Thomas Waldmann
9f61c1c693
freebsd: fix upload name for artifact zip 2025-12-02 08:59:33 +01:00
Thomas Waldmann
c845565c4a
CI: FUSE related fixes/improvements (1.4-maint)
fixes #9182

- install OS fuse support packages as indicated by the tox env
  on the macOS runners, we do not have any fuse support.
  on the linux runners, we may have fuse2 or fuse3.
  on FreeBSD, we have fuse2.
- install fuse python library for binary build
- first build/upload binaries, then run tests (including binary tests).
  early uploading makes inspection of a malfunctioning binary possible.
- for now, use llfuse, as there is an issue with pyinstaller and pyfuse3.

Also:
- remove || true - this just hides errors, not what we want.
2025-11-30 10:54:46 +01:00
Thomas Waldmann
c43a78accf
freebsd/netbsd: set and display full hostname 2025-11-29 18:37:24 +01:00
Thomas Waldmann
4525e8dfe6
rename posix_tests -> native_tests 2025-11-21 23:53:23 +01:00
Thomas Waldmann
a022d5623c
CI: backport vm_tests (FreeBSD/NetBSD/OpenBSD/Haiku) from master branch 2025-11-21 21:55:29 +01:00
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