Skip to content

Update GitHub Actions Xcode version #151

Update GitHub Actions Xcode version

Update GitHub Actions Xcode version #151

Workflow file for this run

name: Xcode-Build
on: [push, pull_request]
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [macos-12, macos-13]
xcode: ['14.2', '15.2']
exclude:
- os: macos-12
xcode: '15.2'
env:
DEVELOPER_DIR: "/Applications/Xcode_${{ matrix.xcode }}.app/Contents/Developer"
steps:
- uses: actions/checkout@v4
- name: Build and Test
run: |
set -o pipefail
xcodebuild build-for-testing test-without-building \
-workspace "$PROJECT" \
-scheme "$SCHEME" \
-sdk "$SDK" \
-configuration Debug \
ENABLE_TESTABILITY=YES | xcpretty -c;
env:
PROJECT: Sauce.xcworkspace
SCHEME: Sauce
SDK: macosx