mirror of
https://github.com/TextureGroup/Texture.git
synced 2026-04-07 19:17:39 +00:00
* Update ci.yml
Add name to the script run phase
* Revert back Dangerfile and remove danger JS, create separate workflow for push for tests and for PR for tests + danger, run ruby danger as part of the PR check
* remove PR ci
* Revert "remove PR ci"
This reverts commit 839ba3ae2a.
* cahnge token to default one
* PR feedback
* Rename danger.yml name
34 lines
1.0 KiB
YAML
34 lines
1.0 KiB
YAML
name: CI
|
|
|
|
on: [push, pull_request]
|
|
|
|
jobs:
|
|
buildsh:
|
|
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-10.14
|
|
steps:
|
|
- name: Checkout the Git repository
|
|
uses: actions/checkout@v1
|
|
- name: Run build script
|
|
run: ./build.sh ${{ matrix.mode }}
|