Skip to content

Commit

Permalink
Add CI
Browse files Browse the repository at this point in the history
  • Loading branch information
finnvoor committed Feb 8, 2024
1 parent 1517e7c commit 76f2d49
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: CI

on:
push:
branches:
- main
pull_request:
branches:
- main

env:
DEVELOPER_DIR: /Applications/Xcode_15.2.app/Contents/Developer

jobs:
build:
name: Build
runs-on: macOS-14
strategy:
matrix:
destination:
- "generic/platform=iOS"
- "platform=macOS"
- "generic/platform=visionOS"
- "generic/platform=tvOS"

steps:
- uses: actions/checkout@v3
- name: Build platform ${{ matrix.destination }}
run: set -o pipefail && xcodebuild build -scheme Transcoding -destination "${{ matrix.destination }}" | xcbeautify --renderer github-actions
test:
name: Test
runs-on: macOS-13
steps:
- uses: actions/checkout@v3
- name: Test
run: set -o pipefail && xcodebuild test -scheme Transcoding -destination "platform=macOS"

0 comments on commit 76f2d49

Please sign in to comment.