Skip to content

Add ccache Github workflow #5

Add ccache Github workflow

Add ccache Github workflow #5

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: Install ccache
run: dnf install ccache -y
- name: Setup ccache
uses: hendrikmuhs/[email protected]
- name: Build with ccache
run: |
export PATH="/usr/lib/ccache:/usr/local/opt/ccache/libexec:$PATH"; \
mkdir build; cd build; cmake ..; make