-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add: Github actions for running ios build and tests
- Loading branch information
1 parent
b91bf8e
commit aa2186f
Showing
5 changed files
with
128 additions
and
32 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,30 @@ | ||
name: Build iOS Framework | ||
on: workflow_dispatch | ||
jobs: | ||
build: | ||
runs-on: macos-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
with: | ||
submodules: recursive | ||
- uses: actions/setup-java@v3 | ||
with: | ||
distribution: 'temurin' | ||
java-version: '17' | ||
- name: Build klibs | ||
run: ./gradlew iosArm64MainKlibrary iosX64MainKlibrary | ||
- name: Build XCFrameworks | ||
run: ./gradlew assembleJsonPathXCFramework | ||
- name: Upload debug XCFramework jsonpath | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: JsonPath-debug.xcframework | ||
path: | | ||
jsonpath/build/XCFrameworks/debug/ | ||
- name: Upload release XCFramework jsonpath | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: JsonPath-release.xcframework | ||
path: | | ||
jsonpath/build/XCFrameworks/release/ |
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,25 @@ | ||
name: Test iOS implementation | ||
on: [push] | ||
jobs: | ||
build: | ||
runs-on: macos-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
with: | ||
submodules: recursive | ||
- uses: actions/setup-java@v3 | ||
with: | ||
distribution: 'temurin' | ||
java-version: '17' | ||
- name: Build klibs | ||
run: ./gradlew iosArm64MainKlibrary iosX64MainKlibrary | ||
- name: Run tests | ||
run: ./gradlew iosX64Test | ||
- name: Test Report | ||
uses: dorny/test-reporter@v1 | ||
if: success() || failure() | ||
with: | ||
name: jsonpath Tests | ||
path: jsonpath/build/test-results/**/TEST*.xml | ||
reporter: java-junit |
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 |
---|---|---|
@@ -1,4 +1,6 @@ | ||
|
||
Release 1.0.0: | ||
- Add `JsonPathDependencyManager`: Dependency manager for the library | ||
- Add `JsonPathFunctionExtensionRepository`: Give users a way to add custom function extensions | ||
- Add `JsonPath`: JsonPath compiler and query functionality | ||
|
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