-
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.
* Small changes to better test activateFetched; Added circle ci support * Fix config.yml * Update build CI job * Trying to fix CI issue * Trying to fix CI issue - part 2 * Trying to fix CI issue - part 3 * Trying to fix CI issue - part 4 * Trying to fix CI issue - part 5 * Trying to fix CI issue - part 6 * Trying to fix CI issue - part 7 * Update artifacts paths * Update LogLevel back to NONE
- Loading branch information
1 parent
6413cbc
commit 2c80c8e
Showing
10 changed files
with
122 additions
and
30 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,81 @@ | ||
version: 2.1 | ||
orbs: | ||
android: circleci/android@2.1.2 | ||
|
||
####################### | ||
# Commands section | ||
# For code reuse. | ||
####################### | ||
commands: | ||
run-gradle-cmd: | ||
description: "Running gradle command with environment options" | ||
parameters: | ||
desc: | ||
type: string | ||
default: "Running gradle command" | ||
cmd: | ||
type: string | ||
steps: | ||
- run: | ||
name: << parameters.desc >> | ||
command: > | ||
./gradlew -PdisablePreDex -PciBuild=true | ||
<< parameters.cmd >> | ||
no_output_timeout: 30m | ||
environment: | ||
JVM_OPTS: -Xmx4096m | ||
GRADLE_OPTS: > | ||
-Xmx1536m -XX:+HeapDumpOnOutOfMemoryError | ||
-Dorg.gradle.configureondemand=true | ||
-Dkotlin.compiler.execution.strategy=in-process | ||
-Dkotlin.incremental=false | ||
references: | ||
## Workspace | ||
|
||
attach_debug_workspace: &attach_build_workspace | ||
attach_workspace: | ||
at: ~/workspace | ||
|
||
persist_debug_workspace: &persist_build_workspace | ||
persist_to_workspace: | ||
root: ~/workspace | ||
paths: | ||
- firely-lib/build | ||
- firely-plugin/build | ||
|
||
## Docker images | ||
android_config: &android_config | ||
working_directory: ~/workspace | ||
docker: | ||
- image: circleci/android:api-30 | ||
|
||
|
||
jobs: | ||
## Builds release version | ||
build: | ||
environment: | ||
<<: *android_config | ||
steps: | ||
- checkout | ||
- run-gradle-cmd: | ||
desc: Publish Plugin to MavenLocal | ||
cmd: "firely-plugin::publishToMavenLocal" | ||
- run-gradle-cmd: | ||
desc: Build Release | ||
cmd: "clean assembleRelease" | ||
- *persist_build_workspace | ||
- store_artifacts: | ||
path: firely-lib/build/outputs | ||
destination: reports | ||
- store_artifacts: | ||
path: firely-plugin/build/outputs | ||
- store_artifacts: | ||
path: firely-sample/build/outputs | ||
|
||
|
||
workflows: | ||
workflow: | ||
jobs: | ||
- build | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -65,11 +65,3 @@ publishing { | |
} | ||
} | ||
|
||
publishing { | ||
repositories { | ||
maven { | ||
url "../localOutput" | ||
} | ||
} | ||
} | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
jdk: | ||
- openjdk11 |