Skip to content

Commit

Permalink
Set up GitHub Actions CI
Browse files Browse the repository at this point in the history
  • Loading branch information
nguyenhuy committed Aug 17, 2019
1 parent ab0a14c commit 9c07d94
Show file tree
Hide file tree
Showing 2 changed files with 67 additions and 0 deletions.
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

0 comments on commit 9c07d94

Please sign in to comment.