Skip to content

Merge pull request #271 from klaviyo/ab/CHNL-17241/inject-sdk-name-an… #1008

Merge pull request #271 from klaviyo/ab/CHNL-17241/inject-sdk-name-an…

Merge pull request #271 from klaviyo/ab/CHNL-17241/inject-sdk-name-an… #1008

Workflow file for this run

name: iOS SDK CI
on:
push:
branches:
- master
pull_request:
branches:
- '*'
workflow_dispatch:
concurrency:
group: ci-${{ github.ref }}
cancel-in-progress: true
jobs:
library-macos-14:
name: Build and Run Unit Tests
runs-on: macos-14
env:
GITHUB_CI: true
strategy:
matrix:
xcode: ['15.2', '15.4']
config: ['debug', 'release']
steps:
- uses: actions/checkout@v3
- name: Select Xcode ${{ matrix.xcode }}
run: sudo xcode-select -s /Applications/Xcode_${{ matrix.xcode }}.app
- name: Environment Variables
run: env | grep GITHUB_CI
- name: Run ${{ matrix.config }} tests
run: make XCODE=${{ matrix.xcode }} CONFIG=${{ matrix.config }} test-library
- uses: slidoapp/xcresulttool@v3.1.0
with:
path: TestResults-${{ matrix.xcode }}-${{ matrix.config }}.xcresult
if: success() || failure()
library-macos-15:
name: Build and Run Unit Tests
runs-on: macos-15
env:
GITHUB_CI: true
strategy:
matrix:
xcode: ['16.0']
config: ['debug', 'release']
steps:
- uses: actions/checkout@v3
- name: Select Xcode ${{ matrix.xcode }}
run: sudo xcode-select -s /Applications/Xcode_${{ matrix.xcode }}.app
- name: Environment Variables
run: env | grep GITHUB_CI
- name: Run ${{ matrix.config }} tests
run: make XCODE=${{ matrix.xcode }} CONFIG=${{ matrix.config }} test-library
- uses: slidoapp/xcresulttool@v3.1.0
with:
path: TestResults-${{ matrix.xcode }}-${{ matrix.config }}.xcresult
if: success() || failure()