Merge pull request #270 from klaviyo/bl/IAF-js-lifecycle-events #1006
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | |
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: 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 | |
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: 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() |