Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Develop #16

Merged
merged 29 commits into from
Nov 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 0 additions & 36 deletions .github/workflows/ci-pull-request.yml

This file was deleted.

46 changes: 0 additions & 46 deletions .github/workflows/ci-push.yml

This file was deleted.

100 changes: 100 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,100 @@
name: CI

on:
push:
branches:
- '**'
workflow_dispatch:

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
build-oversize-kit:
name: Build OversizeKit
uses: oversizedev/GithubWorkflows/.github/workflows/build-swiftpm-all-platforms.yml@main
with:
package: OversizeKit
secrets: inherit

build-calendar-kit:
name: Build CalendarKit
uses: oversizedev/GithubWorkflows/.github/workflows/build-swiftpm-all-platforms.yml@main
with:
package: OversizeCalendarKit
secrets: inherit

build-contacts-kit:
name: Build OversizeContactsKit
uses: oversizedev/GithubWorkflows/.github/workflows/build-swiftpm-all-platforms.yml@main
with:
package: OversizeContactsKit
secrets: inherit

build-location-kit:
name: Build LocationKit
uses: oversizedev/GithubWorkflows/.github/workflows/build-swiftpm-all-platforms.yml@main
with:
package: OversizeLocationKit
secrets: inherit

build-notice-kit:
name: Build NoticeKit
uses: oversizedev/GithubWorkflows/.github/workflows/build-swiftpm-all-platforms.yml@main
with:
package: OversizeNoticeKit
secrets: inherit

build-notification-kit:
name: Build NotificationKit
uses: oversizedev/GithubWorkflows/.github/workflows/build-swiftpm-all-platforms.yml@main
with:
package: OversizeNotificationKit
secrets: inherit

build-onboarding-kit:
name: Build OnboardingKit
uses: oversizedev/GithubWorkflows/.github/workflows/build-swiftpm-all-platforms.yml@main
with:
package: OversizeOnboardingKit
secrets: inherit

build-photo-kit:
name: Build PhotoKit
uses: oversizedev/GithubWorkflows/.github/workflows/build-swiftpm-all-platforms.yml@main
with:
package: OversizePhotoKit
secrets: inherit

build-example:
name: Build Example
needs:
- build-oversize-kit
- build-calendar-kit
- build-contacts-kit
- build-location-kit
- build-notice-kit
- build-notification-kit
- build-onboarding-kit
- build-photo-kit
uses: oversizedev/GithubWorkflows/.github/workflows/build-app.yml@main
with:
path: AppExample/Example
scheme: Example
destination: platform=iOS Simulator,name=iPhone 16,OS=18.1
secrets: inherit

# tests:
# name: Test
# needs: build-swiftpm
# uses: oversizedev/GithubWorkflows/.github/workflows/test.yml@main
# secrets: inherit

bump:
name: Bump version
needs:
- build-example
if: github.ref == 'refs/heads/main'
uses: oversizedev/GithubWorkflows/.github/workflows/bump.yml@main
secrets: inherit
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
- "*.*.*"

jobs:
build:
release:
name: Create release
runs-on: ubuntu-latest
steps:
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"colors" : [
{
"idiom" : "universal"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"images" : [
{
"idiom" : "universal",
"platform" : "watchos",
"size" : "1024x1024"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"info" : {
"author" : "xcode",
"version" : 1
}
}
30 changes: 30 additions & 0 deletions AppExample/Example (watchOS) Watch App/ContentView.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
//
// Copyright © 2024 Alexander Romanov
// ContentView.swift, created on 19.05.2024
//

import OversizeCalendarKit
import OversizeContactsKit
import OversizeKit
import OversizeLocationKit
import OversizeNoticeKit
import OversizeNotificationKit
import OversizeOnboardingKit
import OversizePhotoKit
import SwiftUI

struct ContentView: View {
var body: some View {
VStack {
Image(systemName: "globe")
.imageScale(.large)
.foregroundStyle(.tint)
Text("Hello, world!")
}
.padding()
}
}

#Preview {
ContentView()
}
21 changes: 21 additions & 0 deletions AppExample/Example (watchOS) Watch App/Example__watchOS_App.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
//
// Copyright © 2024 Alexander Romanov
// Example__watchOS_App.swift, created on 19.05.2024
//

import Factory
import OversizeKit
import OversizeServices
import OversizeUI
import SwiftUI

@main
struct Example__watchOS__Watch_AppApp: App {
@Injected(\.appStateService) var appStateService: AppStateService

var body: some Scene {
WindowGroup {
ContentView()
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"info" : {
"author" : "xcode",
"version" : 1
}
}
Loading