ISO xslt updated for docidentifier and French title for PRF #1792
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
name: debian | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
concurrency: | |
group: '${{ github.workflow }}-${{ github.job }}-${{ github.head_ref || github.ref_name }}' | |
cancel-in-progress: true | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
container: debian | |
steps: | |
# cabextract for fonts, gettext-base for envsubst, libxml2-utils for xmllint | |
- name: Setup prerequisites | |
run: | | |
apt-get update | |
apt-get -y install gettext-base cabextract wget libxml2-utils curl \ | |
software-properties-common gcc ruby ruby-dev rbenv libffi-dev libsass-dev make \ | |
libxml2-dev libxslt1-dev zlib1g-dev zlib1g pkg-config g++ default-jre gnupg \ | |
autoconf bison patch build-essential rustc libssl-dev libyaml-dev libreadline6-dev \ | |
libgmp-dev libncurses5-dev libgdbm6 libgdbm-dev libdb-dev libcurl4-gnutls-dev uuid-dev \ | |
git | |
- run: | | |
ruby --version | |
rbenv install 3.1.2 | |
- uses: actions/checkout@v2 | |
- run: | | |
git config --global --add safe.directory /__w/mn-native-pdf/mn-native-pdf | |
- run: make update-init update-modules | |
- name: Update gems | |
run: | | |
gem install bundler | |
bundle config build.nokogiri --use-system-libraries | |
bundle install --jobs 4 --retry 3 | |
- uses: actions/cache@v2 | |
with: | |
path: ~/.fontist | |
key: fontist-debian | |
restore-keys: fontist-debian | |
- name: Install Fontist fonts | |
run: | | |
gem install fontist | |
fontist update | |
fontist manifest-install --confirm-license fonts/manifest.yml | |
fontist manifest-locations fonts/manifest.yml > fonts/manifest.paths.yml | |
cat fonts/manifest.paths.yml | |
- run: make all published | |
env: | |
GITHUB_USERNAME: ${{ github.actor }} | |
GITHUB_TOKEN: ${{ github.token }} |