Skip to content

Commit ee3d140

Browse files
committed
github: s/ubuntu-latest/ubuntu-24.04/
Ubuntu 24.04 is now available, see actions/runner-images#9848 so instead of building and running the tests in a fedora 40 container, let's do the CI with the shinny ubuntu runner image, which preinstalls some of the necessary building dependencies, so in theory, it should be relatively faster than installing every package on fedora 40. and since we are now using an image with git pre-installed, there is no need to install `git` anymore. so, in this change, we drop the step to install `git`. because we are switching to a debian derivative distro, let's use apt-get instead of dnf to install packages. Signed-off-by: Kefu Chai <[email protected]>
1 parent 376f7eb commit ee3d140

File tree

1 file changed

+4
-9
lines changed

1 file changed

+4
-9
lines changed

.github/workflows/test.yaml

+4-9
Original file line numberDiff line numberDiff line change
@@ -37,13 +37,8 @@ on:
3737
jobs:
3838
test:
3939
timeout-minutes: 40
40-
runs-on: ubuntu-latest
41-
container: fedora:40
40+
runs-on: ubuntu-24.04
4241
steps:
43-
- name: Install Git
44-
run: |
45-
sudo dnf -y install git
46-
4742
- uses: actions/checkout@v4
4843
with:
4944
submodules: "${{ contains(inputs.enables, 'dpdk') }}"
@@ -55,17 +50,17 @@ jobs:
5550
- name: Install clang++
5651
if: ${{ inputs.compiler == 'clang++' }}
5752
run: |
58-
sudo dnf -y install clang
53+
sudo apt-get -y install clang
5954
6055
- name: Install clang-scan-deps
6156
if: ${{ contains(inputs.enables, 'cxx-modules') }}
6257
run: |
63-
sudo dnf -y install clang-tools-extra
58+
sudo apt-get -y install clang-tools
6459
6560
- name: Install ccache
6661
if: ${{ inputs.enable-ccache }}
6762
run: |
68-
sudo dnf -y install ccache
63+
sudo apt-get -y install ccache
6964
7065
- name: Setup ccache
7166
if: ${{ inputs.enable-ccache }}

0 commit comments

Comments
 (0)