Skip to content

build(deps): bump actions/setup-python from 6 to 7 #105

build(deps): bump actions/setup-python from 6 to 7

build(deps): bump actions/setup-python from 6 to 7 #105

Workflow file for this run

---
on:
workflow_dispatch:
push:
paths-ignore:
- 'contrib/**'
- 'doc/**'
- 'systemd/**'
branches:
- master
pull_request:
paths-ignore:
- 'contrib/**'
- 'doc/**'
- 'systemd/**'
branches:
- master
permissions:
contents: read # to fetch code (actions/checkout)
jobs:
build-linux:
strategy:
matrix:
compiler: [gcc14, gcc12, clang]
include:
- compiler: gcc14
os: ubuntu-24.04
cc: gcc-14
cxx: g++-14
ldflags: -fuse-ld=mold
packages: g++-14 mold libfmt-dev
meson_options:
- compiler: gcc12
os: ubuntu-24.04
cc: gcc-12
cxx: g++-12
ldflags:
packages: g++-12
meson_options: --force-fallback-for=fmt
- compiler: clang
os: ubuntu-24.04
cc: clang
cxx: clang++
ldflags: -fuse-ld=lld
packages: clang lld
meson_options: --force-fallback-for=fmt
runs-on: ${{ matrix.os }}
env:
CC: ccache ${{ matrix.cc }}
CXX: ccache ${{ matrix.cxx }}
LDFLAGS: ${{ matrix.ldflags }}
steps:
- id: checkout
uses: actions/checkout@v7
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install -y --no-install-recommends \
${{ matrix.packages }} \
meson \
ccache \
libsystemd-dev \
libgcrypt-dev \
libcurl4-gnutls-dev \
libmpdclient-dev
- id: cache-ccache
uses: hendrikmuhs/ccache-action@v1
with:
key: ${{ matrix.compiler }}
- name: Configure
run: |
meson setup \
-Dsystemd=enabled \
-Dsyslog=enabled \
-Dtest=true \
--wrap-mode nofallback \
${{ matrix.meson_options }} \
output
- name: Build
run: ninja -C output --verbose
build-macos:
runs-on: macos-latest
steps:
- id: checkout
uses: actions/checkout@v7
- uses: actions/setup-python@v7
with:
python-version: 3.x
- name: Install dependencies
run: |
brew install \
meson ninja \
ccache \
libgcrypt \
curl \
libmpdclient
- id: cache-ccache
uses: hendrikmuhs/ccache-action@v1
with:
key: macos
- name: Configure
run: |
meson setup \
-Dtest=true \
--wrap-mode nofallback \
${{ matrix.meson_options }} \
output
- name: Build
run: ninja -C output --verbose