diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 20fad9c3..32eaf284 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -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/ssh-agent@v0.7.0 + with: + ssh-private-key: ${{ secrets.SDK_REPO_PRIVATE_KEY }} + - name: Build Demo App + run: ConfidenceDemoApp/scripts/build.sh + SwiftLint: runs-on: ubuntu-latest steps: diff --git a/ConfidenceDemoApp/scripts/build.sh b/ConfidenceDemoApp/scripts/build.sh new file mode 100755 index 00000000..44251d0e --- /dev/null +++ b/ConfidenceDemoApp/scripts/build.sh @@ -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' )