#144 claude-code cleanup #458
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: Copyright (c) 2022-2025 Yegor Bugayenko | |
# SPDX-License-Identifier: MIT | |
--- | |
# yamllint disable rule:line-length | |
name: l3build | |
'on': | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
jobs: | |
l3build: | |
timeout-minutes: 15 | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-24.04, macos-15] | |
steps: | |
- uses: actions/checkout@v4 | |
- run: | | |
sudo apt-get --fix-missing update | |
sudo apt-get install --yes ghostscript | |
if: matrix.os == 'ubuntu-24.04' | |
- run: brew install ghostscript | |
if: matrix.os == 'macos-15' | |
- uses: teatimeguest/[email protected] | |
with: | |
update-all-packages: true | |
package-file: DEPENDS.txt | |
- run: l3build ctan --show-log-on-error --halt-on-error | |
- run: ./tests.pl | |
- run: | | |
set -ex | |
mkdir build/gh-pages | |
cp build/distrib/tds/scripts/bibcop/bibcop.pl build/gh-pages | |
cp build/distrib/tds/tex/latex/bibcop/bibcop.sty build/gh-pages | |
sed -i "s/0\.0\.0/$(date +%H.%M.%S)/g" build/gh-pages/bibcop.pl | |
sed -i "s/0000\/00\/00/$(date +%Y-%m-%d)/g" build/gh-pages/bibcop.pl | |
sed -i "s/0\.0\.0/$(date +%H.%M.%S)/g" build/gh-pages/bibcop.sty | |
sed -i "s/0000\/00\/00/$(date +%Y-%m-%d)/g" build/gh-pages/bibcop.sty | |
if: github.ref == 'refs/heads/master' && matrix.os == 'ubuntu-24.04' | |
- uses: JamesIves/[email protected] | |
with: | |
branch: gh-pages | |
folder: build/gh-pages | |
clean: true | |
if: github.ref == 'refs/heads/master' && matrix.os == 'ubuntu-24.04' |