Skip to content

Commit

Permalink
Use ubuntu-22.04
Browse files Browse the repository at this point in the history
There have been some mono issues with ubuntu-latest, so we reverted to
ubuntu-22.04 for now.

The cibw-docker-image workflow was not updated because updating it
causes the rebuilt of the manylinux docker image which fails because of
CentOS 7 being EOL.
  • Loading branch information
IvoDD committed Oct 15, 2024
1 parent db33180 commit ef86d7e
Show file tree
Hide file tree
Showing 9 changed files with 15 additions and 15 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/analysis_workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ on:
jobs:
get_commits_to_benchmark:
name: Get tag commits
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- name: Checkout code
uses: actions/checkout@v3.3.0
Expand Down Expand Up @@ -55,7 +55,7 @@ jobs:
name: Publish benchmark results to gh-pages
if: github.ref == 'refs/heads/master'
needs: [benchmark_commits]
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
permissions:
contents: write

Expand Down Expand Up @@ -89,7 +89,7 @@ jobs:
code_coverage:
needs: [cibw_docker_image]
runs-on: "ubuntu-latest"
runs-on: "ubuntu-22.04"
container:
image: ${{needs.cibw_docker_image.outputs.tag}}
services:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,15 +33,15 @@ jobs:

common_config:
needs: [cibw_docker_image]
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
strategy:
matrix:
include:
# Use a matrix to build the common hierarchical structure used by multiple matrix jobs in build_steps.yaml
# Please declare any key you added below in build_steps.yaml's dummy matrix as well to aid the linting tools
- linux_matrix:
- os: linux
distro: ubuntu-latest
distro: ubuntu-22.04
cmake_preset_prefix: linux
cibw_build_suffix: manylinux_x86_64
build_dir: /tmp/cpp_build
Expand Down Expand Up @@ -275,7 +275,7 @@ jobs:
always() &&
!failure() &&
!cancelled()
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- run: echo Dummy job to simplify PR merge checks configuration
# FUTURE: add some test stats/reporting
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build_with_conda.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
if: |
always() &&
!cancelled()
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
env:
ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true
services:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docs_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:

jobs:
docs_build:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
environment: TestPypi
permissions:
contents: write
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docs_publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
environment: { type: environment, required: true }
jobs:
docs_publish:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
environment: ${{inputs.environment}}
steps:
- name: Checkout
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ec2_runner_jobs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
start-runner:
if: inputs.job_type == 'start'
name: Start self-hosted EC2 runner
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
continue-on-error: true
outputs:
label: ${{ steps.start-ec2-runner.outputs.label }}
Expand All @@ -44,7 +44,7 @@ jobs:
stop-runner:
name: Stop self-hosted EC2 runner
if: inputs.job_type == 'stop'
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
continue-on-error: true
steps:
- name: Configure AWS credentials
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/persistent_storage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ jobs:
cleanup:
if: inputs.job_type == 'cleanup'
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
defaults:
run: {shell: bash}
steps:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
# GitHub Composite Actions cannot access secrets and Reusable Workflows cannot return artifacts, so duplicate for now:
release_notes:
if: startsWith(github.ref, 'refs/tags/')
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
env:
SYMBOLS_ARTIFACT: /tmp/symbols.tar.zst # Use absolute path to workaround a bug in action-gh-release
steps:
Expand Down Expand Up @@ -92,7 +92,7 @@ jobs:

pypi:
environment: ${{inputs.environment}}
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- name: Gather wheels from run ${{inputs.run_id}}
if: inputs.run_id > 0
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ run-name: Tagging ${{github.ref_name}} as v${{inputs.version}}${{inputs.overwrit
jobs:
tag:
environment: TestPypi # Enforcing deployment branches permissions
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
permissions:
checks: read
contents: write
Expand Down

0 comments on commit ef86d7e

Please sign in to comment.