Ensure TableViewHeaderFooterView has a themed default text color and … #7
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: CI | |
on: | |
push: | |
branches: | |
- main | |
- main_* | |
pull_request: | |
branches: | |
- main | |
- main_* | |
jobs: | |
validation: | |
runs-on: macos-14 | |
strategy: | |
fail-fast: true | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Switch to current version of Xcode | |
run: scripts/xcode_select_current_version.sh | |
- name: pod lib lint | |
run: scripts/podliblint.sh | |
- name: validation | |
run: scripts/validation.sh | |
xcodebuild: | |
runs-on: macos-14 | |
strategy: | |
fail-fast: false | |
matrix: | |
build_command: [ | |
'macos_build FluentUITestApp-macOS Release build', | |
'macos_build FluentUITestApp-macOS Debug build -resultBundlePath TestResultsMac test -destination "platform=macOS,arch=x86_64"', | |
'ios_simulator_build Demo.Development Debug build test -resultBundlePath TestResultsiOS -destination "platform=iOS Simulator,name=iPhone 14 Pro"', | |
'ios_device_build Demo.Development Release build', | |
'visionos_simulator_build Demo.Development Debug build', | |
] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Switch to current version of Xcode | |
run: scripts/xcode_select_current_version.sh | |
- name: Install xcbeautify | |
run: brew install xcbeautify | |
- name: scripts/xcodebuild_wrapper.sh ${{ matrix.build_command }} | xcbeautify | |
run: scripts/xcodebuild_wrapper.sh ${{ matrix.build_command }} | xcbeautify | |
continue-on-error: true | |
- name: Zip if TestResultsMac.xcresult bundle exists | |
run: | | |
if [ -d "TestResultsMac.xcresult" ]; then | |
zip -r TestResultsMac.zip TestResultsMac.xcresult | |
else | |
echo "TestResultsMac.xcresult not found." | |
fi | |
- name: Upload TestResultsMac.zip | |
uses: actions/upload-artifact@v3 | |
with: | |
name: xctest-resultsMac | |
path: TestResultsMac.zip | |
retention-days: 3 | |
- name: Zip if TestResultsiOS.xcresult bundle exists | |
run: | | |
if [ -d "TestResultsiOS.xcresult" ]; then | |
zip -r TestResultsiOS.zip TestResultsiOS.xcresult | |
else | |
echo "TestResultsiOS.xcresult not found." | |
fi | |
- name: Upload TestResultsiOS.zip | |
uses: actions/upload-artifact@v3 | |
with: | |
name: xctest-resultsiOS | |
path: TestResultsiOS.zip | |
retention-days: 3 |