mirror of
https://github.com/lucide-icons/lucide.git
synced 2025-12-16 22:47:42 +01:00
Workflow that will compile font files (#68)
* Create font.yml * Change to show logs * Update .github/workflows/font.yml Co-authored-by: Eric Fennis <eric.fennis@gmail.com> * Update .github/workflows/font.yml Co-authored-by: Eric Fennis <eric.fennis@gmail.com> * Update .github/workflows/font.yml Co-authored-by: Eric Fennis <eric.fennis@gmail.com> * Update .github/workflows/font.yml Co-authored-by: Eric Fennis <eric.fennis@gmail.com> * Update .github/workflows/font.yml Co-authored-by: Eric Fennis <eric.fennis@gmail.com> * Update .github/workflows/font.yml Co-authored-by: Eric Fennis <eric.fennis@gmail.com> * Update .github/workflows/font.yml Co-authored-by: Eric Fennis <eric.fennis@gmail.com> * Update .github/workflows/font.yml Co-authored-by: Eric Fennis <eric.fennis@gmail.com> * Update font.yml * Update font.yml * Update font.yml * Update font.yml * Update font.yml * Fix syntax * Update font.yml * Update font.yml * Update font.yml * Update font.yml * Update font.yml * Update font.yml Co-authored-by: Eric Fennis <eric.fennis@gmail.com>
This commit is contained in:
committed by
GitHub
parent
e1cead9531
commit
5aef4e6110
63
.github/workflows/font.yml
vendored
Normal file
63
.github/workflows/font.yml
vendored
Normal file
@@ -0,0 +1,63 @@
|
||||
name: Build Featherity
|
||||
on:
|
||||
push:
|
||||
branches: [ master ]
|
||||
pull_request:
|
||||
branches: [ master ]
|
||||
|
||||
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
|
||||
jobs:
|
||||
Build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
|
||||
|
||||
- name: Clone 'Featherity'
|
||||
uses: actions/checkout@v2
|
||||
|
||||
|
||||
- name: Install FontForge
|
||||
run: sudo apt-get install zlib1g-dev fontforge woff2
|
||||
|
||||
|
||||
- name: Clone sfnt2woff-zopfli repo
|
||||
run: git clone https://github.com/bramstein/sfnt2woff-zopfli.git sfnt2woff-zopfli
|
||||
|
||||
|
||||
|
||||
- name: Install and move sfnt2woff-zopfli
|
||||
run: |
|
||||
cd sfnt2woff-zopfli
|
||||
make
|
||||
sudo mv sfnt2woff-zopfli /usr/local/bin/sfnt2woff
|
||||
|
||||
|
||||
- name: Clone woff2
|
||||
run: git clone --recursive https://github.com/google/woff2.git
|
||||
|
||||
- name: Install woff2
|
||||
run: |
|
||||
cd woff2
|
||||
sudo make clean all
|
||||
sudo mv woff2_compress /usr/local/bin/ && sudo mv woff2_decompress /usr/local/bin/
|
||||
|
||||
|
||||
|
||||
|
||||
- name: Install Font Custom dependency
|
||||
run: sudo gem install fontcustom
|
||||
|
||||
- name: Build 'Featherity'
|
||||
run: echo "Building Featherity font" && fontcustom compile ./icons -h -n Featherity -o build -F
|
||||
|
||||
|
||||
- name: Zip 'Featherity'
|
||||
run: zip -r Featherity.zip build
|
||||
|
||||
|
||||
- name: 'Upload to Artifacts'
|
||||
uses: actions/upload-artifact@v1.0.0
|
||||
with:
|
||||
name: Featherity
|
||||
path: build
|
||||
|
||||
Reference in New Issue
Block a user