diff options
author | Alkalus <3060479+draknyte1@users.noreply.github.com> | 2019-02-07 09:52:59 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-02-07 09:52:59 +0000 |
commit | ddef3451729b9a18c5c41af0936d26934d2ba6a8 (patch) | |
tree | 1a3e9949e485dec4b27674a4033198c300a2963f /.circleci | |
parent | a7cf24d87bbe776018ffe0c5bb9a8436151ffad6 (diff) | |
download | GT5-Unofficial-ddef3451729b9a18c5c41af0936d26934d2ba6a8.tar.gz GT5-Unofficial-ddef3451729b9a18c5c41af0936d26934d2ba6a8.tar.bz2 GT5-Unofficial-ddef3451729b9a18c5c41af0936d26934d2ba6a8.zip |
Possibly Fixed CircleCI
Diffstat (limited to '.circleci')
-rw-r--r-- | .circleci/config.yml | 73 |
1 files changed, 36 insertions, 37 deletions
diff --git a/.circleci/config.yml b/.circleci/config.yml index 086d399b75..d78502431e 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1,51 +1,50 @@ -# Java Gradle CircleCI 2.0 configuration file -# -# Check https://circleci.com/docs/2.0/language-java/ for more details -# version: 2 jobs: build: + working_directory: ~/code + docker: - # specify the version you desire here - image: circleci/openjdk:8-jdk - # Specify service dependencies here if necessary - # CircleCI maintains a library of pre-built images - # documented at https://circleci.com/docs/2.0/circleci-images/ - # - image: circleci/postgres:9.4 - - working_directory: ~/repo - + environment: - # Customize the JVM maximum heap limit JVM_OPTS: -Xmx3200m - TERM: dumb - + + steps: - checkout - - # Download and cache dependencies + #https://files.minecraftforge.net/maven/net/minecraftforge/forge/1.7.10-10.13.4.1614-1.7.10/forge-1.7.10-10.13.4.1614-1.7.10-src.zip - restore_cache: - keys: - - v1-dependencies-{{ checksum "build.gradle" }} - # fallback to using the latest cache if no exact match is found - - v1-dependencies- - - - run: gradle setupDecompWorkspace eclipse clean build test - # - run: gradle eclipse - # - run: gradle clean build - # - run: gradle dependencies - + key: jars-{{ checksum "build.gradle" }}-{{ checksum "app/build.gradle" }} + + - forge: + name: Setup Forge/MCP + command: wget https://files.minecraftforge.net/maven/net/minecraftforge/forge/1.7.10-10.13.4.1614-1.7.10/forge-1.7.10-10.13.4.1614-1.7.10-src.zip + + - zip: + name: Setup Forge/MCP + command: unzip forge-1.7.10-10.13.4.1614-1.7.10-src.zip + + - eclipse: + name: Setup Forge/MCP + command: ./gradlew setupDecompWorkspace + + - clean: + name: Ugh... + command: ./gradlew eclipse + + - build: + name: Build GT++ + command: ./gradlew build + - save_cache: paths: - ~/.gradle - - ~/.m2 - key: v1-dependencies-{{ checksum "build.gradle" }} - - # run tests! - - run: gradle test - # Build! - - run: gradle build - - - + key: jars-{{ checksum "build.gradle" }}-{{ checksum "app/build.gradle" }} + + - store_artifacts: # for display in Artifacts: https://circleci.com/docs/2.0/artifacts/ + path: app/build/reports + destination: reports + - store_test_results: # for display in Test Summary: https://circleci.com/docs/2.0/collect-test-data/ + path: app/build/test-results + # See https://circleci.com/docs/2.0/deployment-integrations/ for deploy examples |