-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
## Proposed Changes - Update ci workflow to remove `DEVELOPER_DIR` and consolidate in single file.
- Loading branch information
Showing
3 changed files
with
34 additions
and
40 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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,34 @@ | ||
name: Validate | ||
on: | ||
pull_request: | ||
push: | ||
schedule: | ||
- cron: "0 2 * * */2" | ||
|
||
jobs: | ||
build: | ||
name: Ensure the code builds | ||
runs-on: macos-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- run: bundle install | ||
- run: pod repo update | ||
- run: pod install | ||
- run: | | ||
set -o pipefail | ||
xcodebuild -workspace ooniprobe.xcworkspace -scheme ooniprobe \ | ||
-destination='name=Any iOS Device' -sdk iphoneos archive CODE_SIGNING_ALLOWED="NO" | xcpretty | ||
test: | ||
name: Run tests | ||
needs: [ build ] | ||
runs-on: macos-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- run: bundle install | ||
- run: pod repo update | ||
- run: pod install | ||
- run: | | ||
set -o pipefail | ||
xcodebuild clean build test -workspace ooniprobe.xcworkspace -sdk iphonesimulator \ | ||
-scheme ooniprobe -destination 'name=iPhone 14' | xcpretty |