Skip to content

Commit 1e6fbec

Browse files
committed
Add CI build script for iOS
1 parent 0d16a82 commit 1e6fbec

File tree

5 files changed

+52
-0
lines changed

5 files changed

+52
-0
lines changed

.github/workflows/ios.yml

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
name: FluidSynth iOS
2+
3+
on:
4+
pull_request:
5+
push:
6+
paths-ignore:
7+
- '.azure/**'
8+
- '.circleci/**'
9+
- '.github/workflows/linux.yml'
10+
- '.github/workflows/solaris.yml'
11+
- '.github/workflows/windows.yml'
12+
- '.github/workflows/sonarcloud.yml'
13+
- '.cirrus.yml'
14+
- 'README.md'
15+
16+
env:
17+
# Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.)
18+
BUILD_TYPE: RelWithDebInfo
19+
INSTALL_LOCATION: ${{github.workspace}}/fluidsynth_install
20+
21+
# Use a bash shell so we can use the same syntax for environment variable
22+
# access regardless of the host operating system
23+
defaults:
24+
run:
25+
shell: bash
26+
27+
jobs:
28+
build:
29+
# The CMake configure and build commands are platform agnostic and should work equally
30+
# well on Windows or Mac. You can convert this to a matrix build if you need
31+
# cross-platform coverage.
32+
# See: https://docs.github.com/en/free-pro-team@latest/actions/learn-github-actions/managing-complex-workflows#using-a-build-matrix
33+
runs-on: macos-latest
34+
steps:
35+
- uses: actions/checkout@v5
36+
with:
37+
submodules: recursive
38+
39+
- name: Build
40+
run: bash ios/build.sh
41+
42+
- name: Test
43+
run: exit 0 # cmake --build build --target check
44+
45+
- name: Demo
46+
run: exit 0 #cmake --build build --target demo

.github/workflows/linux.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ on:
99
- '.github/workflows/sonarcloud.yml'
1010
- '.github/workflows/solaris.yml'
1111
- '.github/workflows/windows.yml'
12+
- '.github/workflows/ios.yml'
1213
- '.cirrus.yml'
1314
- 'README.md'
1415

.github/workflows/solaris.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ on:
77
- '.azure/**'
88
- '.circleci/**'
99
- '.github/workflows/linux.yml'
10+
- '.github/workflows/ios.yml'
11+
- '.github/workflows/sonarcloud.yml'
12+
- '.github/workflows/windows.yml'
1013
- '.cirrus.yml'
1114
- 'README.md'
1215

.github/workflows/sonarcloud.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ on:
1010
- '.github/workflows/linux.yml'
1111
- '.github/workflows/solaris.yml'
1212
- '.github/workflows/windows.yml'
13+
- '.github/workflows/ios.yml'
1314
- '.cirrus.yml'
1415
- 'README.md'
1516
pull_request:

.github/workflows/windows.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ on:
1010
- '.github/workflows/sonarcloud.yml'
1111
- '.github/workflows/solaris.yml'
1212
- '.github/workflows/linux.yml'
13+
- '.github/workflows/ios.yml'
1314
- '.cirrus.yml'
1415
- 'README.md'
1516
release:

0 commit comments

Comments
 (0)