Skip to content

Commit

Permalink
fix(ci): fix build with xcodebuild
Browse files Browse the repository at this point in the history
  • Loading branch information
ThibaultBee committed Jan 29, 2025
1 parent 79132e4 commit 79d92c8
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
jobs:
find_schemes:
name: Find xcode schemes
runs-on: macos-14
runs-on: macos-latest
outputs:
schemes: ${{ steps.getSchemes.outputs.schemes}}
steps:
Expand All @@ -23,7 +23,7 @@ jobs:
echo "schemes=$SCHEMES" >> $GITHUB_OUTPUT
swift_build:
name: Build with swift
runs-on: macos-14
runs-on: macos-latest
steps:
- name: Checkout
uses: actions/checkout@v4
Expand All @@ -36,7 +36,7 @@ jobs:
xcode_build:
name: Build with xcode
needs: find_schemes
runs-on: macos-14
runs-on: macos-latest
strategy:
matrix: ${{ fromJson(needs.find_schemes.outputs.schemes) }}
steps:
Expand All @@ -47,7 +47,9 @@ jobs:
with:
xcode-version: latest-stable
- name: Build ${{matrix.scheme}}
run: xcodebuild clean build -project ApiVideoLiveStream.xcodeproj -scheme "${{matrix.scheme}}" -sdk iphoneos CODE_SIGNING_ALLOWED=NO
run: |
xcodebuild -downloadPlatform iOS
xcodebuild clean build -project ApiVideoLiveStream.xcodeproj -scheme "${{matrix.scheme}}" -sdk iphoneos CODE_SIGNING_ALLOWED=NO
verify:
name: Verify package sanity
runs-on: macos-14
Expand Down

0 comments on commit 79d92c8

Please sign in to comment.