CI - Push #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: CI - Push | |
on: | |
push: | |
branches: ["main"] | |
workflow_dispatch: | |
jobs: | |
swiftpm: | |
name: Build | |
runs-on: macOS-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Set secret | |
run: git config --global url."https://${{ secrets.ACTIONS_TOKEN }}:[email protected]/".insteadOf "https://github.com/" | |
- name: Set pipefail | |
run: set -euo pipefail | |
- name: Set SwiftPM Plugin config | |
run: defaults write com.apple.dt.Xcode IDESkipPackagePluginFingerprintValidatation -bool YES | |
- name: Build Package | |
run: xcodebuild clean build -skipPackagePluginValidation -scheme "OversizeComponents" -destination 'platform=iOS Simulator,name=iPhone 14,OS=17.0' | xcpretty && exit ${PIPESTATUS[0]} | |
# jobs: | |
# build-oversizeComponents: | |
# name: Build OversizeComponents | |
# uses: oversizedev/GithubWorkflows/.github/workflows/build-swiftpm.yml@main | |
# with: | |
# package: "OversizeComponents" | |
# secrets: inherit | |
# build-healthComponents: | |
# name: Build HealthComponents | |
# uses: oversizedev/GithubWorkflows/.github/workflows/build-swiftpm.yml@main | |
# with: | |
# package: "OversizeHealthComponents" | |
# secrets: inherit | |
# build-photoComponents: | |
# name: Build PhotoComponents | |
# uses: oversizedev/GithubWorkflows/.github/workflows/build-swiftpm.yml@main | |
# with: | |
# package: "OversizePhotoComponents" | |
# secrets: inherit | |
# build-weatherComponents: | |
# name: Build WeatherComponents | |
# uses: oversizedev/GithubWorkflows/.github/workflows/build-swiftpm.yml@main | |
# with: | |
# package: "OversizeWeatherComponents" | |
# secrets: inherit | |
# tests: | |
# name: Test | |
# needs: [build-oversizeComponents, build-healthComponents, build-photoComponents, build-weatherComponents] | |
# uses: oversizedev/GithubWorkflows/.github/workflows/test.yml@main | |
# secrets: inherit | |
# bump: | |
# name: Bump version | |
# needs: tests | |
# uses: oversizedev/GithubWorkflows/.github/workflows/bump.yml@main | |
# secrets: inherit |