Skip to content

CBL-4855: Converting between integer number in JSON string and Couchbase Lite Test #871

CBL-4855: Converting between integer number in JSON string and Couchbase Lite Test

CBL-4855: Converting between integer number in JSON string and Couchbase Lite Test #871

Workflow file for this run

name: macOS
on:
push:
branches:
- 'master'
- 'release/**'
pull_request:
branches:
- 'master'
- 'release/**'
jobs:
build:
name: build-and-test
runs-on: macOS-latest
strategy:
matrix:
scheme: ["CBL_ObjC", "CBL_Swift"]
platform: ["platform=macOS", "platform=macOS,variant=Mac Catalyst"]
arch: ["x86_64"]
steps:
- name: Checkout
uses: actions/checkout@v2
with:
submodules: recursive
- name: "Build-for-testing"
env:
SCHEME: ${{ matrix.scheme }}
PLATFORM: ${{ matrix.platform }}
ARCH: ${{ matrix.arch }}
run: |
xcodebuild build-for-testing -scheme "${SCHEME}" -project CouchbaseLite.xcodeproj -destination "${PLATFORM},arch=${ARCH}"
- name: "Test"
env:
SCHEME: ${{ matrix.scheme }}
PLATFORM: ${{ matrix.platform }}
ARCH: ${{ matrix.arch }}
run: |
xcodebuild test-without-building -scheme "${SCHEME}" -project CouchbaseLite.xcodeproj -destination "${PLATFORM},arch=${ARCH}"