Skip to content

docs(readme): Fix links and typos (#145) #770

docs(readme): Fix links and typos (#145)

docs(readme): Fix links and typos (#145) #770

Workflow file for this run

name: Build
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-20.04
steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Fetch Tags
run: |
git fetch --prune --tags ||:
- name: Setup system dependencies
run: |
sudo add-apt-repository universe
sudo apt-get update
sudo apt-get install autoconf-archive fontmake fonttools libgit2-dev psautohint python3 python3-defcon python3-pip python3-ufo2ft python3-ufolib2 sfnt2woff-zopfli ttfautohint ufonormalizer woff2 zsh
- name: Install Rust
uses: actions-rs/toolchain@v1
with:
toolchain: stable
- name: Cache cargo
uses: actions/cache@v2
with:
path: |
~/.cargo/registry
~/.cargo/git
target
key: cargo-build-${{ hashFiles('**/Cargo.lock') }}
- name: Setup Python dependencies
run: pip install cffsubr font-v gftools pcpp git+git://github.com/alif-type/[email protected]#egg=sfdLib sfdnormalize skia-pathops vttLib
- name: Configure
run: |
export PATH="$HOME/.local/bin:$PATH"
./bootstrap.sh
./configure
echo "VERSION=$(cat .version)" >> $GITHUB_ENV
echo "MAKEFLAGS=-j$(nproc) -Otarget" >> $GITHUB_ENV
- name: Build
run: |
export PATH="$HOME/.local/bin:$PATH"
make
- name: Build source package
run: |
export PATH="$HOME/.local/bin:$PATH"
make dist
- name: Upload Artifacts
uses: actions/upload-artifact@v2
with:
name: fontship-${{ env.VERSION }}
path: fontship*-${{ env.VERSION }}.zip