Workflow file for this run
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, release/*, feature/* ] | |
pull_request: | |
branches: [ main, release/* ] | |
jobs: | |
macos: | |
runs-on: macos-latest | |
steps: | |
- name: Checkout the code | |
uses: actions/checkout@v4 | |
- name: Show eligible build destinations for Nats | |
run: xcodebuild -showdestinations -scheme Nats | |
- name: Show eligible build destinations for NatsTests | |
run: xcodebuild -showdestinations -scheme NatsTests | |
- name: Build | |
uses: xcodebuild build -scheme Nats -destination 'platform=macOS,arch=x86_64' | |
- name: Test | |
uses: xcodebuild test -scheme NatsTests -destination 'platform=macOS,arch=x86_64' | |
ios: | |
runs-on: macos-latest | |
steps: | |
- name: Checkout the code | |
uses: actions/checkout@v4 | |
- name: Build | |
uses: xcodebuild build -scheme Nats -destination 'platform=iOS Simulator' |