Skip to content

Commit

Permalink
Make a full score (#6)
Browse files Browse the repository at this point in the history
* creates two more segments

* full score

* Make full score including covers

* add testing full score to CI

* try installing cjk fonts

* adjust title placement

* bumps version

* refactor music.py s

* add return type to the sequence method in segment b
  • Loading branch information
nivlekp authored Sep 23, 2024
1 parent 50f2d24 commit 75df779
Show file tree
Hide file tree
Showing 21 changed files with 11,725 additions and 39 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,9 +71,22 @@ jobs:
sudo apt update
sudo apt install -y texlive-latex-base texlive-fonts-recommended
sudo apt install -y texlive texlive-latex-extra texlive-luatex
sudo apt install -y texlive-lang-cjk texlive-xetex
lualatex --version
- name: Test Segments
run: |
export PATH=/tmp/lilypond-${LILYPOND_VERSION}/bin:/home/runner/bin:$PATH
export PANG_PATH=${PANG_PATH}
make test-sections
- name: Test Score
run: |
export PATH=/tmp/lilypond-${LILYPOND_VERSION}/bin:/home/runner/bin:$PATH
export PANG_PATH=${PANG_PATH}
make test-score
make full-score
- name: Upload Full Score
uses: actions/upload-artifact@v4
with:
name: full-score
path: minamidera/builds/score/score.pdf
compression-level: 0
5 changes: 1 addition & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -74,13 +74,10 @@ test:
make isort-check
make pytest

score:
@python ${PANG_PATH}/scripts/make_score.py

score_directory = minamidera/builds/score

full-score:
@python ${PANG_PATH}/scripts/make_score.py
@python ${PANG_PATH}/pang/scripts/make_score.py
# run lualatex on front-cover.tex twice, otherwise rectangle is not
# centred
@lualatex --output-directory=${score_directory} ${score_directory}/front-cover.tex
Expand Down
Loading

0 comments on commit 75df779

Please sign in to comment.