Skip to content

Commit

Permalink
Update ci.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
aromanov91 authored Feb 5, 2024
1 parent 47efddc commit faca93c
Showing 1 changed file with 56 additions and 34 deletions.
90 changes: 56 additions & 34 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,42 +6,64 @@ on:
workflow_dispatch:

jobs:
build-oversizeComponents:
name: Build OversizeComponents
uses: oversizedev/GithubWorkflows/.github/workflows/build-swiftpm.yml@main
with:
package: "OversizeComponents"
secrets: inherit
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-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-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
# 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
# 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
# bump:
# name: Bump version
# needs: tests
# uses: oversizedev/GithubWorkflows/.github/workflows/bump.yml@main
# secrets: inherit

0 comments on commit faca93c

Please sign in to comment.