Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

github: s/ubuntu-latest/ubuntu-24.04/ #2316

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
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
16 changes: 7 additions & 9 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,34 +32,32 @@ on:
jobs:
test:
timeout-minutes: 40
runs-on: ubuntu-latest
container: fedora:40
runs-on: ubuntu-24.04
steps:
- name: Install Git
run: |
sudo dnf -y install git

- uses: actions/checkout@v4
with:
submodules: "${{ contains(inputs.enables, 'dpdk') }}"

- run: |
sudo apt-get update

- name: Install build dependencies
run: |
sudo ./install-dependencies.sh

- name: Install clang++
if: ${{ inputs.compiler == 'clang++' }}
run: |
sudo dnf -y install clang
sudo apt-get -y install clang
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What about apt-get update?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sure. added.


- name: Install clang-scan-deps
if: ${{ contains(inputs.enables, 'cxx-modules') }}
run: |
sudo dnf -y install clang-tools-extra
sudo apt-get -y install clang-tools

- name: Install ccache
run: |
sudo dnf -y install ccache
sudo apt-get -y install ccache

- name: Setup ccache
uses: hendrikmuhs/ccache-action@v1
Expand Down