Skip to content

Add .github/workflows/test.yml #1

Add .github/workflows/test.yml

Add .github/workflows/test.yml #1

Workflow file for this run

name: Test
on:
pull_request:
branches:
- main
types: [ready_for_review, opened, synchronize, reopened]
push:
# branches:
# - main
jobs:
test:
name: Run Unit Tests
runs-on: [self-hosted, macOS, tahoe, xcode-26.1.1]
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Select Xcode version
run: sudo xcodes select 26.1.1
- name: Build and Test
run: |
cmd="xcodebuild test -scheme Cilicon -project Cilicon.xcodeproj -destination 'platform=macOS'"
if xcbeautify --version > /dev/null 2>&1; then
cmd="$cmd | xcbeautify"
fi
eval "$cmd"