-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathwercker.yml
More file actions
32 lines (32 loc) · 1.14 KB
/
wercker.yml
File metadata and controls
32 lines (32 loc) · 1.14 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
box: wercker/android
# Build definition
build:
# The steps that will be executed on build
steps:
- script:
name: Setup JVM args
code: export JAVA_OPTS="-XX:MaxPermSize=512m -XX:+CMSClassUnloadingEnabled -XX:+HeapDumpOnOutOfMemoryError -Xmx1024m"
- script:
name: Init submodules
code: git submodule init
- script:
name: Clone submodules
code: git submodule update
# A step that executes `gradle build` command
- script:
name: Run gradle
code: ./gradlew -Sq --parallel --project-cache-dir=$WERCKER_CACHE_DIR assemble
- script:
name: Archive artifacts
code: cp build/libs/* $WERCKER_REPORT_ARTIFACTS_DIR
deploy:
steps:
- script:
name: git stuff
code: git checkout $WERCKER_GIT_BRANCH
- script:
name: jvm arguments
code: export JAVA_OPTS="-XX:MaxPermSize=512m -XX:+CMSClassUnloadingEnabled -XX:+HeapDumpOnOutOfMemoryError -Xmx1024m"
- script:
name: curseforge - assemble and deploy artifacts
code: ./gradlew -Sq --parallel --project-cache-dir=$WERCKER_CACHE_DIR curse