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: on:
pull_request: pull_request:
paths-ignore: paths-ignore:
- '**.md' - "**.md"
- '**.ipynb' - "**.ipynb"
- 'myst.yml' - "myst.yml"
# Every time you make a push to your PR, it cancel immediately the previous checks, # 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. # 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. # 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. # See https://help.github.com/en/articles/workflow-syntax-for-github-actions.
name: [ name: [
# "Bracket" the versions from GCC [9-14] and Clang [9-16] # "Bracket" the versions from GCC [9-14] and Clang [11-16]
ubuntu-20.04-gcc-9, ubuntu-22.04-gcc-9,
ubuntu-20.04-clang-9, ubuntu-22.04-clang-11,
ubuntu-24.04-gcc-14, ubuntu-24.04-gcc-14,
ubuntu-24.04-clang-16, ubuntu-24.04-clang-16,
] ]
@ -40,15 +40,15 @@ jobs:
build_type: [Debug, Release] build_type: [Debug, Release]
build_unstable: [ON] build_unstable: [ON]
include: include:
- name: ubuntu-20.04-gcc-9 - name: ubuntu-22.04-gcc-9
os: ubuntu-20.04 os: ubuntu-22.04
compiler: gcc compiler: gcc
version: "9" version: "9"
- name: ubuntu-20.04-clang-9 - name: ubuntu-22.04-clang-11
os: ubuntu-20.04 os: ubuntu-22.04
compiler: clang compiler: clang
version: "9" version: "11"
- name: ubuntu-24.04-gcc-14 - name: ubuntu-24.04-gcc-14
os: ubuntu-24.04 os: ubuntu-24.04

View File

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

View File

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