Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 15 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,22 @@ jobs:
# Builds (or restores) the PETSc dependency. Separated from the test
# job so the test job can carry a tight wallclock cap while a cold
# PETSc build from source stays possible.
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v6
- name: Runner OS release
id: os
run: . /etc/os-release && echo "release=${ID}-${VERSION_ID}" >> "$GITHUB_OUTPUT"
- name: PETSc cache
id: petsc-cache
uses: actions/cache@v5
with:
path: petsc
key: ${{ runner.os }}-petsc-63b72503
key: ${{ runner.os }}-${{ steps.os.outputs.release }}-petsc-63b72503
- name: Python 3.12 for the PETSc configure scripts
uses: actions/setup-python@v5
with:
python-version: "3.12"
- name: Build PETSc
if: steps.petsc-cache.outputs.cache-hit != 'true'
run: |
Expand All @@ -41,7 +48,7 @@ jobs:

test:
needs: petsc
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
# Hard wallclock cap on the fast tier; slower work belongs in the
# nightly workflow.
timeout-minutes: 10
Expand All @@ -52,11 +59,14 @@ jobs:
- uses: actions/checkout@v6
with:
fetch-depth: 0
- name: Runner OS release
id: os
run: . /etc/os-release && echo "release=${ID}-${VERSION_ID}" >> "$GITHUB_OUTPUT"
- name: PETSc cache
uses: actions/cache@v5
with:
path: petsc
key: ${{ runner.os }}-petsc-63b72503
key: ${{ runner.os }}-${{ steps.os.outputs.release }}-petsc-63b72503
fail-on-cache-miss: true
- name: Install Python requirements
run: pip install -r py/requirements.txt pytest pytest-timeout ruff gcovr 'proteus-mpl>=1.4.0'
Expand Down Expand Up @@ -145,7 +155,7 @@ jobs:
--txt --fail-under-line "$FAST"

installer-smoke:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v6
- name: Install Python requirements
Expand Down
11 changes: 9 additions & 2 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,19 +10,26 @@ permissions:

jobs:
full-suite:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
timeout-minutes: 120
env:
PETSC_DIR: ${{ github.workspace }}/petsc
PETSC_ARCH: arch-test
steps:
- uses: actions/checkout@v6
- name: Runner OS release
id: os
run: . /etc/os-release && echo "release=${ID}-${VERSION_ID}" >> "$GITHUB_OUTPUT"
- name: PETSc cache
id: petsc-cache
uses: actions/cache@v5
with:
path: petsc
key: ${{ runner.os }}-petsc-63b72503
key: ${{ runner.os }}-${{ steps.os.outputs.release }}-petsc-63b72503
- name: Python 3.12 for the PETSc configure scripts
uses: actions/setup-python@v5
with:
python-version: "3.12"
- name: Build PETSc
if: steps.petsc-cache.outputs.cache-hit != 'true'
run: |
Expand Down
Loading