Add support for variable fonts. (#24) #49
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: main | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
build: | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
submodules: true | |
lfs: true | |
- uses: lukka/get-cmake@latest | |
- name: Setup anew (or from cache) vcpkg (and does not build any package) | |
uses: lukka/run-vcpkg@v11 | |
with: | |
vcpkgGitCommitId: '88b81397bbf10f554d54246b50f188dac41470f1' | |
- name: Run CMake consuming CMakePreset.json and run vcpkg to build packages | |
uses: lukka/run-cmake@v10 | |
with: | |
configurePreset: 'ninja-multi-vcpkg' | |
buildPreset: 'ninja-multi-vcpkg' | |
buildPresetAdditionalArgs: "['--config Release']" | |
- uses: actions/upload-artifact@v3 | |
with: | |
name: windows | |
path: builds/ninja-multi-vcpkg/Release | |
- name: "Create latest release file" | |
run: | | |
Get-ChildItem -Path builds/ninja-multi-vcpkg/Release | Compress-Archive -DestinationPath windows-latest.zip | |
- uses: EndBug/latest-tag@latest | |
- name: Release | |
uses: softprops/action-gh-release@v1 | |
with: | |
body: | | |
This is the latest, the bleeding edge. Might not work properly and might harm your system. Use with care. | |
files: windows-latest.zip | |
name: Latest | |
prerelease: true | |
tag_name: latest | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |