Skip to content

Fix iOS build script to use updated path #5

Fix iOS build script to use updated path

Fix iOS build script to use updated path #5

Workflow file for this run

name: FluidSynth iOS
on:
pull_request:
push:
paths-ignore:
- '.azure/**'
- '.circleci/**'
- '.github/workflows/linux.yml'
- '.github/workflows/solaris.yml'
- '.github/workflows/windows.yml'
- '.github/workflows/sonarcloud.yml'
- '.cirrus.yml'
- 'README.md'
env:
# Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.)
BUILD_TYPE: RelWithDebInfo
INSTALL_LOCATION: ${{github.workspace}}/fluidsynth_install
# Use a bash shell so we can use the same syntax for environment variable
# access regardless of the host operating system
defaults:
run:
shell: bash
jobs:
build:
# The CMake configure and build commands are platform agnostic and should work equally
# well on Windows or Mac. You can convert this to a matrix build if you need
# cross-platform coverage.
# See: https://docs.github.com/en/free-pro-team@latest/actions/learn-github-actions/managing-complex-workflows#using-a-build-matrix
runs-on: macos-latest
steps:
- uses: actions/checkout@v5
with:
submodules: recursive
- name: Build Dependencies
run: |
git clone https://github.com/libsdl-org/SDL.git && \
pushd SDL && \
xcodebuild -project Xcode/SDL/SDL.xcodeproj -target "SDL3.xcframework" -configuration Release SYMROOT="build/" && \
mkdir build && \
cp -r Xcode/SDL/build/SDL3.xcframework build/ && \
popd
- name: Build
run: bash contrib/ios_build.sh