Hotfix for Google formulas: Source Code Pro Light, Source Code Pro, Noto Color Emoji, Noto Emoji #172
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: metanorma | |
on: | |
push: | |
branches: [ master, v2, v3 ] | |
pull_request: | |
jobs: | |
prepare: | |
uses: metanorma/ci/.github/workflows/prepare-rake.yml@main | |
test: | |
name: Test on Ruby ${{ matrix.ruby.version }} ${{ matrix.os }} | |
runs-on: ${{ matrix.os }} | |
needs: prepare | |
if: needs.prepare.outputs.push-for-tag != 'true' | |
continue-on-error: ${{ matrix.ruby.experimental }} | |
strategy: | |
fail-fast: false | |
max-parallel: 5 | |
matrix: ${{ fromJson(needs.prepare.outputs.matrix) }} | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
repository: metanorma/metanorma | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
path: "formulas" | |
- run: | | |
mkdir $HOME/.fontist | |
mv formulas $HOME/.fontist/formulas | |
shell: bash | |
- uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: ${{ matrix.ruby.version }} | |
rubygems: ${{ matrix.ruby.rubygems }} | |
bundler-cache: true | |
- uses: metanorma/ci/inkscape-setup-action@main | |
- run: | | |
bundle exec fontist install -ah "Source Han Sans" | |
bundle exec fontist rebuild-index | |
bundle exec rake |