Skip to content

Commit

Permalink
add ccache workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
inknos committed Sep 7, 2023
1 parent 6d7cb37 commit d9f8d88
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/test-build.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
---
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]
- name: Build with ccache
run: |
export PATH="/usr/lib/ccache:/usr/local/opt/ccache/libexec:$PATH"; \
mkdir build; cd build; cmake ..; make

0 comments on commit d9f8d88

Please sign in to comment.