Skip to content

Commit

Permalink
Build .app file
Browse files Browse the repository at this point in the history
  • Loading branch information
gemcoder21 committed Jun 29, 2024
1 parent b7354a1 commit cd19a94
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 4 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/ui-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,5 +52,10 @@ jobs:
- name: Build
run: make build

- name: UI Tests
run: make test-ui
# - name: UI Tests
# run: make test-ui

- uses: mobile-dev-inc/action-maestro-cloud@v1
with:
api-key: ${{ secrets.MAESTRO_CLOUD_API_KEY }}
app-file: build/Build/Products/Debug-iphonesimulator/Gem.app
6 changes: 4 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -50,12 +50,14 @@ generate-stone:
@rm -rf Packages/Gemstone
@cp -Rf core/gemstone/target/spm Packages/Gemstone

# output file: build/Build/Products/Debug-iphonesimulator/Gem.app
build:
@set -o pipefail && xcodebuild -project Gem.xcodeproj \
-scheme Gem \
-configuration Debug \
-sdk iphonesimulator \
-destination "platform=iOS Simulator,name=iPhone 15" \
build
-derivedDataPath ./build \
-destination "platform=iOS Simulator,name=iPhone 15" build | xcbeautify

test-ui:
#maestro start-device --platform=ios --os-version=17
Expand Down

0 comments on commit cd19a94

Please sign in to comment.