Skip to content

Commit

Permalink
feat(SCREO-12675): Removed xcodegen & carthage (#34)
Browse files Browse the repository at this point in the history
* feat: removed carthage

* feat: removed carthage

* feat: removed carthage

* feat:  build & run test on macOS & iOS

* feat:  build & run test on macOS & iOS

* feat:  build & run test on macOS & iOS
  • Loading branch information
skychiarottoa authored Oct 26, 2022
1 parent 930fb2a commit 8ee82f7
Show file tree
Hide file tree
Showing 17 changed files with 8 additions and 1,560 deletions.
31 changes: 8 additions & 23 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,26 +7,12 @@ aliases:
command: |
rm ~/.ssh/id_rsa
for ip in $(dig @8.8.8.8 github.com +short); do ssh-keyscan github.com,$ip; ssh-keyscan $ip; done 2>/dev/null >> ~/.ssh/known_hosts || true
- &carthage_bootstrap
name: Bootstrap iOS dependencies
command: |
./bootstrap
- &unittest_reactive_api
name: Run ReactiveAPI Unit Tests
command: >
xcodebuild test
-scheme ReactiveAPI
-clonedSourcePackagesDirPath SourcePackages
-destination 'platform=iOS Simulator,name=iPhone 11'
| xcpretty
- &unittest_reactive_api_ext
name: Run ReactiveAPIExt Unit Tests
command: >
xcodebuild test
-scheme ReactiveAPIExt
-clonedSourcePackagesDirPath SourcePackages
-destination 'platform=iOS Simulator,name=iPhone 11'
| xcpretty
- &run_swift_test
name: Run Tests on macOS
command: swift test
- &run_xcodebuld_test
name: Run tests on iOS
command: xcodebuild test -scheme ReactiveAPI-Package -destination 'platform=iOS Simulator,name=iPhone 13'
- &swiftlint
name: Run Swiftlint
command: swiftlint lint
Expand All @@ -36,10 +22,9 @@ jobs:
shell: /bin/bash --login -eo pipefail
steps:
- checkout
- run: *carthage_bootstrap
- run: *ssh_fix
- run: *unittest_reactive_api
- run: *unittest_reactive_api_ext
- run: *run_swift_test
- run: *run_xcodebuld_test
swiftlint:
docker:
- image: dantoml/swiftlint:latest
Expand Down
1 change: 0 additions & 1 deletion Cartfile

This file was deleted.

2 changes: 0 additions & 2 deletions Cartfile.private

This file was deleted.

3 changes: 0 additions & 3 deletions Cartfile.resolved

This file was deleted.

22 changes: 0 additions & 22 deletions ReactiveAPI.plist

This file was deleted.

970 changes: 0 additions & 970 deletions ReactiveAPI.xcodeproj/project.pbxproj

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

104 changes: 0 additions & 104 deletions ReactiveAPI.xcodeproj/xcshareddata/xcschemes/ReactiveAPI.xcscheme

This file was deleted.

This file was deleted.

Loading

0 comments on commit 8ee82f7

Please sign in to comment.