Skip to content

Commit 7be78ba

Browse files
authored
ci: Fix and build Starter Projects (#1744)
1 parent c420b82 commit 7be78ba

File tree

27 files changed

+590
-1873
lines changed

27 files changed

+590
-1873
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ on:
88
branches:
99
- "**"
1010
env:
11-
CI_XCODE_11: /Applications/Xcode_11.7.app/Contents/Developer
1211
CI_XCODE_14: /Applications/Xcode_14.2.app/Contents/Developer
1312
jobs:
1413
tests:
@@ -24,9 +23,9 @@ jobs:
2423
- test:twitter_utils:ios
2524
- test:parseui:all
2625
- test:parse_live_query:all
27-
- package:release
26+
- build:starters
2827
fail-fast: false
29-
runs-on: ${{ (matrix.script == 'package:release' && 'macos-11') || 'macos-12' }}
28+
runs-on: macos-12
3029
steps:
3130
- uses: actions/checkout@v3
3231
- name: Setup Ruby
@@ -68,7 +67,7 @@ jobs:
6867
- name: Build-Test
6968
run: set -o pipefail && env NSUnbufferedIO=YES bundle exec rake ${{ matrix.script }}
7069
env:
71-
DEVELOPER_DIR: ${{ (matrix.script == 'package:release' && env.CI_XCODE_11) || env.CI_XCODE_14 }}
70+
DEVELOPER_DIR: ${{ env.CI_XCODE_14 }}
7271
- name: Generate Environment Variables
7372
if: ${{ always() }}
7473
env:

CONTRIBUTING.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,10 @@ For analyzing bugs, creating bug fixes and features we recommend to clone this r
3030
```
3131
bundle exec rake test:ios
3232
```
33+
5. Ensure the project builds. You can use the [Starter Projects](https://github.com/parse-community/Parse-SDK-iOS-OSX/tree/master/ParseStarterProject) to perform integration tests.
34+
```
35+
bundle exec rake build:starters
36+
```
3337
Check the [Rakefile](Rakefile) and the [GitHub workflows](.github/workflows) for more information.
3438

3539
# Bugs

Parse.xcworkspace/xcshareddata/swiftpm/Package.resolved

Lines changed: 43 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)