forked from MailCore/mailcore2
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #88 from readdle/feature/spm-support
📦 SwiftPM Support
- Loading branch information
Showing
716 changed files
with
12,464 additions
and
220,881 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,70 @@ | ||
name: Pull Request Check | ||
|
||
on: pull_request | ||
|
||
defaults: | ||
run: | ||
shell: zsh -l {0} # Use zsh iwth login as default shell | ||
|
||
concurrency: | ||
group: ${{ github.ref }} | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
|
||
Android: | ||
name: "mailcore2 - Android" | ||
runs-on: macos-13 | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Select XCode 14.2 | ||
run: sudo xcode-select --switch /Applications/Xcode_14.2.app | ||
- name: Install NDK | ||
run: $ANDROID_HOME/cmdline-tools/latest/bin/sdkmanager --install "ndk;25.2.9519653" | ||
- name: Install Swift Android Toolchain | ||
run: wget https://github.com/readdle/swift-android-toolchain/releases/latest/download/swift-android.zip; | ||
unzip swift-android.zip; | ||
swift-android/bin/swift-android tools --update; | ||
- name: Install Android Emulator | ||
run: $ANDROID_HOME/cmdline-tools/latest/bin/sdkmanager --install "system-images;android-29;google_apis;x86_64" | ||
- name: Run connected android tests | ||
run: export ANDROID_NDK_ROOT_25C=$ANDROID_HOME/ndk/25.2.9519653; | ||
export SWIFT_ANDROID_HOME_5_7=$(pwd)/swift-android; | ||
./build-scripts/test-android.sh | ||
- name: Publish Report | ||
uses: mikepenz/action-junit-report@v3 | ||
if: failure() | ||
with: | ||
report_paths: .build/reports/junit.xml | ||
check_name: mailcore2 - Android - Report | ||
detailed_summary: true | ||
include_passed: true | ||
|
||
Darwin: | ||
name: "mailcore2 - ${{ matrix.os }}" | ||
runs-on: macos-latest | ||
timeout-minutes: 60 | ||
|
||
strategy: | ||
matrix: | ||
os: [macOS, iOS] | ||
include: | ||
- os: macOS | ||
os_lowercased: macos | ||
- os: iOS | ||
os_lowercased: ios | ||
|
||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v4 | ||
- name: Run tests | ||
run: ./build-scripts/test-${{ matrix.os_lowercased }}.sh | ||
- name: Publish Report | ||
uses: mikepenz/action-junit-report@v3 | ||
if: failure() | ||
with: | ||
report_paths: .build/reports/junit.xml | ||
check_name: mailcore2 - ${{ matrix.os }} - Report | ||
detailed_summary: true | ||
include_passed: true |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
{ | ||
"object": { | ||
"pins": [ | ||
{ | ||
"package": "ctemplate", | ||
"repositoryURL": "https://github.com/readdle/ctemplate.git", | ||
"state": { | ||
"branch": null, | ||
"revision": "a56e2d43eb57dc1e132a96f0fd9e4df198d1c35b", | ||
"version": "2.2.3-readdle.4" | ||
} | ||
}, | ||
{ | ||
"package": "etpan", | ||
"repositoryURL": "https://github.com/readdle/libetpan.git", | ||
"state": { | ||
"branch": null, | ||
"revision": "68a9583bb8022f75992e7ebb7956e8bd7197e867", | ||
"version": "1.9.3-readdle.5" | ||
} | ||
}, | ||
{ | ||
"package": "unicode", | ||
"repositoryURL": "https://github.com/readdle/swift-unicode", | ||
"state": { | ||
"branch": null, | ||
"revision": "fb8aac372834ccb8fab0a5c1742df862d47c4156", | ||
"version": "68.2.0" | ||
} | ||
}, | ||
{ | ||
"package": "RDHtml5Tidy", | ||
"repositoryURL": "https://github.com/readdle/tidy-html5.git", | ||
"state": { | ||
"branch": null, | ||
"revision": "fa68a7e0ebdc4deab6de668c85a8d8ccf2fb5b19", | ||
"version": "5.4.0-readdle.28" | ||
} | ||
} | ||
] | ||
}, | ||
"version": 1 | ||
} |
Oops, something went wrong.