Skip to content

Trying different config to make build less flaky on GitHub. #115

Trying different config to make build less flaky on GitHub.

Trying different config to make build less flaky on GitHub. #115

name: Build and test
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build-and-run-unit-tests:
runs-on: macos-15
steps:
- uses: actions/checkout@v3
- name: Build
run: xcodebuild build -scheme CCMenu -destination 'platform=macOS'
- name: Run unit tests
run: xcodebuild test -scheme CCMenu -destination 'platform=macOS' | xcbeautify && exit ${PIPESTATUS[0]}
run-uitests:
needs: build-and-run-unit-tests
runs-on: macos-15-large
steps:
- uses: actions/checkout@v3
- name: Run UI tests
run: xcodebuild test -scheme CCMenu.UITests -destination 'platform=macOS' | xcbeautify && exit ${PIPESTATUS[0]}