CORE-5261 Stoplight documentation #83
Workflow file for this run
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
# This workflow will build a Swift project | |
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-swift | |
name: SPM Build and Test | |
on: | |
push: | |
branches: [ "feature/unit-test", "main", "release/*"] | |
pull_request: | |
branches: [ "feature/unit-test", "main", "release/*" ] | |
jobs: | |
build: | |
runs-on: macos-latest | |
strategy: | |
matrix: | |
platform: [ ios ] | |
steps: | |
- name: Clean DerivedData | |
run: rm -rf ~/Library/Developer/Xcode/DerivedData | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Generate Folder Structure | |
run: bash generate_folder_structure.sh | |
- name: Build and run tests | |
run: xcodebuild test -scheme PlaybackSDK -destination 'platform=iOS Simulator,name=iPhone 15,OS=17.4' |