Skip to content

Commit

Permalink
ci: Add win64 build of freetype
Browse files Browse the repository at this point in the history
Signed-off-by: Squareys <[email protected]>
  • Loading branch information
Squareys committed Nov 17, 2020
1 parent 81097fe commit 8188314
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Freetype

on: [push, pull_request]

env:
# Bump this to fetch a newer version
FREETYPE_VERSION: 2.10.4

jobs:
windows:
name: ${{ matrix.target }}
runs-on: windows-latest
strategy:
matrix:
target: ["win64"]
steps:
- name: Download sources
run: |
Invoke-WebRequest https://download.savannah.gnu.org/releases/freetype/freetype-${{ env.FREETYPE_VERSION }}.tar.gz -O freetype.tar.gz
tar xzvf freetype.tar.gz
- name: Generate
run: |
cd freetype-${{ env.FREETYPE_VERSION }}
cmake -B build -DCMAKE_BUILD_TYPE=Release
- name: Build & Package
run: |
cd freetype-${{ env.FREETYPE_VERSION }}
cmake --build build --config Release --target package
- name: Upload artifacts
uses: actions/upload-artifact@v1
with:
name: freetype-${{ env.FREETYPE_VERSION }}-${{ matrix.target }}
path: freetype-${{ env.FREETYPE_VERSION }}/build/freetype-${{ env.FREETYPE_VERSION }}-${{ matrix.target }}.zip

0 comments on commit 8188314

Please sign in to comment.