From 9c07d940f5f4e266dfea939749064055ca0c254d Mon Sep 17 00:00:00 2001 From: Huy Nguyen Date: Sat, 17 Aug 2019 06:06:48 -0700 Subject: [PATCH] Set up GitHub Actions CI --- .github/workflows/ci-master-only.yml | 14 ++++++++ .github/workflows/ci.yml | 53 ++++++++++++++++++++++++++++ 2 files changed, 67 insertions(+) create mode 100644 .github/workflows/ci-master-only.yml create mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci-master-only.yml b/.github/workflows/ci-master-only.yml new file mode 100644 index 000000000..132a2f315 --- /dev/null +++ b/.github/workflows/ci-master-only.yml @@ -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 diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 000000000..5637d651c --- /dev/null +++ b/.github/workflows/ci.yml @@ -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