Skip to content
Open
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
30 changes: 18 additions & 12 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,37 +43,43 @@ jobs:
test:
timeout-minutes: 60
runs-on: ubuntu-24.04
container:
image: docker.io/fedora:44
steps:
- run: |
dnf -y upgrade

- name: Install git
run: |
dnf install -y 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
./install-dependencies.sh

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

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

- name: Install g++
if: ${{ inputs.compiler == 'g++' }}
run: |
sudo apt-get -y install gcc-14 g++-14
dnf install -y gcc gcc-c++

- name: Install ccache
if: ${{ inputs.enable-ccache }}
run: |
sudo apt-get -y install ccache
dnf install -y ccache

- name: Setup ccache
if: ${{ inputs.enable-ccache }}
Expand All @@ -84,11 +90,11 @@ jobs:
- name: Configure
run: |
if [ ${{ inputs.compiler }} = "clang++" ]; then
CC=clang-20
CPP=clang++-20
CC=clang
CPP=clang++
else
CC=gcc-14
CPP=g++-14
CC=gcc
CPP=g++
fi
if ${{ inputs.enable-ccache }}; then
MAYBE_CCACHE_OPT="--compiler-cache=ccache"
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@ jobs:
compiler: [clang++, g++]
standard: [20, 23]
mode: [dev, debug, release]
exclude:
# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=124584
- compiler: g++
mode: debug
with:
compiler: ${{ matrix.compiler }}
standard: ${{ matrix.standard }}
Expand Down
Loading