Skip to content

feat: build action

feat: build action #10

Workflow file for this run

name: Build the SDK
permissions:
checks: write
pull-requests: write
on:
push:
branches:
- master
- staging
pull_request:
branches:
- master
- staging
jobs:
build:
runs-on: macos-latest
strategy:
matrix:
sdk: [macosx14.5, iphoneos17.5, appletvos17.5, watchos10.5]
target: [macosx10.14, iphoneos10.0, appletvos10.0, watchos4.0]
exclude:
- sdk: macosx14.5
target: iphoneos10.0
- sdk: macosx14.5
target: appletvos10.0
- sdk: macosx14.5
target: watchos4.0
- sdk: iphoneos17.5
target: macosx10.14
- sdk: iphoneos17.5
target: appletvos10.0
- sdk: iphoneos17.5
target: watchos4.0
- sdk: appletvos17.5
target: macosx10.14
- sdk: appletvos17.5
target: iphoneos10.0
- sdk: appletvos17.5
target: watchos4.0
- sdk: watchos10.5
target: macosx10.14
- sdk: watchos10.5
target: iphoneos10.0
- sdk: watchos10.5
target: appletvos10.0
steps:
# To check the github context
- name: Checkout SDK code
uses: actions/checkout@v4
- name: Build for ${{ matrix.sdk }} target ${{ matrix.target }}
run: xcodebuild -project Countly.xcodeproj build -sdk ${{ matrix.sdk }} -target ${{ matrix.target }}