Skip to content

refactor: screen size functions to accomadate ios 26 #331

refactor: screen size functions to accomadate ios 26

refactor: screen size functions to accomadate ios 26 #331

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-${{ matrix.env.os_version }}
strategy:
fail-fast: false
matrix:
env:
[
{ os_version: 14, sdk: "macosx14.5" },
{ os_version: 14, sdk: "iphoneos17.5" },
{ os_version: 14, sdk: "appletvos17.5" },
{ os_version: 14, sdk: "watchos10.5" },
{ os_version: 14, sdk: "xros1.2" },
{ os_version: 13, sdk: "iphoneos17.2" },
{ os_version: 13, sdk: "macosx14.2" },
{ os_version: 13, sdk: "appletvos17.2" },
{ os_version: 13, sdk: "watchos10.2" },
{ os_version: 13, sdk: "xros1.0" },
{ os_version: 15, sdk: "macosx15.5" },
{ os_version: 15, sdk: "iphoneos18.5" },
{ os_version: 15, sdk: "appletvos18.5" },
{ os_version: 15, sdk: "watchos11.5" },
{ os_version: 15, sdk: "xros2.5" },
]
steps:
# To check the github context
- name: Checkout SDK code
uses: actions/checkout@v4
- name: Build for the sdk ${{ matrix.env.sdk }} on macOS ${{ matrix.env.os_version }}
run: xcodebuild -project Countly.xcodeproj build -sdk ${{ matrix.env.sdk }}
- name: Run the tests for the sdk ${{ matrix.env.sdk }} on macOS ${{ matrix.env.os_version }}
run: echo good #xcodebuild -project Countly.xcodeproj test -destination ${{ matrix.env.destination }} -scheme CountlyTests