mirror of
https://github.com/borgbackup/borg.git
synced 2026-07-16 13:33:03 -04:00
CI: use ubuntu-26.04 runners, update binary glibc tag to 243
Bump all Ubuntu-based GitHub workflows from ubuntu-24.04 to ubuntu-26.04 (and ubuntu-24.04-arm to ubuntu-26.04-arm). Ubuntu 26.04 ships glibc 2.43, so rename the built binaries from glibc239 to glibc243. Use Python 3.14, there are no other Pythons yet on the runner. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> CI: use Python 3.14 on Ubuntu Currently, ubuntu-26.04 only has py314.
This commit is contained in:
parent
dd7be9ff52
commit
f8d1ea54b6
5 changed files with 22 additions and 29 deletions
2
.github/workflows/backport.yml
vendored
2
.github/workflows/backport.yml
vendored
|
|
@ -13,7 +13,7 @@ permissions:
|
|||
jobs:
|
||||
backport:
|
||||
name: Backport pull request
|
||||
runs-on: ubuntu-24.04
|
||||
runs-on: ubuntu-26.04
|
||||
timeout-minutes: 5
|
||||
|
||||
# Only run when pull request is merged
|
||||
|
|
|
|||
2
.github/workflows/black.yaml
vendored
2
.github/workflows/black.yaml
vendored
|
|
@ -21,7 +21,7 @@ concurrency:
|
|||
|
||||
jobs:
|
||||
lint:
|
||||
runs-on: ubuntu-24.04
|
||||
runs-on: ubuntu-26.04
|
||||
timeout-minutes: 5
|
||||
steps:
|
||||
- uses: actions/checkout@v7
|
||||
|
|
|
|||
8
.github/workflows/canary.yml
vendored
8
.github/workflows/canary.yml
vendored
|
|
@ -18,13 +18,7 @@ jobs:
|
|||
matrix:
|
||||
include:
|
||||
# A representative subset of environments
|
||||
- os: ubuntu-24.04
|
||||
python-version: '3.11'
|
||||
toxenv: py311-llfuse
|
||||
- os: ubuntu-24.04
|
||||
python-version: '3.12'
|
||||
toxenv: py312-pyfuse3
|
||||
- os: ubuntu-24.04
|
||||
- os: ubuntu-26.04
|
||||
python-version: '3.14'
|
||||
toxenv: py314-mfusepy
|
||||
- os: macos-15
|
||||
|
|
|
|||
35
.github/workflows/ci.yml
vendored
35
.github/workflows/ci.yml
vendored
|
|
@ -31,7 +31,7 @@ permissions:
|
|||
jobs:
|
||||
lint:
|
||||
|
||||
runs-on: ubuntu-24.04
|
||||
runs-on: ubuntu-26.04
|
||||
timeout-minutes: 5
|
||||
|
||||
steps:
|
||||
|
|
@ -40,7 +40,7 @@ jobs:
|
|||
|
||||
security:
|
||||
|
||||
runs-on: ubuntu-24.04
|
||||
runs-on: ubuntu-26.04
|
||||
timeout-minutes: 5
|
||||
|
||||
steps:
|
||||
|
|
@ -48,7 +48,7 @@ jobs:
|
|||
- name: Set up Python
|
||||
uses: actions/setup-python@v6
|
||||
with:
|
||||
python-version: '3.11'
|
||||
python-version: '3.14'
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
python -m pip install --upgrade pip
|
||||
|
|
@ -59,7 +59,7 @@ jobs:
|
|||
|
||||
asan_ubsan:
|
||||
|
||||
runs-on: ubuntu-24.04
|
||||
runs-on: ubuntu-26.04
|
||||
timeout-minutes: 25
|
||||
needs: [lint]
|
||||
|
||||
|
|
@ -73,7 +73,7 @@ jobs:
|
|||
- name: Set up Python
|
||||
uses: actions/setup-python@v6
|
||||
with:
|
||||
python-version: '3.12'
|
||||
python-version: '3.14'
|
||||
|
||||
- name: Install system packages
|
||||
run: |
|
||||
|
|
@ -141,19 +141,18 @@ jobs:
|
|||
${{ fromJSON(
|
||||
github.event_name == 'pull_request' && '{
|
||||
"include": [
|
||||
{"os": "ubuntu-24.04", "python-version": "3.11", "toxenv": "mypy"},
|
||||
{"os": "ubuntu-24.04", "python-version": "3.11", "toxenv": "docs"},
|
||||
{"os": "ubuntu-24.04", "python-version": "3.11", "toxenv": "py311-llfuse"},
|
||||
{"os": "ubuntu-24.04", "python-version": "3.12", "toxenv": "py312-pyfuse3", "store_cache": "1"},
|
||||
{"os": "ubuntu-24.04", "python-version": "3.14", "toxenv": "py314-mfusepy"}
|
||||
{"os": "ubuntu-26.04", "python-version": "3.14", "toxenv": "mypy"},
|
||||
{"os": "ubuntu-26.04", "python-version": "3.14", "toxenv": "docs"},
|
||||
{"os": "ubuntu-26.04", "python-version": "3.14", "toxenv": "py314-llfuse"},
|
||||
{"os": "ubuntu-26.04", "python-version": "3.14", "toxenv": "py314-pyfuse3", "store_cache": "1"},
|
||||
{"os": "ubuntu-26.04", "python-version": "3.14", "toxenv": "py314-mfusepy"}
|
||||
]
|
||||
}' || '{
|
||||
"include": [
|
||||
{"os": "ubuntu-24.04", "python-version": "3.11", "toxenv": "py311-llfuse"},
|
||||
{"os": "ubuntu-24.04", "python-version": "3.12", "toxenv": "py312-pyfuse3"},
|
||||
{"os": "ubuntu-24.04", "python-version": "3.13", "toxenv": "py313-mfusepy", "store_cache": "1"},
|
||||
{"os": "ubuntu-24.04", "python-version": "3.14", "toxenv": "py314-pyfuse3", "binary": "borg-linux-glibc239-x86_64-gh"},
|
||||
{"os": "ubuntu-24.04-arm", "python-version": "3.14", "toxenv": "py314-pyfuse3", "binary": "borg-linux-glibc239-arm64-gh"},
|
||||
{"os": "ubuntu-26.04", "python-version": "3.14", "toxenv": "py314-llfuse"},
|
||||
{"os": "ubuntu-26.04", "python-version": "3.14", "toxenv": "py314-mfusepy", "store_cache": "1"},
|
||||
{"os": "ubuntu-26.04", "python-version": "3.14", "toxenv": "py314-pyfuse3", "binary": "borg-linux-glibc243-x86_64-gh"},
|
||||
{"os": "ubuntu-26.04-arm", "python-version": "3.14", "toxenv": "py314-pyfuse3", "binary": "borg-linux-glibc243-arm64-gh"},
|
||||
{"os": "macos-15", "python-version": "3.14", "toxenv": "py314-none", "binary": "borg-macos-15-arm64-gh"},
|
||||
{"os": "macos-15-intel", "python-version": "3.14", "toxenv": "py314-none", "binary": "borg-macos-15-x86_64-gh"}
|
||||
]
|
||||
|
|
@ -386,7 +385,7 @@ jobs:
|
|||
contents: read
|
||||
id-token: write
|
||||
attestations: write
|
||||
runs-on: ubuntu-24.04
|
||||
runs-on: ubuntu-26.04
|
||||
timeout-minutes: 180
|
||||
needs: [lint]
|
||||
continue-on-error: true
|
||||
|
|
@ -712,7 +711,7 @@ jobs:
|
|||
uses: codecov/codecov-action@v7
|
||||
env:
|
||||
OS: ${{ runner.os }}
|
||||
python: '3.11'
|
||||
python: '3.14'
|
||||
with:
|
||||
token: ${{ secrets.CODECOV_TOKEN }}
|
||||
report_type: test_results
|
||||
|
|
@ -724,7 +723,7 @@ jobs:
|
|||
uses: codecov/codecov-action@v7
|
||||
env:
|
||||
OS: ${{ runner.os }}
|
||||
python: '3.11'
|
||||
python: '3.14'
|
||||
with:
|
||||
token: ${{ secrets.CODECOV_TOKEN }}
|
||||
report_type: coverage
|
||||
|
|
|
|||
4
.github/workflows/codeql-analysis.yml
vendored
4
.github/workflows/codeql-analysis.yml
vendored
|
|
@ -30,7 +30,7 @@ concurrency:
|
|||
jobs:
|
||||
analyze:
|
||||
name: Analyze
|
||||
runs-on: ubuntu-24.04
|
||||
runs-on: ubuntu-26.04
|
||||
timeout-minutes: 20
|
||||
permissions:
|
||||
actions: read
|
||||
|
|
@ -53,7 +53,7 @@ jobs:
|
|||
- name: Set up Python
|
||||
uses: actions/setup-python@v6
|
||||
with:
|
||||
python-version: 3.11
|
||||
python-version: 3.14
|
||||
- name: Cache pip
|
||||
uses: actions/cache@v6
|
||||
with:
|
||||
|
|
|
|||
Loading…
Reference in a new issue