Skip to content

Commit

Permalink
Develop (#39)
Browse files Browse the repository at this point in the history
* Fix CI

* Add Page component and other small improvements

* Fix CI (#38)

* Fix CI

* Update release.yml
# Conflicts:
#	.github/workflows/release.yml

* Update CI

* Upd CI

* Upd CI

* Fig platform supports

* Upd

* Update ci-pull-request.yml

* Update ci-pull-request.yml

* Update ci-pull-request.yml

* Update ci-pull-request.yml

* Update ci-pull-request.yml

* Update ci-pull-request.yml

* Update ci-pull-request.yml

* Update gitignore

* Fix CI

* Fix warnings

* Update CI

* Fix ci

* Delete .swiftpm/xcode directory
  • Loading branch information
aromanov91 authored Mar 15, 2024
1 parent 707bb50 commit 6285add
Show file tree
Hide file tree
Showing 66 changed files with 2,299 additions and 465 deletions.
90 changes: 0 additions & 90 deletions .github/workflows/build-example.yml

This file was deleted.

25 changes: 0 additions & 25 deletions .github/workflows/build-swiftpm.yml

This file was deleted.

20 changes: 0 additions & 20 deletions .github/workflows/bump.yml

This file was deleted.

55 changes: 51 additions & 4 deletions .github/workflows/ci-pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,60 @@ on:
branches:
- 'main'
workflow_dispatch:

jobs:
build-swiftpm:
name: Build SwiftPM
uses: ./.github/workflows/build-swiftpm.yml
uses: oversizedev/GithubWorkflows/.github/workflows/build-swiftpm.yml@main
with:
package: OversizeUI
secrets: inherit
build-example:
name: Build Examples

build-iOS-example:
name: Build iOS example
needs: build-swiftpm
uses: ./.github/workflows/build-example.yml
uses: oversizedev/GithubWorkflows/.github/workflows/build-app.yml@main
strategy:
matrix:
destination: ['platform=iOS Simulator,name=iPhone 15 Pro,OS=17.2', 'platform=iOS Simulator,name=iPad Pro (12.9-inch) (6th generation),OS=17.2']
with:
path: Example/Example
scheme: Example (iOS)
destination: ${{ matrix.destination }}
secrets: inherit

build-macOS-example:
name: Build macOS examples
needs: build-swiftpm
uses: oversizedev/GithubWorkflows/.github/workflows/build-app.yml@main
with:
path: Example/Example
scheme: Example (macOS)
destination: platform=macOS,arch=arm64
secrets: inherit

build-tvOS-example:
name: Build tvOS examples
needs: build-swiftpm
uses: oversizedev/GithubWorkflows/.github/workflows/build-app.yml@main
strategy:
matrix:
destination: ['platform=tvOS Simulator,name=Apple TV 4K (3rd generation) (at 1080p),OS=17.2', 'platform=tvOS Simulator,name=Apple TV 4K (3rd generation) (at 1080p),OS=16.4']
with:
path: Example/Example
scheme: Example (tvOS)
destination: ${{ matrix.destination }}
secrets: inherit

build-watchOS-example:
name: Build watchOS examples
needs: build-swiftpm
uses: oversizedev/GithubWorkflows/.github/workflows/build-app.yml@main
strategy:
matrix:
destination: ['platform=watchOS Simulator,name=Apple Watch Ultra 2 (49mm),OS=10.2', 'platform=watchOS Simulator,name=Apple Watch Series 8 (45mm),OS=9.4']
with:
path: Example/Example
scheme: Example (watchOS)
destination: ${{ matrix.destination }}
secrets: inherit
62 changes: 55 additions & 7 deletions .github/workflows/ci-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,23 +6,71 @@ on:
branches:
- main
workflow_dispatch:

jobs:

build-swiftpm:
name: Build SwiftPM
uses: ./.github/workflows/build-swiftpm.yml
uses: oversizedev/GithubWorkflows/.github/workflows/build-swiftpm.yml@main
strategy:
matrix:
packages: [OversizeUI]
with:
package: ${{ matrix.packages }}
secrets: inherit

build-iOS-example:
name: Build iOS example
needs: build-swiftpm
uses: oversizedev/GithubWorkflows/.github/workflows/build-app.yml@main
strategy:
matrix:
destination: ['platform=iOS Simulator,name=iPhone 15 Pro,OS=17.2', 'platform=iOS Simulator,name=iPad Pro (12.9-inch) (6th generation),OS=17.2']
with:
path: Example/Example
scheme: Example (iOS)
destination: ${{ matrix.destination }}
secrets: inherit

build-macOS-example:
name: Build macOS examples
needs: build-swiftpm
uses: oversizedev/GithubWorkflows/.github/workflows/build-app.yml@main
with:
path: Example/Example
scheme: Example (macOS)
destination: platform=macOS,arch=arm64
secrets: inherit

build-tvOS-example:
name: Build tvOS examples
needs: build-swiftpm
uses: oversizedev/GithubWorkflows/.github/workflows/build-app.yml@main
strategy:
matrix:
destination: ['platform=tvOS Simulator,name=Apple TV 4K (3rd generation) (at 1080p),OS=17.2', 'platform=tvOS Simulator,name=Apple TV 4K (3rd generation) (at 1080p),OS=16.4']
with:
path: Example/Example
scheme: Example (tvOS)
destination: ${{ matrix.destination }}
secrets: inherit

build-example:
name: Build Examples
build-watchOS-example:
name: Build watchOS examples
needs: build-swiftpm
uses: ./.github/workflows/build-example.yml
uses: oversizedev/GithubWorkflows/.github/workflows/build-app.yml@main
strategy:
matrix:
destination: ['platform=watchOS Simulator,name=Apple Watch Ultra 2 (49mm),OS=10.2', 'platform=watchOS Simulator,name=Apple Watch Series 8 (45mm),OS=9.4']
with:
path: Example/Example
scheme: Example (watchOS)
destination: ${{ matrix.destination }}
secrets: inherit

bump:
name: Bump version
needs: [build-swiftpm, build-example]
uses: ./.github/workflows/bump.yml
needs: [build-swiftpm, build-iOS-example, build-macOS-example, build-tvOS-example, build-watchOS-example]
uses: oversizedev/GithubWorkflows/.github/workflows/bump.yml@main
secrets: inherit

publish-docc:
Expand Down
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
/*.xcodeproj
xcuserdata/
DerivedData/
.swiftpm/xcode/package.xcworkspace/contents.xcworkspacedata
/.swiftpm
/.idea/
/Package.resolved
/Example/Example.xcodeproj/project.xcworkspace/xcshareddata/swiftpm
2 changes: 1 addition & 1 deletion .swiftformat
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
--swiftversion 5.7
--swiftversion 5.9
--disable preferKeyPath
--ifdef no-indent

This file was deleted.

This file was deleted.

Loading

0 comments on commit 6285add

Please sign in to comment.