Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit fddfc5f

Browse files
authoredJan 15, 2025··
feat(ci): runs-on: ubuntu-22.04 -> ubuntu-24.04 (#1686)
### Briefly, what does this PR introduce? This PR updates the target operating system for CI jobs, from ubuntu-latest to a more explicit ubuntu-24.04. This is in part to test that the automatic update of implicit ubuntu-latest will not break anything (actions/runner-images#10636), and in part because it makes sense to be explicit about the target operating system. ### What kind of change does this PR introduce? - [ ] Bug fix (issue #__) - [x] New feature (issue actions/runner-images#10636) - [ ] Documentation update - [ ] Other: __ ### Please check if this PR fulfills the following: - [ ] Tests for the changes have been added - [ ] Documentation has been added / updated - [ ] Changes have been communicated to collaborators ### Does this PR introduce breaking changes? What changes might users need to make to their code? No. ### Does this PR change default behavior? Yes, for the next few days ubuntu-latest will still be ubuntu-22.04, and this will mean an upgrade to ubuntu-24.04.
1 parent 451c246 commit fddfc5f

File tree

1 file changed

+23
-23
lines changed

1 file changed

+23
-23
lines changed
 

‎.github/workflows/linux-eic-shell.yml

+23-23
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ jobs:
4949
env:
5050
# env cannot be used in matrix, but outputs can
5151
# so this job turns env into outputs
52-
runs-on: ubuntu-22.04
52+
runs-on: ubuntu-24.04
5353
outputs:
5454
platform_json: ${{ steps.define.outputs.platform_json }}
5555
release_json: ${{ steps.define.outputs.release_json }}
@@ -60,7 +60,7 @@ jobs:
6060
echo "release_json=[\"${{ env.release }}\"]" >> $GITHUB_OUTPUT
6161
6262
build:
63-
runs-on: ubuntu-22.04
63+
runs-on: ubuntu-24.04
6464
needs: env
6565
strategy:
6666
# include multiple compilers for one release version,
@@ -175,7 +175,7 @@ jobs:
175175
if-no-files-found: error
176176

177177
clang-tidy-iwyu:
178-
runs-on: ubuntu-22.04
178+
runs-on: ubuntu-24.04
179179
needs: build
180180
steps:
181181
- uses: actions/checkout@v4
@@ -252,7 +252,7 @@ jobs:
252252
run: git diff --exit-code
253253

254254
llvm-cov:
255-
runs-on: ubuntu-22.04
255+
runs-on: ubuntu-24.04
256256
needs: build
257257
permissions:
258258
statuses: write
@@ -311,7 +311,7 @@ jobs:
311311
path: build/codecov_report/
312312

313313
detector-info:
314-
runs-on: ubuntu-22.04
314+
runs-on: ubuntu-24.04
315315
outputs:
316316
hash: ${{ steps.detector-info.outputs.hash }}
317317
steps:
@@ -326,7 +326,7 @@ jobs:
326326
echo "hash=${hash%% *}" | tee $GITHUB_OUTPUT
327327
328328
npsim-gun:
329-
runs-on: ubuntu-22.04
329+
runs-on: ubuntu-24.04
330330
needs:
331331
- detector-info
332332
strategy:
@@ -356,7 +356,7 @@ jobs:
356356
if-no-files-found: error
357357

358358
npsim-gun-EcalLumiSpec:
359-
runs-on: ubuntu-22.04
359+
runs-on: ubuntu-24.04
360360
needs:
361361
- detector-info
362362
strategy:
@@ -390,7 +390,7 @@ jobs:
390390
if-no-files-found: error
391391

392392
npsim-dis:
393-
runs-on: ubuntu-22.04
393+
runs-on: ubuntu-24.04
394394
needs:
395395
- detector-info
396396
strategy:
@@ -426,7 +426,7 @@ jobs:
426426
if-no-files-found: error
427427

428428
npsim-minbias:
429-
runs-on: ubuntu-22.04
429+
runs-on: ubuntu-24.04
430430
needs:
431431
- detector-info
432432
strategy:
@@ -462,7 +462,7 @@ jobs:
462462
if-no-files-found: error
463463

464464
eicrecon-two-stage-running:
465-
runs-on: ubuntu-22.04
465+
runs-on: ubuntu-24.04
466466
needs:
467467
- build
468468
- npsim-gun
@@ -526,7 +526,7 @@ jobs:
526526
if-no-files-found: error
527527

528528
eicrecon-eicmkplugin:
529-
runs-on: ubuntu-22.04
529+
runs-on: ubuntu-24.04
530530
needs:
531531
- build
532532
- npsim-gun
@@ -569,7 +569,7 @@ jobs:
569569
$PWD/install/bin/eicrecon $JANA_OPTIONS -Pplugins=MyCustomPlugin -Ppodio:output_file=rec_${{ matrix.particle }}_1GeV_20GeV_${{ matrix.detector_config }}.edm4eic.root sim_${{ matrix.particle }}_1GeV_20GeV_${{ matrix.detector_config }}.edm4hep.root
570570
571571
eicrecon-test-plugins:
572-
runs-on: ubuntu-22.04
572+
runs-on: ubuntu-24.04
573573
needs:
574574
- build
575575
- npsim-gun
@@ -618,7 +618,7 @@ jobs:
618618
if-no-files-found: error
619619

620620
eicrecon-benchmarks-plugins:
621-
runs-on: ubuntu-22.04
621+
runs-on: ubuntu-24.04
622622
needs:
623623
- build
624624
- npsim-gun
@@ -671,7 +671,7 @@ jobs:
671671
if-no-files-found: error
672672

673673
eicrecon-gun:
674-
runs-on: ubuntu-22.04
674+
runs-on: ubuntu-24.04
675675
needs:
676676
- build
677677
- npsim-gun
@@ -785,7 +785,7 @@ jobs:
785785
if-no-files-found: error
786786

787787
eicrecon-gun-EcalLumiSpec:
788-
runs-on: ubuntu-22.04
788+
runs-on: ubuntu-24.04
789789
needs:
790790
- build
791791
- npsim-gun-EcalLumiSpec
@@ -852,7 +852,7 @@ jobs:
852852
if-no-files-found: error
853853

854854
eicrecon-dis:
855-
runs-on: ubuntu-22.04
855+
runs-on: ubuntu-24.04
856856
needs:
857857
- build
858858
- npsim-dis
@@ -985,7 +985,7 @@ jobs:
985985
if-no-files-found: error
986986

987987
trigger-container:
988-
runs-on: ubuntu-22.04
988+
runs-on: ubuntu-24.04
989989
if: ${{ github.event_name != 'merge_group' && github.event_name != 'schedule' && github.actor != 'dependabot[bot]' }}
990990
needs:
991991
- eicrecon-gun
@@ -1017,7 +1017,7 @@ jobs:
10171017
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
10181018

10191019
build-docs:
1020-
runs-on: ubuntu-22.04
1020+
runs-on: ubuntu-24.04
10211021
needs:
10221022
- eicrecon-gun
10231023
- eicrecon-dis
@@ -1055,7 +1055,7 @@ jobs:
10551055
if-no-files-found: error
10561056

10571057
list-open-prs:
1058-
runs-on: ubuntu-22.04
1058+
runs-on: ubuntu-24.04
10591059
outputs:
10601060
json: ${{ steps.remap.outputs.json }}
10611061
steps:
@@ -1074,7 +1074,7 @@ jobs:
10741074
include.*.head_sha: ${{ toJSON(fromJSON(steps.query.outputs.data).*.head.sha) }}
10751075

10761076
get-docs-from-open-prs:
1077-
runs-on: ubuntu-22.04
1077+
runs-on: ubuntu-24.04
10781078
needs:
10791079
- build-docs
10801080
- list-open-prs
@@ -1125,7 +1125,7 @@ jobs:
11251125
if-no-files-found: ignore
11261126

11271127
get-docs-from-main:
1128-
runs-on: ubuntu-22.04
1128+
runs-on: ubuntu-24.04
11291129
needs:
11301130
- build-docs
11311131
steps:
@@ -1182,7 +1182,7 @@ jobs:
11821182
if-no-files-found: error
11831183

11841184
collect-docs:
1185-
runs-on: ubuntu-22.04
1185+
runs-on: ubuntu-24.04
11861186
needs:
11871187
- get-docs-from-main
11881188
- get-docs-from-open-prs
@@ -1241,7 +1241,7 @@ jobs:
12411241
environment:
12421242
name: github-pages
12431243
url: ${{ steps.deployment.outputs.page_url }}
1244-
runs-on: ubuntu-22.04
1244+
runs-on: ubuntu-24.04
12451245
steps:
12461246
- name: Deploy to GitHub Pages
12471247
id: deployment

0 commit comments

Comments
 (0)
Please sign in to comment.