Skip to content

Commit

Permalink
Add package manager CI build jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewchang-bird committed Jan 7, 2022
1 parent c487dd4 commit 740c1df
Showing 1 changed file with 30 additions and 10 deletions.
40 changes: 30 additions & 10 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,6 @@ jobs:
- name: Test
run: Sources/MockingbirdAutomationCli/buildAndRun.sh test e2e

test-podspec:
name: Test Podspec
runs-on: macOS-latest
steps:
- uses: actions/checkout@v2
- name: Test
env:
GH_ACCESS_TOKEN: ${{ secrets.GH_ACCESS_TOKEN }}
run: pod spec lint MockingbirdFramework.podspec

test-example-project:
name: Test Example Project (${{ matrix.type }})
runs-on: macOS-latest
Expand All @@ -39,3 +29,33 @@ jobs:
env:
GH_ACCESS_TOKEN: ${{ secrets.GH_ACCESS_TOKEN }}
run: Sources/MockingbirdAutomationCli/buildAndRun.sh test example ${{ matrix.type }}

build-cocoapods:
name: Build CocoaPods
runs-on: macOS-latest
steps:
- uses: actions/checkout@v2
- name: Build
env:
GH_ACCESS_TOKEN: ${{ secrets.GH_ACCESS_TOKEN }}
run: pod lib lint MockingbirdFramework.podspec

build-carthage:
name: Build Carthage
runs-on: macOS-latest
steps:
- uses: actions/checkout@v2
- name: Set Up Project
run: Sources/MockingbirdAutomationCli/buildAndRun.sh configure unload --keep MockingbirdFramework
- name: Build Release
run: Sources/MockingbirdAutomationCli/buildAndRun.sh build

build-swiftpm:
name: Build SwiftPM
runs-on: macOS-latest
steps:
- uses: actions/checkout@v2
- name: Build Debug
run: swift build --configuration debug
- name: Build Release
run: swift build --configuration release

0 comments on commit 740c1df

Please sign in to comment.