Skip to content

Run CI on macOS 15 with the iPhone 16 simulator #555

Run CI on macOS 15 with the iPhone 16 simulator

Run CI on macOS 15 with the iPhone 16 simulator #555

Workflow file for this run

name: Functions
on:
push:
branches: [ main ]
paths:
- '.github/workflows/functions.yml'
- 'functions/**'
- 'scripts/*'
- 'scripts/functions.sh'
pull_request:
branches: [ main ]
paths:
- '.github/workflows/functions.yml'
- 'functions/**'
- 'scripts/*'
- 'scripts/functions.sh'
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}
cancel-in-progress: true
env:
SAMPLE: Functions
secrets_passphrase: ${{ secrets.GHASECRETSGPGPASSPHRASE1 }}
jobs:
spm:
name: spm (Xcode ${{ matrix.xcode }} - ${{ matrix.os }})
runs-on: macOS-15
strategy:
matrix:
xcode: ["16.1"]
os: [iOS, tvOS, macOS]
include:
- os: iOS
device: iPhone 16
- os: tvOS
device: Apple TV 4K (3rd generation) (at 1080p)
- os: macOS
device: localhost
env:
SETUP: functions
SPM: true
DIR: functions/FunctionsExample
OS: ${{ matrix.os }}
DEVICE: ${{ matrix.device }}
TEST: false
XCODE_VERSION: ${{ matrix.xcode }}
DEVELOPER_DIR: /Applications/Xcode_${{ matrix.xcode }}.app/Contents/Developer
steps:
- name: Checkout
uses: actions/checkout@master
- name: Setup
run: |
gem install xcpretty
cd $SETUP
../scripts/install_prereqs/${SETUP}.sh
- name: Build and Test SwiftUI (${{ matrix.os }})
run: ./scripts/test.sh