Refactoring: Weakening type requirements to give more freedom to the … #39
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: Build | |
on: | |
push: | |
branches: | |
- master | |
- whitelist | |
pull_request: | |
branches: | |
- master | |
jobs: | |
build_check: | |
runs-on: macOS-13 | |
strategy: | |
max-parallel: 2 | |
fail-fast: false | |
matrix: | |
destination: | |
- "generic/platform=iOS Simulator" | |
- "generic/platform=macOS,variant=Mac Catalyst" | |
- "generic/platform=iOS" | |
steps: | |
- name: Select Xcode | |
run: | | |
xcodes select 15.2 | |
- name: Check XCode Version | |
run: xcodebuild -version | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Build | |
run: | | |
set -o pipefail && xcodebuild build -scheme FastRTPSSwift -destination "${{ matrix.destination }}" | xcpretty | |
test: | |
name: Test | |
runs-on: macOS-13 | |
steps: | |
- name: Select Xcode | |
run: | | |
xcodes select 15.2 | |
- name: Check XCode Version | |
run: xcodebuild -version | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: macOS Native build & test | |
run: swift test |