Skip to content

Commit

Permalink
CI: Use more recent Ubuntu build image 22.04.
Browse files Browse the repository at this point in the history
  • Loading branch information
scoder committed Oct 17, 2024
1 parent 83e1c7f commit 0c75d32
Showing 1 changed file with 28 additions and 28 deletions.
56 changes: 28 additions & 28 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
#
# FIXME: 'cpp' tests seems to fail due to compilation errors (numpy_pythran_unit)
# in all python versions and test failures (builtin_float) in 3.5<
os: [ubuntu-20.04, windows-2019, macos-latest]
os: [ubuntu-22.04, windows-2019, macos-latest]
backend: [c, cpp]
python-version:
- "3.7"
Expand All @@ -60,125 +60,125 @@ jobs:
# Ubuntu sub-jobs:
# ================
# graalpy is really slow...
- os: ubuntu-20.04
- os: ubuntu-22.04
python-version: graalpy24
backend: c
env: { NO_CYTHON_COMPILE: 1 }
allowed_failure: true
# GCC 11 (with broad language standards)
- os: ubuntu-20.04
- os: ubuntu-22.04
python-version: "3.9"
backend: c
env: { GCC_VERSION: 11, EXTRA_CFLAGS: "-std=c99" }
extra_hash: "-c99"
- os: ubuntu-20.04
- os: ubuntu-22.04
python-version: "3.10"
backend: c
env: { GCC_VERSION: 11, EXTRA_CFLAGS: "-std=c17" }
extra_hash: "-gcc11"
- os: ubuntu-20.04
- os: ubuntu-22.04
python-version: "3.12"
backend: c
env: { GCC_VERSION: 11, EXTRA_CFLAGS: "-std=c17" }
extra_hash: "-gcc11"
- os: ubuntu-20.04
- os: ubuntu-22.04
python-version: "3.12"
backend: cpp
env: { GCC_VERSION: 11, EXTRA_CFLAGS: "-std=c++20" }
extra_hash: "-gcc11"
# compile all modules
- os: ubuntu-20.04
- os: ubuntu-22.04
python-version: "3.7"
backend: c
env: { CYTHON_COMPILE_ALL: 1 }
extra_hash: "-all"
- os: ubuntu-20.04
- os: ubuntu-22.04
python-version: "3.7"
backend: cpp
env: { CYTHON_COMPILE_ALL: 1 }
extra_hash: "-all"
- os: ubuntu-20.04
- os: ubuntu-22.04
python-version: "3.11"
backend: c
env: { CYTHON_COMPILE_ALL: 1 }
extra_hash: "-all"
- os: ubuntu-20.04
- os: ubuntu-22.04
python-version: "3.11"
backend: cpp
env: { CYTHON_COMPILE_ALL: 1 }
extra_hash: "-all"
# Linting
- os: ubuntu-20.04
- os: ubuntu-22.04
python-version: "3.9"
backend: "c,cpp"
env: { TEST_CODE_STYLE: 1, NO_CYTHON_COMPILE: 1 }
extra_hash: "-codestyle"
# Limited API
- os: ubuntu-20.04
- os: ubuntu-22.04
python-version: "3.7"
backend: "c,cpp"
env: { LIMITED_API: "--limited-api", NO_LIMITED_COMPILE: 1, EXCLUDE: "--no-file" }
extra_hash: "-limited_api"
- os: ubuntu-20.04
- os: ubuntu-22.04
python-version: "3.8"
backend: "c,cpp"
env: { LIMITED_API: "--limited-api", NO_LIMITED_COMPILE: 1, EXCLUDE: "--no-file" }
extra_hash: "-limited_api"
- os: ubuntu-20.04
- os: ubuntu-22.04
python-version: "3.11"
backend: "c,cpp"
env: { LIMITED_API: "--limited-api", EXCLUDE: "--no-file" }
extra_hash: "-limited_api"
- os: ubuntu-20.04
- os: ubuntu-22.04
python-version: "3.12"
allowed_failure: true
backend: "c,cpp"
env: { LIMITED_API: "--limited-api", EXCLUDE: "--no-file" }
extra_hash: "-limited_api"
- os: ubuntu-20.04
- os: ubuntu-22.04
python-version: "3.13-dev"
allowed_failure: true
backend: "c,cpp"
env: { LIMITED_API: "--limited-api", EXCLUDE: "--no-file" }
extra_hash: "-limited_api"
# Type specs
- os: ubuntu-20.04
- os: ubuntu-22.04
python-version: "3.12"
backend: c
env: { EXTRA_CFLAGS: "-DCYTHON_USE_TYPE_SPECS=1" }
extra_hash: "-typespecs"
- os: ubuntu-20.04
- os: ubuntu-22.04
python-version: "3.9"
backend: c
env: { EXTRA_CFLAGS: "-DCYTHON_USE_TYPE_SPECS=1" }
extra_hash: "-typespecs"
- os: ubuntu-20.04
- os: ubuntu-22.04
python-version: "3.8"
backend: c
env: { EXTRA_CFLAGS: "-DCYTHON_USE_TYPE_SPECS=1" }
extra_hash: "-typespecs"
- os: ubuntu-20.04
- os: ubuntu-22.04
python-version: "3.7"
backend: c
env: { EXTRA_CFLAGS: "-DCYTHON_USE_TYPE_SPECS=1" }
extra_hash: "-typespecs"
# Stackless
- os: ubuntu-20.04
- os: ubuntu-22.04
python-version: "3.8"
backend: c
env: { STACKLESS: true, PY: 3 }
extra_hash: "-stackless"
# Pypy
- os: ubuntu-20.04
- os: ubuntu-22.04
python-version: pypy-3.9
backend: c
env: { NO_CYTHON_COMPILE: 1 }
- os: ubuntu-20.04
- os: ubuntu-22.04
python-version: pypy-3.10
backend: c
env: { NO_CYTHON_COMPILE: 1 }
# Free-threading
- os: ubuntu-20.04
- os: ubuntu-22.04
python-version: 3.13-freethreading-dev
backend: "c,cpp"
env: {}
Expand Down Expand Up @@ -247,11 +247,11 @@ jobs:


pycoverage:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04

env:
BACKEND: c,cpp
OS_NAME: ubuntu-20.04
OS_NAME: ubuntu-22.04
PYTHON_VERSION: "3.11"

steps:
Expand All @@ -274,11 +274,11 @@ jobs:
path: coverage-report-html

cycoverage:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04

env:
BACKEND: c,cpp
OS_NAME: ubuntu-20.04
OS_NAME: ubuntu-22.04
PYTHON_VERSION: "3.11"

steps:
Expand Down

0 comments on commit 0c75d32

Please sign in to comment.