Skip to content

Commit

Permalink
Set up github action
Browse files Browse the repository at this point in the history
  • Loading branch information
griotspeak committed Jun 9, 2024
1 parent 7133246 commit 17d9aba
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/swift.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Integrate

on:
push:
branches:
- main
paths-ignore:
- 'README.md'
pull_request:
branches:
- main

concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}
cancel-in-progress: true

jobs:
test:
name: Test
runs-on: macOS-14
env:
DEVELOPER_DIR: /Applications/Xcode_15.4.app/Contents/Developer
strategy:
matrix:
destination:
- "platform=macOS"
- "platform=iOS Simulator,name=iPhone 15"

steps:
- uses: actions/checkout@v4
- name: Get Scheme Names
run: xcodebuild -list
- name: Test platform ${{ matrix.destination }}
run: set -o pipefail && xcodebuild -scheme DiscriminatedUnion -destination "${{ matrix.destination }}" -disableAutomaticPackageResolution test | xcbeautify

0 comments on commit 17d9aba

Please sign in to comment.