-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
98e8a1d
commit 9b494d8
Showing
3 changed files
with
36 additions
and
24 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 |
---|---|---|
|
@@ -22,6 +22,8 @@ jobs: | |
- abi: x86_64 | ||
sdk: iphoneos | ||
steps: | ||
- name: get-cmake | ||
uses: lukka/[email protected] | ||
- uses: actions/checkout@v3 | ||
with: | ||
submodules: true | ||
|
@@ -40,12 +42,28 @@ jobs: | |
timeout-minutes: 30 | ||
needs: build_non_fat | ||
steps: | ||
- name: get-cmake | ||
uses: lukka/[email protected] | ||
- uses: actions/checkout@v3 | ||
with: | ||
submodules: true | ||
lfs: true | ||
- name: Download artifacts | ||
uses: actions/download-artifact@v3 | ||
- name: Run simulator | ||
run: | | ||
runtime=$(xcrun simctl list runtimes iOS -j | jq '.runtimes[].identifier' | tail -1) | ||
udid=$(xcrun simctl list devices iPhone available -j | jq '.devices['$runtime']|.[].udid' | tail -1) | ||
xcrun simctl bootstatus $(eval echo $udid) -b | ||
- name: Test | ||
run: | | ||
ctest --test-dir build/iphonesimulator-x86_64 -C Release | ||
- name: Archive artifacts (testsuite) | ||
if: ${{failure()}} | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: testsuite | ||
path: ${{github.workspace}}/build/iphonesimulator-x86_64/ | ||
- name: Install fat files and XCFrameworks | ||
run: | | ||
sh ios.sh build install "$HOME/ios" | ||
|
@@ -55,14 +73,6 @@ jobs: | |
name: xcframework | ||
path: ~/ios | ||
if-no-files-found: error | ||
- name: Run simulator | ||
run: | | ||
runtime=$(xcrun simctl list runtimes iOS -j | jq '.runtimes[].identifier' | tail -1) | ||
udid=$(xcrun simctl list devices iPhone available -j | jq '.devices['$runtime']|.[].udid' | tail -1) | ||
xcrun simctl bootstatus $(eval echo $udid) -b | ||
- name: Test | ||
run: | | ||
ctest --test-dir build/iphonesimulator-x86_64 -C Release | ||
build-simply: | ||
runs-on: macos-latest | ||
timeout-minutes: 30 | ||
|
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