Skip to content

ci: add an example of a mupub check #161

ci: add an example of a mupub check

ci: add an example of a mupub check #161

Workflow file for this run

name: ci
on:
push:
paths-ignore:
- '**.md'
- AUTHORS
- VERSION
- lyinit/**/*
pull_request:
types: [assigned, edited, opened, synchronize, reopened]
env:
lilypond_version: 2.24.3
jobs:
build-checks:
runs-on: ubuntu-latest
container: 'alpine:3.20'
steps:
- id: install_pkg_deps
run: |
apk update
apk add autoconf automake bzip2 git lilypond make python3 py3-pip tar xz
- uses: actions/checkout@v2
- id: build_checks
run: |
pwd
autoreconf --install
./configure
# make dist && make
- id: install_mupub
run: |
git clone https://github.com/MutopiaProject/MutopiaProject /opt/MutopiaProject/MutopiaProject
git clone https://github.com/MutopiaProject/MutopiaWeb /opt/MutopiaProject/MutopiaWeb
git clone https://github.com/madrisan/mupub.git /opt/MutopiaProject/mupub
cd /opt/MutopiaProject/mupub
git checkout ci
pip3 install --break-system-packages -r requirements.txt
make dist
pip3 install --break-system-packages dist/mupub-1.0.8-py2.py3-none-any.whl
mupub init <<'END'
/opt/MutopiaProject/MutopiaWeb/datafiles
/opt/MutopiaProject/MutopiaProject
END
mkdir ~/.mupub/lycache
mupub --version
cat ~/.mupub/mu-config.cfg
- id: mupub_check
run: |
cd ~/madrisan--open-scores/src/johann-sebastian-bach/fuga/BWV948
mupub build --header-file header.ily JS-Bach-BWV948-Fuga-d-Moll.ly