Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set up GitHub Actions CI #1623

Merged
merged 6 commits into from
Aug 18, 2019
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions .github/workflows/ci-master-only.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: CI (master-only jobs)

on:
push:
branches:
- master

jobs:
cocoapods-lint:
name: Verify that podspec lints
runs-on: macOS-10.14
steps:
- uses: actions/checkout@v1
- run: ./build.sh cocoapods-lint
53 changes: 53 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
name: CI

on: push

jobs:
tests:
name: Build and run tests
runs-on: macOS-10.14
steps:
- uses: actions/checkout@v1
- run: ./build.sh tests
dynamic-framework:
name: Build Texture as a dynamic framework
needs: tests
runs-on: macOS-10.14
steps:
- uses: actions/checkout@v1
- run: ./build.sh framework
static-library:
name: Build Texture as a static library
needs: tests
runs-on: macOS-10.14
steps:
- uses: actions/checkout@v1
- run: ./build.sh life-without-cocoapods
examples-pt1:
name: Build examples (examples-pt1)
needs: tests
runs-on: macOS-10.14
steps:
- uses: actions/checkout@v1
- run: ./build.sh examples-pt1
examples-pt2:
name: Build examples (examples-pt2)
needs: tests
runs-on: macOS-10.14
steps:
- uses: actions/checkout@v1
- run: ./build.sh examples-pt2
examples-pt3:
name: Build examples (examples-pt3)
needs: tests
runs-on: macOS-10.14
steps:
- uses: actions/checkout@v1
- run: ./build.sh examples-pt3
carthage:
name: Verify that Carthage works
needs: tests
runs-on: macOS-10.14
steps:
- uses: actions/checkout@v1
- run: ./build.sh carthage