Skip to content

Merge pull request #15 from abdullahselek/dependabot/bundler/nokogiri… #37

Merge pull request #15 from abdullahselek/dependabot/bundler/nokogiri…

Merge pull request #15 from abdullahselek/dependabot/bundler/nokogiri… #37

Workflow file for this run

name: "Lighty CI"
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
macOS:
name: Test macOS
runs-on: macOS-latest
env:
DEVELOPER_DIR: /Applications/Xcode_11.6.app/Contents/Developer
steps:
- uses: actions/checkout@v1
- name: macOS
run: set -o pipefail && xcodebuild -workspace "Lighty.xcworkspace" -scheme "Lighty-macOS" -destination "platform=macOS" clean test | xcpretty
iOS:
name: Test iOS
runs-on: macOS-latest
env:
DEVELOPER_DIR: /Applications/Xcode_11.6.app/Contents/Developer
strategy:
matrix:
destination: ["OS=13.6,name=iPhone 11 Pro"] #, "OS=12.4,name=iPhone XS", "OS=11.4,name=iPhone X", "OS=10.3.1,name=iPhone SE"]
steps:
- uses: actions/checkout@v1
- name: iOS - ${{ matrix.destination }}
run: set -o pipefail && xcodebuild -workspace "Lighty.xcworkspace" -scheme "Lighty-iOS" -destination "${{ matrix.destination }}" clean test | xcpretty
tvOS:
name: Test tvOS
runs-on: macOS-latest
env:
DEVELOPER_DIR: /Applications/Xcode_11.6.app/Contents/Developer
strategy:
matrix:
destination: ["OS=13.4,name=Apple TV 4K"] #, "OS=11.4,name=Apple TV 4K", "OS=10.2,name=Apple TV 1080p"]
steps:
- uses: actions/checkout@v1
- name: tvOS - ${{ matrix.destination }}
run: set -o pipefail && xcodebuild -workspace "Lighty.xcworkspace" -scheme "Lighty-tvOS" -destination "${{ matrix.destination }}" clean test | xcpretty
watchOS:
name: Build watchOS
runs-on: macOS-latest
env:
DEVELOPER_DIR: /Applications/Xcode_11.6.app/Contents/Developer
strategy:
matrix:
destination: ["OS=6.2.1,name=Apple Watch Series 5 - 44mm"] #, "OS=4.2,name=Apple Watch Series 3 - 42mm", "OS=3.2,name=Apple Watch Series 2 - 42mm"]
steps:
- uses: actions/checkout@v1
- name: watchOS - ${{ matrix.destination }}
run: set -o pipefail && xcodebuild -workspace "Lighty.xcworkspace" -scheme "Lighty watchOS" -destination "${{ matrix.destination }}" clean build | xcpretty
spm:
name: Test SPM Integration
runs-on: macOS-latest
needs: [macOS]
steps:
- uses: actions/checkout@v1
- name: SPM Build
run: swift build