mirror of
https://github.com/seppukudevelopment/seppuku
synced 2024-12-17 20:24:32 +00:00
Add circleci config.yml
This commit is contained in:
parent
a6808ad1ce
commit
f4b44cd868
37
.circleci/config.yml
Normal file
37
.circleci/config.yml
Normal file
@ -0,0 +1,37 @@
|
||||
version: 2
|
||||
|
||||
general:
|
||||
branches:
|
||||
- master
|
||||
|
||||
jobs:
|
||||
build:
|
||||
docker:
|
||||
- image: circleci/openjdk:8-jdk
|
||||
|
||||
working_directory: ~/repo
|
||||
|
||||
environment:
|
||||
JVM_OPTS: -Xmx3200m
|
||||
TERM: dumb
|
||||
|
||||
steps:
|
||||
- checkout
|
||||
|
||||
- restore_cache:
|
||||
keys:
|
||||
- v1-dependencies-{{ checksum "build.gradle" }}
|
||||
- v1-dependencies-
|
||||
|
||||
- run: sed -i 's/def buildmode = "IDE"/def buildmode = "RELEASE"/' build.gradle
|
||||
- run: ./gradlew clean
|
||||
- run: ./gradlew setupDecompWorkspace
|
||||
- run: ./gradlew build
|
||||
|
||||
- store_artifacts:
|
||||
path: build/libs/
|
||||
|
||||
- save_cache:
|
||||
paths:
|
||||
- ~/.gradle
|
||||
key: v1-dependencies-{{ checksum "build.gradle" }}
|
Loading…
Reference in New Issue
Block a user