Skip to content

Commit

Permalink
Update CI to use Xcode 14.1
Browse files Browse the repository at this point in the history
  • Loading branch information
ffried committed Nov 2, 2022
1 parent f5c91ff commit 432dce2
Show file tree
Hide file tree
Showing 5 changed files with 27 additions and 27 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/demo-builds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,11 @@ jobs:
steps:
- uses: maxim-lobanov/[email protected]
with:
xcode-version: ^13.0
xcode-version: ^14.1
- uses: actions/checkout@v3
- uses: sersoft-gmbh/xcodebuild-action@v2
with:
workspace: Demos/Demos.xcworkspace
scheme: ${{matrix.scheme}}
scheme: ${{ matrix.scheme }}
configuration: Release
action: build
10 changes: 5 additions & 5 deletions .github/workflows/integration-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
steps:
- uses: maxim-lobanov/[email protected]
with:
xcode-version: ^13.0
xcode-version: ^14.1
- uses: actions/checkout@v3
- uses: sersoft-gmbh/xcodebuild-action@v2
with:
Expand All @@ -40,14 +40,14 @@ jobs:
steps:
- uses: maxim-lobanov/[email protected]
with:
xcode-version: ^13.0
xcode-version: ^14.1
- uses: actions/checkout@v3
- uses: sersoft-gmbh/xcodebuild-action@v2
with:
project: Integration/Integration.xcodeproj
scheme: ${{matrix.scheme}}
scheme: ${{ matrix.scheme }}
configuration: Release
destination: ${{matrix.destination}}
destination: ${{ matrix.destination }}
action: build
# watchOS builds seems to fail as of Xcode 11.4...
continue-on-error: ${{matrix.scheme == 'watchOSSwiftIntegration'}}
continue-on-error: ${{ matrix.scheme == 'watchOSSwiftIntegration' }}
16 changes: 8 additions & 8 deletions .github/workflows/library-builds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,35 +15,35 @@ jobs:
runs-on: macos-12
strategy:
matrix:
sdk: [iphonesimulator, macosx]
sdk: [ iphonesimulator, macosx ]
steps:
- uses: maxim-lobanov/[email protected]
with:
xcode-version: ^13.0
xcode-version: ^14.1
- uses: actions/checkout@v3
- uses: sersoft-gmbh/xcodebuild-action@v2
with:
workspace: Xcode/Lumberjack.xcworkspace
scheme: CocoaLumberjack-Static
configuration: Release
sdk: ${{matrix.sdk}}
sdk: ${{ matrix.sdk }}
action: build

dynamic-lib:
runs-on: macos-12
strategy:
matrix:
scheme: [CocoaLumberjack, CocoaLumberjackSwift]
sdk: [iphonesimulator, macosx, watchsimulator, appletvsimulator]
scheme: [ CocoaLumberjack, CocoaLumberjackSwift ]
sdk: [ iphonesimulator, macosx, watchsimulator, appletvsimulator ]
steps:
- uses: maxim-lobanov/[email protected]
with:
xcode-version: ^13.0
xcode-version: ^14.1
- uses: actions/checkout@v3
- uses: sersoft-gmbh/xcodebuild-action@v2
with:
workspace: Xcode/Lumberjack.xcworkspace
scheme: ${{matrix.scheme}}
scheme: ${{ matrix.scheme }}
configuration: Release
sdk: ${{matrix.sdk}}
sdk: ${{ matrix.sdk }}
action: build
20 changes: 10 additions & 10 deletions .github/workflows/unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,22 +16,22 @@ jobs:
steps:
- uses: maxim-lobanov/[email protected]
with:
xcode-version: ^13.0
xcode-version: ^14.1
- uses: actions/checkout@v3
- name: Run SwiftPM Tests
run: swift test --enable-code-coverage --parallel
- uses: sersoft-gmbh/swift-coverage-action@v3
id: coverage-files
- uses: codecov/codecov-action@v3
with:
token: ${{secrets.CODECOV_TOKEN}}
files: ${{join(fromJSON(steps.coverage-files.outputs.files), ',')}}
token: ${{ secrets.CODECOV_TOKEN }}
files: ${{ join(fromJSON(steps.coverage-files.outputs.files), ',') }}

xcode:
runs-on: macos-12
strategy:
matrix:
scheme: [Swift Tests]
scheme: [ Swift Tests ]
destination:
- platform=macOS
- platform=iOS Simulator,OS=latest,name=iPhone 12 Pro
Expand All @@ -46,14 +46,14 @@ jobs:
steps:
- uses: maxim-lobanov/[email protected]
with:
xcode-version: ^13.0
xcode-version: ^14.1
- uses: actions/checkout@v3
- uses: sersoft-gmbh/xcodebuild-action@v2
with:
project: Tests/Tests.xcodeproj
scheme: ${{matrix.scheme}}
destination: ${{matrix.destination}}
skip-testing: ${{matrix.skip-testing}}
scheme: ${{ matrix.scheme }}
destination: ${{ matrix.destination }}
skip-testing: ${{ matrix.skip-testing }}
enable-code-coverage: true
parallel-testing-enabled: true
build-settings: GCC_GENERATE_TEST_COVERAGE_FILES=YES
Expand All @@ -62,5 +62,5 @@ jobs:
id: coverage-files
- uses: codecov/codecov-action@v3
with:
token: ${{secrets.CODECOV_TOKEN}}
files: ${{join(fromJSON(steps.coverage-files.outputs.files), ',')}}
token: ${{ secrets.CODECOV_TOKEN }}
files: ${{ join(fromJSON(steps.coverage-files.outputs.files), ',') }}
4 changes: 2 additions & 2 deletions .github/workflows/validations.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@ jobs:
steps:
- uses: maxim-lobanov/[email protected]
with:
xcode-version: ^13.0
xcode-version: ^14.1
- uses: actions/checkout@v3
- run: pod lib lint

run-danger:
runs-on: ubuntu-latest
if: github.event_name == 'pull_request_target'
if: ${{ github.event_name == 'pull_request_target' }}
steps:
- uses: actions/checkout@v3
with:
Expand Down

0 comments on commit 432dce2

Please sign in to comment.