This repository has been archived by the owner on May 30, 2024. It is now read-only.
macos appkit support with nsui #2
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 | |
paths-ignore: | |
- 'README.md' | |
- 'CODE_OF_CONDUCT.md' | |
- 'CONTRIBUTING.md' | |
- 'LICENSE' | |
- 'SECURITY.md' | |
- 'ios.yml' | |
pull_request: | |
branches: | |
- main | |
jobs: | |
test: | |
name: Test | |
runs-on: macOS-latest | |
strategy: | |
matrix: | |
destination: | |
- "platform=macOS" | |
- "platform=macOS,variant=Mac Catalyst" | |
- "platform=iOS Simulator,name=iPhone 11" | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install XCBeautify | |
run: brew install xcbeautify | |
- name: Test platform ${{ matrix.destination }} | |
run: set -o pipefail && xcodebuild -scheme default -destination "${{ matrix.destination }}" test | xcbeautify --renderer github-actions |