Release 2.1.0 #267
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# SPDX-FileCopyrightText: 2021 Andrea Pappacoda | |
# | |
# SPDX-License-Identifier: AGPL-3.0-or-later | |
name: muon | |
on: push | |
defaults: | |
run: | |
shell: sh | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
permissions: | |
contents: read | |
jobs: | |
muon: | |
strategy: | |
fail-fast: false | |
matrix: | |
compiler: [ 'g++', 'clang' ] | |
runs-on: ubuntu-latest | |
container: | |
image: debian:testing | |
steps: | |
- name: Install dependencies | |
run: | | |
apt-get -y update | |
apt-get -y install ${{ matrix.compiler }} ninja-build libpkgconf-dev pkgconf libarchive-dev libcurl4-openssl-dev libinih-dev git ca-certificates --no-install-recommends | |
- uses: actions/checkout@v3 | |
- name: Install muon | |
run: | | |
git clone --depth=1 --single-branch https://git.sr.ht/~lattis/muon | |
cd muon | |
./bootstrap.sh build | |
build/muon setup build | |
ninja -C build | |
build/muon -C build install | |
- name: Configure muon | |
run: muon setup -Dmuon=true build | |
env: | |
CC: ${{ matrix.compiler }} | |
- name: Build | |
run: ninja -C build |