Replace stale.yml with a new scheduled actoin #414
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Integration Tests | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
env: | |
LC_CTYPE: en_US.UTF-8 | |
LANG: en_US.UTF-8 | |
jobs: | |
static-lib: | |
runs-on: macos-13 | |
steps: | |
- uses: maxim-lobanov/setup-xcode@v1 | |
with: | |
xcode-version: ^14.3 | |
- uses: actions/checkout@v3 | |
- uses: sersoft-gmbh/xcodebuild-action@v2 | |
with: | |
project: Integration/Integration.xcodeproj | |
scheme: iOSStaticLibraryIntegration | |
configuration: Release | |
action: build | |
dynamic-lib: | |
runs-on: macos-13 | |
strategy: | |
matrix: | |
scheme: | |
- macOSSwiftIntegration | |
- iOSFrameworkIntegration | |
- tvOSSwiftIntegration | |
- watchOSSwiftIntegration | |
steps: | |
- uses: maxim-lobanov/setup-xcode@v1 | |
with: | |
xcode-version: ^14.3 | |
- uses: actions/checkout@v3 | |
- uses: sersoft-gmbh/xcodebuild-action@v2 | |
with: | |
project: Integration/Integration.xcodeproj | |
scheme: ${{ matrix.scheme }} | |
configuration: Release | |
action: build | |
# watchOS builds seems to fail as of Xcode 11.4... | |
continue-on-error: ${{ matrix.scheme == 'watchOSSwiftIntegration' }} |