Skip to content

Commit

Permalink
Update xcode.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
adamrushy authored Sep 17, 2024
1 parent 92c7fe5 commit 6713983
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/xcode.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Xcode - Build and Analyze
name: Xcode - Build

on:
push:
Expand All @@ -7,17 +7,17 @@ on:
branches: [ "main" ]

jobs:
build:
name: Build Xcode Project
build-and-test:
runs-on: macos-latest

steps:
- name: Checkout
uses: actions/checkout@v4
- uses: actions/checkout@v4

- name: Navigate to the main directory
run: cd "Code Relay"
- name: Select Xcode
run: sudo xcode-select -switch /Applications/Xcode_16.0.app

- name: Build
run: |
xcodebuild clean build analyze -scheme "Code Relay" | xcpretty && exit ${PIPESTATUS[0]}
- name: Xcode version
run: /usr/bin/xcodebuild -version

- name: Build Xcode
run: xcodebuild clean build -project "Code Relay/Code Relay.xcodeproj" -scheme "Code Relay" CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO

0 comments on commit 6713983

Please sign in to comment.