Skip to content

Commit

Permalink
ci: Build Demo App in CI (#157)
Browse files Browse the repository at this point in the history
  • Loading branch information
fabriziodemaria authored Jul 5, 2024
1 parent 3eac5b5 commit 49aa011
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,17 @@ jobs:
CLIENT_TOKEN: ${{ secrets.CONFIDENCE_CLIENT_TOKEN }}
run: scripts/run_tests.sh $CLIENT_TOKEN

DemoApp:
runs-on: macOS-latest
steps:
- uses: actions/checkout@v3
- name: webfactory/ssh-agent
uses: webfactory/[email protected]
with:
ssh-private-key: ${{ secrets.SDK_REPO_PRIVATE_KEY }}
- name: Build Demo App
run: ConfidenceDemoApp/scripts/build.sh

SwiftLint:
runs-on: ubuntu-latest
steps:
Expand Down
12 changes: 12 additions & 0 deletions ConfidenceDemoApp/scripts/build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#!/bin/bash

set -e

script_dir=$(dirname $0)
root_dir="$script_dir/../"

(cd $root_dir &&
xcodebuild \
-quiet \
-scheme ConfidenceDemoApp \
-destination 'platform=iOS Simulator,name=iPhone 15,OS=17.2' )

0 comments on commit 49aa011

Please sign in to comment.