-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f1378e4
commit 9c5a8e5
Showing
3 changed files
with
50 additions
and
4 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
name: Build Example | ||
|
||
on: | ||
workflow_dispatch: | ||
workflow_call: | ||
|
||
concurrency: | ||
group: ${{ github.head_ref || github.run_id }} | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
|
||
build: | ||
|
||
runs-on: macOS-13 | ||
|
||
name: Package build | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Select Xcode | ||
run: sudo xcode-select -switch /Applications/Xcode_15.0.app && /usr/bin/xcodebuild -version | ||
|
||
- name: Build and run tests | ||
run: xcodebuild clean build -skipPackagePluginValidation -scheme OversizeComponents -destination 'platform=iOS Simulator,name=iPhone 14 Pro,OS=16.4' | xcpretty && exit ${PIPESTATUS[0]} | ||
|
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 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
name: CI - Push | ||
|
||
on: | ||
push: | ||
branches: ["main"] | ||
workflow_dispatch: | ||
|
||
jobs: | ||
|
||
build-swiftpm: | ||
name: Build SwiftPM | ||
uses: ./.github/workflows/build-swiftpm.yml | ||
secrets: inherit | ||
|
||
bump: | ||
name: Bump version | ||
needs: build-swiftpm | ||
uses: ./.github/workflows/bump.yml | ||
secrets: inherit | ||
|