mirror of
https://github.com/TextureGroup/Texture.git
synced 2026-04-07 19:17:39 +00:00
36 lines
1.1 KiB
YAML
36 lines
1.1 KiB
YAML
name: CI
|
|
|
|
on: [push, pull_request]
|
|
|
|
jobs:
|
|
buildsh:
|
|
env:
|
|
DEVELOPER_DIR: /Applications/Xcode_11.4.1.app/Contents/Developer
|
|
strategy:
|
|
matrix:
|
|
mode: [tests, framework, life-without-cocoapods, carthage, 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: carthage
|
|
name: Verify that Carthage works
|
|
- 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 }}
|