Skip to content

Commit

Permalink
Update xcode build execution environment to macOS13
Browse files Browse the repository at this point in the history
  • Loading branch information
Econa77 committed Oct 13, 2023
1 parent 5dec182 commit 36c45d1
Showing 1 changed file with 11 additions and 8 deletions.
19 changes: 11 additions & 8 deletions .github/workflows/Xcode-Build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,27 +2,30 @@ name: Xcode-Build
on: [push, pull_request]
jobs:
test:
runs-on: macos-latest
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [macos-12, macos-13]
xcode: ['14.2', '15.0']
exclude:
- os: macos-12
xcode: '15.0'
env:
DEVELOPER_DIR: "/Applications/Xcode_${{ matrix.xcode }}.app/Contents/Developer"
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
submodules: recursive

- name: Xcode select
run: sudo xcode-select -s /Applications/Xcode_11.4.app

- name: Build and Test
run: |
set -o pipefail
xcodebuild build-for-testing test-without-building \
-workspace "$PROJECT" \
-scheme "$SCHEME" \
-sdk "$SDK" \
-destination "$DESTINATION" \
-configuration Debug \
ENABLE_TESTABILITY=YES | xcpretty -c;
env:
PROJECT: KeyHolder.xcworkspace
SCHEME: KeyHolder
SDK: macosx
DESTINATION: arch=x86_64

0 comments on commit 36c45d1

Please sign in to comment.