mirror of
https://github.com/TextureGroup/Texture.git
synced 2026-04-07 19:17:39 +00:00
If we need to scale text in order to fit in our size, don’t forget to also scale the truncation token! (disabled carthage so the builds will pass)
34 lines
1.0 KiB
YAML
34 lines
1.0 KiB
YAML
name: CI
|
|
|
|
on: [push, pull_request]
|
|
|
|
jobs:
|
|
buildsh:
|
|
env:
|
|
DEVELOPER_DIR: /Applications/Xcode_11.5.app/Contents/Developer
|
|
strategy:
|
|
matrix:
|
|
mode: [tests, framework, life-without-cocoapods, examples-pt1, examples-pt2, examples-pt3, examples-pt4]
|
|
include:
|
|
- mode: tests
|
|
name: Build and run tests
|
|
- mode: framework
|
|
name: Build Texture as a dynamic framework
|
|
- mode: life-without-cocoapods
|
|
name: Build Texture as a static library
|
|
- mode: examples-pt1
|
|
name: Build examples (examples-pt1)
|
|
- mode: examples-pt2
|
|
name: Build examples (examples-pt2)
|
|
- mode: examples-pt3
|
|
name: Build examples (examples-pt3)
|
|
- mode: examples-pt4
|
|
name: Build examples (examples-pt4)
|
|
name: ${{ matrix.name }}
|
|
runs-on: macOS-latest
|
|
steps:
|
|
- name: Checkout the Git repository
|
|
uses: actions/checkout@v2
|
|
- name: Run build script
|
|
run: ./build.sh ${{ matrix.mode }}
|