Xcode 15 Simulator build #952
Workflow file for this run
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: | ||
pull_request: | ||
workflow_dispatch: | ||
jobs: | ||
xcode_14_3: | ||
runs-on: macos-13 | ||
env: | ||
DEVELOPER_DIR: /Applications/Xcode_14.3.app/Contents/Developer | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
- name: Version | ||
run: swift --version | ||
- name: Build | ||
run: swift test --enable-code-coverage --filter do_not_test | ||
- name: Test | ||
run: swift test --enable-code-coverage --skip-build | ||
- name: Gather code coverage | ||
run: xcrun llvm-cov export -format="lcov" .build/debug/FlyingFoxPackageTests.xctest/Contents/MacOS/FlyingFoxPackageTests -instr-profile .build/debug/codecov/default.profdata > coverage_report.lcov | ||
- name: Upload Coverage | ||
uses: codecov/codecov-action@v3 | ||
with: | ||
files: ./coverage_report.lcov | ||
xcode_15_0: | ||
runs-on: macos-13 | ||
env: | ||
DEVELOPER_DIR: /Applications/Xcode_15.0.app/Contents/Developer | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
- name: Version | ||
run: swift --version | ||
- name: Build | ||
run: swift build --build-tests | ||
- name: Test | ||
run: swift test --skip-build | ||
xcode_15_0_simulator: | ||
runs-on: macos-13 | ||
env: | ||
DEVELOPER_DIR: /Applications/Xcode_15.0.app/Contents/Developer | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
- name: '📱 Find Simulator' | ||
run: ./simulator-find.sh | ||
- name: Version | ||
run: swift --version | ||
- name: Build | ||
run: xcodebuild -scheme FlyingFox-Package -sdk iphonesimulator17.0 -destination '${{env.XCODE_DESTINATION}}' -derivedDataPath build-for-testing | ||
- name: Test | ||
run: xcodebuild -scheme FlyingFox-Package -sdk iphonesimulator17.0 -destination '${{env.XCODE_DESTINATION}}' -derivedDataPath test-without-building | ||
xcode_14_2: | ||
runs-on: macos-13 | ||
env: | ||
DEVELOPER_DIR: /Applications/Xcode_14.2.app/Contents/Developer | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
- name: Version | ||
run: swift --version | ||
- name: Build | ||
run: swift build --build-tests | ||
- name: Test | ||
run: swift test --skip-build | ||
xcode_13_4: | ||
runs-on: macos-12 | ||
env: | ||
DEVELOPER_DIR: /Applications/Xcode_13.4.app/Contents/Developer | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
- name: Version | ||
run: swift --version | ||
- name: Build | ||
run: swift build --build-tests | ||
- name: Test | ||
run: swift test --skip-build | ||
xcode_13_2_1: | ||
runs-on: macos-11 | ||
env: | ||
DEVELOPER_DIR: /Applications/Xcode_13.2.1.app/Contents/Developer | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
- name: Version | ||
run: swift --version | ||
- name: Build | ||
run: swift build --build-tests | ||
- name: Test | ||
run: swift test --skip-build | ||
linux_swift_5_6_3: | ||
runs-on: ubuntu-latest | ||
container: swift:5.6.3 | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
- name: Version | ||
run: swift --version | ||
- name: Build | ||
run: swift build --build-tests | ||
- name: Test | ||
run: swift test --skip-build | ||
linux_swift_5_7: | ||
runs-on: ubuntu-latest | ||
container: swift:5.7 | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
- name: Version | ||
run: swift --version | ||
- name: Build | ||
run: swift build --build-tests | ||
- name: Test | ||
run: swift test --skip-build | ||
linux_swift_5_8: | ||
runs-on: ubuntu-latest | ||
container: swift:5.8 | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
- name: Version | ||
run: swift --version | ||
- name: Build | ||
run: swift build --build-tests | ||
- name: Test | ||
run: swift test --skip-build |