-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* wip Dependencies.podspec * fix * fix podspec * add linting checks * bump macos and xcode version * fix format * update * update github actions * update * update * fix typo * fix * wip * update * update * update * fix * enable cancel in progress * update * use ios simulator * pass value * fix typo * update * update * add concurrency extras * update * pinned ConcurrencyExtra to 1.0.0 * change source url * change source * set version * update * remove * revert * revert * revert
- Loading branch information
Showing
5 changed files
with
85 additions
and
44 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,63 @@ | ||
name: Base | ||
|
||
on: | ||
workflow_call: | ||
inputs: | ||
os: | ||
description: 'The OS to run the job on' | ||
required: true | ||
type: string | ||
xcode: | ||
description: 'The Xcode version to run the job on' | ||
required: true | ||
type: string | ||
device: | ||
description: 'The device to run the job on' | ||
required: true | ||
type: string | ||
|
||
jobs: | ||
|
||
build_library: | ||
runs-on: ${{ inputs.os }} | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Select Xcode ${{ inputs.xcode }} | ||
run: sudo xcode-select -s /Applications/Xcode_${{ inputs.xcode }}.app | ||
- name: Run build | ||
run: make build-library | ||
- name: Run benchmark | ||
run: make benchmark | ||
|
||
unit_test_library: | ||
runs-on: ${{ inputs.os }} | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Select Xcode ${{ inputs.xcode }} | ||
run: sudo xcode-select -s /Applications/Xcode_${{ inputs.xcode }}.app | ||
- name: Run tests | ||
run: make test-library | ||
|
||
unit_test_example: | ||
runs-on: ${{ inputs.os }} | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Select Xcode ${{ inputs.xcode }} | ||
run: sudo xcode-select -s /Applications/Xcode_${{ inputs.xcode }}.app | ||
- name: Run tests | ||
run: make test-example DEVICE='${{ inputs.device }}' | ||
|
||
lint_podspec: | ||
runs-on: ${{ inputs.os }} | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Select Xcode ${{ inputs.xcode }} | ||
run: sudo xcode-select -s /Applications/Xcode_${{ inputs.xcode }}.app | ||
- name: Install cocoapods | ||
run: sudo gem install cocoapods | ||
- name: Lint podspec | ||
run: pod lib lint --allow-warnings --quick | ||
|
||
|
||
|
||
|
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
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