-
Notifications
You must be signed in to change notification settings - Fork 55
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bump macOS version and fix iOS build (#1326)
- Loading branch information
1 parent
cf69613
commit 3506286
Showing
8 changed files
with
127 additions
and
40 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
name: C/C++ CI for iOS | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
- main | ||
- dev | ||
- dev/* | ||
- release/* | ||
- buildme/* | ||
|
||
pull_request: | ||
branches: | ||
- master | ||
- main | ||
- dev | ||
|
||
schedule: | ||
- cron: 0 2 * * 1-5 | ||
|
||
jobs: | ||
build: | ||
strategy: | ||
matrix: | ||
os: [macos-13, macos-15] | ||
config: [release, debug] | ||
simulator: ["'iPhone 15'", "'iPad Pro (11-inch) (4th generation)'", "'iPhone 16'", "'iPad Air 11-inch (M2)'"] | ||
exclude: | ||
- os: macos-13 | ||
simulator: "'iPhone 16'" | ||
- os: macos-13 | ||
simulator: "'iPad Air 11-inch (M2)'" | ||
- os: macos-15 | ||
simulator: "'iPhone 15'" | ||
- os: macos-15 | ||
simulator: "'iPad Pro (11-inch) (4th generation)'" | ||
runs-on: ${{ matrix.os }} | ||
steps: | ||
- name: Grant write permissions to /usr/local | ||
run: | | ||
sudo chown -R $USER:staff /usr/local | ||
- uses: actions/checkout@v2 | ||
with: | ||
submodules: 'true' | ||
continue-on-error: true | ||
- name: build | ||
run: | | ||
if [[ "${{ matrix.os }}" == "macos-13" ]]; then | ||
export IOS_DEPLOYMENT_TARGET=13.0; | ||
elif [[ "${{ matrix.os }}" == "macos-15" ]]; then | ||
export IOS_DEPLOYMENT_TARGET=15.0; | ||
fi | ||
./build-tests-ios.sh ${{ matrix.config }} ${{ matrix.simulator }} |
This file was deleted.
Oops, something went wrong.
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
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
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
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
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
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