Add unit tests for SCLAlertView components and helpers; enable code c… #113
This file contains hidden or 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: Building | |
| on: [push, pull_request] | |
| jobs: | |
| build: | |
| name: Building SCLAlertView | |
| runs-on: macos-15 | |
| strategy: | |
| matrix: | |
| scheme: [ | |
| SCLAlertView | |
| ] | |
| destination: [ | |
| 'platform=iOS Simulator,name=iPhone 16,OS=26.1' | |
| ] | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Setup Xcode version | |
| uses: maxim-lobanov/setup-xcode@v1.6.0 | |
| with: | |
| xcode-version: 26.1 | |
| - name: Setup Ruby | |
| uses: ruby/setup-ruby@v1 | |
| with: | |
| ruby-version: 3.3.0 | |
| bundler-cache: true | |
| - name: Building ${{ matrix.scheme }} on ${{ matrix.destination }} | |
| run: | | |
| set -o pipefail && xcodebuild -project SCLAlertView.xcodeproj \ | |
| -scheme ${{ matrix.scheme }} \ | |
| -destination '${{ matrix.destination }}' \ | |
| clean build | xcbeautify --renderer github-actions |