Skip to content

Commit

Permalink
Update build-example.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
aromanov91 authored Oct 1, 2023
1 parent 85374f9 commit 7d77394
Showing 1 changed file with 18 additions and 18 deletions.
36 changes: 18 additions & 18 deletions .github/workflows/build-example.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,30 +18,30 @@ env:

jobs:

build-package:
# build-package:

runs-on: macOS-13
# runs-on: macOS-13

name: Package build
# name: Package build

steps:
- uses: actions/checkout@v3
- name: Select Xcode
run: sudo xcode-select -switch /Applications/Xcode_14.4.app && /usr/bin/xcodebuild -version
# steps:
# - uses: actions/checkout@v3
# - name: Select Xcode
# run: sudo xcode-select -switch /Applications/Xcode_14.4.app && /usr/bin/xcodebuild -version

- name: Build and run tests
run: xcodebuild clean build -scheme ${{ env.PACKAGE_NAME }} -destination 'platform=iOS Simulator,name=iPhone 14 Pro,OS=16.4' | xcpretty && exit ${PIPESTATUS[0]}
# - name: Build and run tests
# run: xcodebuild clean build -scheme ${{ env.PACKAGE_NAME }} -destination 'platform=iOS Simulator,name=iPhone 14 Pro,OS=16.4' | xcpretty && exit ${PIPESTATUS[0]}

# swiftpm:
# runs-on: macos-14
swiftpm:
runs-on: macos-14

# steps:
# - uses: maxim-lobanov/[email protected]
# with:
# xcode-version: "15.0"
# - uses: actions/checkout@v2
# - name: Build Package
# run: xcodebuild -scheme ${{ env.PACKAGE_NAME }} -destination 'platform=iOS Simulator,name=iPhone 8,OS=16.2' | xcpretty
steps:
- uses: maxim-lobanov/[email protected]
with:
xcode-version: "15.0"
- uses: actions/checkout@v2
- name: Build Package
run: xcodebuild -scheme ${{ env.PACKAGE_NAME }} -destination 'platform=iOS Simulator,name=iPhone 8,OS=16.2' | xcpretty

build-iOS-example:
name: Build iOS examples
Expand Down

0 comments on commit 7d77394

Please sign in to comment.