Release 3.0.0-a.9 #15
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build workspace | |
on: | |
push: | |
paths: | |
- '**/*.swift' | |
- '**/*.h' | |
- '**/*.hh' | |
- '**/*.m' | |
- '**/*.mm' | |
- '**/*.plist' | |
- '**/*.xcfilelist' | |
- '**/*.xcconfig' | |
- '**/*.xcscheme' | |
- '**/*.pbxproj' | |
- 'Podfile*' | |
- 'Gemfile*' | |
- 'fastlane/**' | |
- 'Brewfile*' | |
- 'CollectorDemoApp/Podfile' | |
- 'CollectorDemoApp/Podfile.lock' | |
- '.github/actions/**' | |
- '.github/workflows/build_collector_app.yml' | |
branches: | |
- '**' | |
tags-ignore: | |
- '**' | |
workflow_call: | |
inputs: | |
ref: | |
description: GitHub ref (branch or tag) to check out | |
type: string | |
required: true | |
env: | |
LC_ALL: en_US.UTF-8 | |
LANG: en_US.UTF-8 | |
jobs: | |
build_apps: | |
name: "Build App" | |
runs-on: self-hosted | |
concurrency: | |
group: build-workspace-apps-${{ inputs.ref || github.event.pull_request.number || github.ref }} | |
cancel-in-progress: true | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
ref: ${{ inputs.ref || github.ref }} | |
- uses: ./.github/actions/select-xcode | |
with: | |
version: 14 | |
- uses: ./.github/actions/prepare-dependencies | |
- name: Build Collector demo app iOS | |
run: bundle exec fastlane build_collector | |
- name: Build Collector demo app tvOS | |
run: bundle exec fastlane build_collector_for_tv | |
test_package: | |
name: "Test SPM Package" | |
needs: build_apps | |
runs-on: self-hosted | |
concurrency: | |
group: build-workspace-apps-${{ inputs.ref || github.event.pull_request.number || github.ref }} | |
cancel-in-progress: true | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
ref: ${{ inputs.ref || github.ref }} | |
- uses: ./.github/actions/select-xcode | |
with: | |
version: 14 | |
- uses: ./.github/actions/prepare-dependencies | |
- uses: ./.github/actions/generate-mocks | |
- name: Test Collector spm package | |
run: bundle exec fastlane test_collector | |