Skip to content

Commit

Permalink
add xcbeautify for our ci results (#1882)
Browse files Browse the repository at this point in the history
To make the build errors and test results little bit more human readable lets start using xcbeautfiy in our ci.
lets remove CI checks for couple of branches we don't have any more like fluent-token.
Our CI runs lot of different flavors but i don't think it is all necessary. We can't build and test the demo app without the fluent library builds. Most of the time we just need to ensure our release iOS device builds correctly which isn't as common for normal development cycle.
  • Loading branch information
harrieshin authored Sep 1, 2023
1 parent 31505d0 commit b960cdd
Showing 1 changed file with 4 additions and 14 deletions.
18 changes: 4 additions & 14 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,10 @@ on:
branches:
- main
- main_*
- fluent2-tokens
- fluent2-colors
pull_request:
branches:
- main
- main_*
- fluent2-tokens
- fluent2-colors

jobs:
validation:
Expand All @@ -33,23 +29,17 @@ jobs:
fail-fast: false
matrix:
build_command: [
'macos_build FluentUITestApp-macOS Debug build test',
'macos_build FluentUITestApp-macOS Release build test',
'macos_build FluentUITestApp-macOS Debug build test -destination "platform=macOS,arch=x86_64"',
'ios_simulator_build FluentUI-iOS Debug build',
'ios_simulator_build FluentUI-iOS Release build',
'ios_device_build FluentUI-iOS Debug build',
'ios_device_build FluentUI-iOS Release build',
'ios_simulator_build Demo.Development Debug build',
'ios_simulator_build Demo.Development Release build',
'ios_simulator_build Demo.Development Debug build test -destination "platform=iOS Simulator,name=iPhone 14 Pro" -test-iterations "2" -retry-tests-on-failure',
'ios_device_build Demo.Development Debug build',
'ios_device_build Demo.Development Release build',
]

steps:
- uses: actions/checkout@v3
- name: Switch to current version of Xcode
run: scripts/xcode_select_current_version.sh
- name: scripts/xcodebuild_wrapper.sh ${{ matrix.build_command }}
run: scripts/xcodebuild_wrapper.sh ${{ matrix.build_command }}
- 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

0 comments on commit b960cdd

Please sign in to comment.