Skip to content
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: 9 additions & 7 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,32 +38,34 @@ jobs:
test:
timeout-minutes: 40
runs-on: ubuntu-24.04
container: fedora:43
Copy link
Member Author

Choose a reason for hiding this comment

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

Hmm, we should forward ~/.ccache to the container

Copy link
Member Author

Choose a reason for hiding this comment

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

Or maybe not, if the cache action runs inside the container.

Copy link
Member Author

Choose a reason for hiding this comment

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

ccache integration appears to be working:

  Cacheable calls:   409 / 409 (100.0%)
    Hits:            408 / 409 (99.76%)
      Direct:        408 / 408 (100.0%)
      Preprocessed:    0 / 408 ( 0.00%)
    Misses:            1 / 409 ( 0.24%)
  Local storage:
    Cache size (GB): 0.0 / 0.5 ( 6.58%)
    Hits:            408 / 409 (99.76%)
    Misses:            1 / 409 ( 0.24%)

One miss from 65cbae6, the rest hits.

steps:
- name: Install git
run: |
dnf -y install git-core

- 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
dnf install -y clang

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

- 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 Down
Loading