Merge pull request #2095 from yambati03/ubuntu-2004-deprecation

Bump minimum Ubuntu runner version to 22.04
release/4.3a0
Yashas Ambati 2025-04-16 20:09:48 -04:00 committed by GitHub
commit 718fa46151
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 26 additions and 26 deletions

View File

@ -3,9 +3,9 @@ name: Linux CI
on:
pull_request:
paths-ignore:
- '**.md'
- '**.ipynb'
- 'myst.yml'
- "**.md"
- "**.ipynb"
- "myst.yml"
# Every time you make a push to your PR, it cancel immediately the previous checks,
# and start a new one. The other runner will be available more quickly to your PR.
@ -30,9 +30,9 @@ jobs:
# Github Actions requires a single row to be added to the build matrix.
# See https://help.github.com/en/articles/workflow-syntax-for-github-actions.
name: [
# "Bracket" the versions from GCC [9-14] and Clang [9-16]
ubuntu-20.04-gcc-9,
ubuntu-20.04-clang-9,
# "Bracket" the versions from GCC [9-14] and Clang [11-16]
ubuntu-22.04-gcc-9,
ubuntu-22.04-clang-11,
ubuntu-24.04-gcc-14,
ubuntu-24.04-clang-16,
]
@ -40,15 +40,15 @@ jobs:
build_type: [Debug, Release]
build_unstable: [ON]
include:
- name: ubuntu-20.04-gcc-9
os: ubuntu-20.04
- name: ubuntu-22.04-gcc-9
os: ubuntu-22.04
compiler: gcc
version: "9"
- name: ubuntu-20.04-clang-9
os: ubuntu-20.04
- name: ubuntu-22.04-clang-11
os: ubuntu-22.04
compiler: clang
version: "9"
version: "11"
- name: ubuntu-24.04-gcc-14
os: ubuntu-24.04

View File

@ -22,18 +22,18 @@ jobs:
id: filter
uses: dorny/paths-filter@v3
with:
predicate-quantifier: 'every' # If any changed file matches every filter, proceed with build
predicate-quantifier: "every" # If any changed file matches every filter, proceed with build
filters: |
relevant_changes:
- '!**.md'
- '!**.ipynb'
- '!myst.yml'
build:
# Only run build if relevant files have been modified in this PR.
needs: check-paths
if: needs.check-paths.outputs.should_run == 'true'
name: ${{ matrix.name }} ${{ matrix.build_type }} Python ${{ matrix.python_version }}
runs-on: ${{ matrix.os }}
@ -52,8 +52,8 @@ jobs:
# See https://help.github.com/en/articles/workflow-syntax-for-github-actions.
name:
[
ubuntu-20.04-gcc-9,
ubuntu-20.04-clang-9,
ubuntu-22.04-gcc-9,
ubuntu-22.04-clang-11,
macos-13-xcode-14.2,
macos-14-xcode-15.4,
windows-2022-msbuild,
@ -62,15 +62,15 @@ jobs:
build_type: [Release]
python_version: [3]
include:
- name: ubuntu-20.04-gcc-9
os: ubuntu-20.04
- name: ubuntu-22.04-gcc-9
os: ubuntu-22.04
compiler: gcc
version: "9"
- name: ubuntu-20.04-clang-9
os: ubuntu-20.04
- name: ubuntu-22.04-clang-11
os: ubuntu-22.04
compiler: clang
version: "9"
version: "11"
- name: macos-13-xcode-14.2
os: macos-13

View File

@ -15,11 +15,11 @@ matrices.
The current support matrix is:
| Platform | Compiler | Build Status |
|:------------------:|:---------:|:--------------------------------------------------------------------------------:|
| Ubuntu 20.04/22.04 | gcc/clang | ![Linux CI](https://github.com/borglab/gtsam/workflows/Linux%20CI/badge.svg) |
| macOS | clang | ![macOS CI](https://github.com/borglab/gtsam/workflows/macOS%20CI/badge.svg) |
| Windows | MSVC | ![Windows CI](https://github.com/borglab/gtsam/workflows/Windows%20CI/badge.svg) |
| Platform | Compiler | Build Status |
| :----------------: | :-------: | :------------------------------------------------------------------------------: |
| Ubuntu 22.04/24.04 | gcc/clang | ![Linux CI](https://github.com/borglab/gtsam/workflows/Linux%20CI/badge.svg) |
| macOS | clang | ![macOS CI](https://github.com/borglab/gtsam/workflows/macOS%20CI/badge.svg) |
| Windows | MSVC | ![Windows CI](https://github.com/borglab/gtsam/workflows/Windows%20CI/badge.svg) |
On top of the C++ library, GTSAM includes [wrappers for MATLAB & Python](#wrappers).