Skip to content

.github/workflows/build.yml: install ccache manually #26

.github/workflows/build.yml: install ccache manually

.github/workflows/build.yml: install ccache manually #26

Workflow file for this run

---
on:
workflow_dispatch:
push:
paths-ignore:
- 'debian/**'
branches:
- master
pull_request:
paths-ignore:
- 'debian/**'
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- id: checkout
uses: actions/checkout@v4
with:
submodules: recursive
- name: Install dependencies
run: |
sudo apt install -y --no-install-recommends \
meson \
ccache \
libavahi-client-dev \
libsystemd-dev
- id: cache-ccache
uses: hendrikmuhs/ccache-action@v1
- name: Configure
run: |
meson setup \
-Dauto_features=enabled \
--force-fallback-for=fmt \
-Dwrap_mode=nofallback \
output
- name: Build
run: ninja -C output -v