Fix deep search for headers #1140
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: "Pulse CI" | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- '*' | |
jobs: | |
ios-latest: | |
name: Unit Tests (iOS 17.4, Xcode 15.3) | |
runs-on: macOS-14 | |
env: | |
DEVELOPER_DIR: /Applications/Xcode_15.3.app/Contents/Developer | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Run Tests | |
run: | | |
.scripts/build.sh -s "Pulse" -d "OS=17.4,name=iPhone 15 Pro" | |
.scripts/build.sh -s "PulseUI" -d "OS=17.4,name=iPhone 15 Pro" | |
macos-latest: | |
name: Unit Tests (macOS, Xcode 15.3) | |
runs-on: macOS-14 | |
env: | |
DEVELOPER_DIR: /Applications/Xcode_15.3.app/Contents/Developer | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Run Tests | |
run: .scripts/build.sh -d "platform=macOS" | |
tvos-latest: | |
name: Unit Tests (tvOS 17.4, Xcode 15.3) | |
runs-on: macOS-14 | |
env: | |
DEVELOPER_DIR: /Applications/Xcode_15.3.app/Contents/Developer | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Run Tests | |
run: | | |
.scripts/build.sh -s "Pulse" -d "OS=17.4,name=Apple TV" | |
.scripts/build.sh -s "PulseUI" -d "OS=17.4,name=Apple TV" | |
watchos-latest: | |
name: Run Build (watchOS 9.2, Xcode 14.2) | |
runs-on: macOS-12 | |
env: | |
DEVELOPER_DIR: /Applications/Xcode_14.2.app/Contents/Developer | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Run Tests | |
run: | | |
.scripts/build.sh -s "Pulse" -d "OS=9.2,name=Apple Watch Series 8 (45mm)" | |
.scripts/build.sh -s "PulseUI" -d "OS=9.2,name=Apple Watch Series 8 (45mm)" | |
# ios-xcode-previous: | |
# name: Unit Tests (iOS 16.2, Xcode 14.2) | |
# runs-on: macOS-12 | |
# env: | |
# DEVELOPER_DIR: /Applications/Xcode_14.2.app/Contents/Developer | |
# steps: | |
# - uses: actions/checkout@v2 | |
# - name: Run Tests | |
# run: | | |
# .scripts/test.sh -s "Pulse" -d "OS=16.2,name=iPhone 14 Pro" | |
# .scripts/test.sh -s "PulseUI" -d "OS=16.2,name=iPhone 14 Pro" | |
swift-build: | |
name: Swift Build (SPM) | |
runs-on: macOS-14 | |
env: | |
DEVELOPER_DIR: /Applications/Xcode_15.3.app/Contents/Developer | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Build | |
run: swift build | |
discover-typos: | |
name: Discover Typos | |
runs-on: macOS-12 | |
env: | |
DEVELOPER_DIR: /Applications/Xcode_14.2.app/Contents/Developer | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Discover typos | |
run: | | |
python3 -m pip install --upgrade pip | |
python3 -m pip install codespell | |
codespell --ignore-words-list="hart,inout,msdos,sur" --skip="./.build/*,./Tests/*,./Sources/PulseUI/Mocks/*,./Demo/*" | |
build-demo-ios: | |
name: Build Demo (iOS) | |
runs-on: macOS-14 | |
env: | |
DEVELOPER_DIR: /Applications/Xcode_15.3.app/Contents/Developer | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Build Demo | |
run: | | |
cd Demo | |
set -o pipefail | |
xcodebuild build -scheme "Pulse Demo iOS" -destination "OS=17.4,name=iPhone 15 Pro" | xcpretty | |
build-demo-tvos: | |
name: Build Demo (tvOS) | |
runs-on: macOS-14 | |
env: | |
DEVELOPER_DIR: /Applications/Xcode_15.3.app/Contents/Developer | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Build Demo | |
run: | | |
cd Demo | |
set -o pipefail | |
xcodebuild build -scheme "Pulse Demo tvOS" -destination "OS=17.4,name=Apple TV" | xcpretty | |
build-integration-examples-ios: | |
name: Build Integration Examples (iOS) | |
runs-on: macOS-14 | |
env: | |
DEVELOPER_DIR: /Applications/Xcode_15.3.app/Contents/Developer | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Build Integration Tests | |
run: | | |
cd Demo | |
set -o pipefail | |
xcodebuild build -scheme "Pulse Integration Examples iOS" -destination "OS=17.4,name=iPhone 15 Pro" | xcpretty |