Skip to content

Cast outline.tags to char * to fix FreeType 2.13.3 build #54

Cast outline.tags to char * to fix FreeType 2.13.3 build

Cast outline.tags to char * to fix FreeType 2.13.3 build #54

name: SwiftPlot Ubuntu
on:
push:
branches: master
pull_request:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Install Freetype
run: sudo apt-get install libfreetype6-dev
- name: Install Swift Dependencies
run: sudo apt-get install clang libicu-dev
- name: Install Swift
# TODO: Use the release version again once
# https://github.com/swift-actions/setup-swift/pull/680
# is merged
uses: swift-actions/setup-swift@bb83339d1e8577741bdc6c65ba551ce7dc0fb854
with:
swift-version: "5.4"
- name: Build
run: swift build -v
- name: Run tests
run: swift test -v
- name: Upload test artefacts
uses: actions/upload-artifact@v1
if: always()
with:
name: images
path: ./output