Skip to content

Add ccache Github workflow #2

Add ccache Github workflow

Add ccache Github workflow #2

Workflow file for this run

---
name: build dnf5 with ccache to check for quick build errors
on:
pull_request:
workflow_dispatch:
jobs:
build-with-ccache:
runs-on: ubuntu-latest
container:
image: fedora:rawhide
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Setup ccache
uses: hendrikmuhs/[email protected]
with:
key: ${{ github.job }}-${{ matrix.os }}
- name: Build with ccache
run: |
export PATH="/usr/lib/ccache:/usr/local/opt/ccache/libexec:$PATH"; \
mkdir build; cd build; cmake ..; make