Skip to content

Workflow file for this run

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'