Merge pull request #338 from rollbar/matux/321-bug #452
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: CI Build with Unit Tests | |
on: | |
push: | |
branches: [master] | |
pull_request: | |
branches: [master] | |
jobs: | |
build: | |
runs-on: macos-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Create DerivedData folder | |
run: mkdir DerivedData | |
- name: Build RollbarCommon | |
working-directory: RollbarCommon | |
run: swift build -v --build-path ../DerivedData | |
- name: Build RollbarDeploys | |
working-directory: RollbarDeploys | |
run: swift build -v | |
- name: Build RollbarNotifier | |
working-directory: RollbarNotifier | |
run: swift build -v | |
- name: Build RollbarAUL | |
working-directory: RollbarAUL | |
run: swift build -v | |
- name: Test RollbarCommon | |
run: | | |
xcodebuild \ | |
-workspace RollbarSDK.xcworkspace \ | |
-scheme RollbarCommon \ | |
-derivedDataPath DerivedData \ | |
-enableCodeCoverage YES \ | |
build \ | |
test \ | |
CODE_SIGN_IDENTITY="-" \ | |
CODE_SIGNING_REQUIRED=NO | |
- name: Test RollbarDeploys | |
run: | | |
xcodebuild \ | |
-workspace RollbarSDK.xcworkspace \ | |
-scheme RollbarDeploys \ | |
-derivedDataPath DerivedData \ | |
-enableCodeCoverage YES \ | |
build \ | |
test \ | |
CODE_SIGN_IDENTITY="-" \ | |
CODE_SIGNING_REQUIRED=NO | |
- name: Test RollbarNotifier | |
run: | | |
xcodebuild \ | |
-workspace RollbarSDK.xcworkspace \ | |
-scheme RollbarNotifier \ | |
-derivedDataPath DerivedData \ | |
-enableCodeCoverage YES \ | |
build \ | |
test \ | |
CODE_SIGN_IDENTITY="-" \ | |
CODE_SIGNING_REQUIRED=NO | |
- name: Test RollbarAUL | |
run: | | |
xcodebuild \ | |
-workspace RollbarSDK.xcworkspace \ | |
-scheme RollbarAUL \ | |
-derivedDataPath DerivedData \ | |
-enableCodeCoverage YES \ | |
build \ | |
test \ | |
CODE_SIGN_IDENTITY="-" \ | |
CODE_SIGNING_REQUIRED=NO |