Skip to content

Merge branch 'main' of https://github.com/chicio/ID3TagEditor #484

Merge branch 'main' of https://github.com/chicio/ID3TagEditor

Merge branch 'main' of https://github.com/chicio/ID3TagEditor #484

Workflow file for this run

name: Build iOS
on:
push:
branches:
- '*'
pull_request:
branches:
- main
schedule:
- cron: '0 16 15 * *'
jobs:
build:
name: Build iOS
runs-on: macos-15
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Select iOS Simulator
run: |
SIMULATOR_ID=$(xcrun simctl list devices available | grep -m1 'iPhone' | awk -F '[()]' '{print $2}')
echo "SIMULATOR_ID=$SIMULATOR_ID" >> $GITHUB_ENV
- name: Build iOS framework
run: |
set -o pipefail && xcodebuild -project ID3TagEditor.xcodeproj -scheme "ID3TagEditor iOS Tests" clean test CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO -destination "id=$SIMULATOR_ID" -skipPackagePluginValidation | xcpretty
- name: Build iOS Demo
run: |
set -o pipefail && xcodebuild -project Demo/Demo.xcodeproj -scheme "Demo iOS" clean build CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO -destination "id=$SIMULATOR_ID" -skipPackagePluginValidation | xcpretty
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v1