Shipped 2.9.0 to Apple #221
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: "Construct CI" | |
on: [push, pull_request] | |
jobs: | |
test: | |
name: Test | |
runs-on: macOS-12 | |
strategy: | |
matrix: | |
destination: ["platform=iOS Simulator,OS=16.1,name=iPhone 13 mini"] # needs to be a @3x device for the snapshots | |
steps: | |
- uses: actions/checkout@v2 | |
- name: LFS pull | |
run: git lfs pull | |
- name: Select Xcode 14.1 | |
run: sudo xcode-select -s /Applications/Xcode_14.1.app | |
- name: iOS - ${{ matrix.destination }} | |
run: set -o pipefail && env NSUnbufferedIO=YES xcodebuild -project "App/Construct.xcodeproj" -scheme "Construct" -destination "${{ matrix.destination }}" -derivedDataPath ./build -clonedSourcePackagesDirPath ~/Library/Developer/Xcode/DerivedData/Construct clean test | xcpretty | |
- name: Archive test artifacts | |
uses: actions/upload-artifact@v3 | |
if: always() | |
with: | |
name: test-results | |
path: | | |
build/Logs/Test |