-
Notifications
You must be signed in to change notification settings - Fork 54
Bump macOS version and fix iOS build #1326
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
64 commits
Select commit
Hold shift + click to select a range
1048418
bump macos version
lalitb 742fea4
Merge branch 'main' into bump-macos-12-14
lalitb 10a2697
incorrect version
lalitb cb4d84d
check install prefix access
lalitb c89e0d9
Merge branch 'main' into bump-macos-12-14
mkoscumb fbf4c6a
Merge branch 'main' into bump-macos-12-14
ThomsonTan 262a4e1
Merge branch 'main' into bump-macos-12-14
lalitb db048cf
fix the cmake to not exit if the write test fail
4e7e8cc
macos12 is deprecated. switch to macos13 and macos15
lalitb 7dac26f
try to gracefully fail for write
lalitb 0c7ff51
more cleaner check
lalitb c058ef3
update ci yaml
lalitb a500fcb
update the simulators
lalitb 72bf84a
use iphone 16 as simulator
lalitb d1e8284
Merge branch 'main' into bump-macos-12-14
ThomsonTan 2c4f2ba
Add debug code to build-gtest.sh
ThomsonTan 3c7d85b
Add more log
ThomsonTan da2986b
Update checkout action
ThomsonTan 200632a
Fix checkout submodules
ThomsonTan f6bd624
Fix build variable name
ThomsonTan ff8f3ad
Add more log
ThomsonTan 2c5d740
Set architecture
ThomsonTan 4729037
Set one more flag
ThomsonTan 655fa47
Dump the arch of gtest library
ThomsonTan c7c5b83
Add optin for lipo
ThomsonTan 7a1b68e
Log test target
ThomsonTan cc036d2
Add build entry/exit log
ThomsonTan 32326b8
Build for active arch only
ThomsonTan 9e0ec42
Log arch
ThomsonTan 0e81432
Check variable cache
ThomsonTan f1d6321
Make CMAKE_OSX_SYSROOT as cache variable
ThomsonTan 09c7c45
Add system name variable
ThomsonTan 1fc2392
Add verbose log
ThomsonTan b5e47d9
Add verbose log to xcode
ThomsonTan 6f3dcfa
Get dyld-info log
ThomsonTan ac75b72
Add verbose log to xcode test
ThomsonTan 44c01ee
Install cctools
ThomsonTan 37c4b95
Fix dyldinfo path
ThomsonTan b80465a
Comment out dyndinfo
ThomsonTan 56f17d7
Add log of gtest path
ThomsonTan af7ccfa
Debug log
ThomsonTan fe5ae4e
Set find mode
ThomsonTan 0f5aaab
Set find mode for functests
ThomsonTan d255b19
set target
ThomsonTan caa3838
Update IPHONEOS_DEPLOYMENT_TARGET
ThomsonTan d7bfd26
Add include path
ThomsonTan 0a18645
Fix include
ThomsonTan 21ddfc2
Add functests log
ThomsonTan 97ff66a
Add include dir to xcode project
ThomsonTan 9870c05
update iOS version
ThomsonTan eee6b7e
revert iOS version
ThomsonTan ac2c608
Set OS version for xcodebuild
ThomsonTan 97efad0
Log destinations
ThomsonTan 6b65f60
Add scheme
ThomsonTan 98af7d2
Log sdk version
ThomsonTan e738e18
More logs
ThomsonTan a79200b
Update iOS versio in CI matrics
ThomsonTan 2024398
Remove OS version
ThomsonTan ba36495
Remvoe macos-13
ThomsonTan 69fcf70
Delete old workflow
ThomsonTan 86e1d65
Cleanup
ThomsonTan bb61474
Add macos-13 to CI workflow
ThomsonTan c86addd
Remove unnecessary include
ThomsonTan ee32e40
Exclude unnecessary matrix
ThomsonTan File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.