From af011dde7a6f5011635fa97f98e11497e0471fcd Mon Sep 17 00:00:00 2001 From: Octav Sandulescu Date: Mon, 27 Jan 2020 09:52:17 +0000 Subject: [PATCH] Update CircleCI build instructions --- .circleci/config.yml | 36 +++--------------------------------- 1 file changed, 3 insertions(+), 33 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index f944f8b..f78d167 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1,4 +1,3 @@ -# This configuration was automatically generated from a CircleCI 1.0 config. version: 2 jobs: build: @@ -11,43 +10,14 @@ jobs: CIRCLE_TEST_REPORTS: /tmp/circleci-test-results docker: - - image: circleci/build-image:ubuntu-14.04-XXL-upstart-1189-5614f37 - command: /sbin/init + - image: circleci/buildpack-deps steps: - checkout - # Prepare for artifact and test results collection equivalent to how it was done on 1.0. - # In many cases you can simplify this from what is generated here. - # 'See docs on artifact collection here https://circleci.com/docs/2.0/artifacts/' - - run: mkdir -p $CIRCLE_ARTIFACTS $CIRCLE_TEST_REPORTS - -# - restore_cache: -# keys: -# # This branch if available -# - v1-dep-{{ .Branch }}- -# # Default branch if not -# - v1-dep-master- -# # Any branch if there are none on the default branch - this should be unnecessary if you have your default branch configured correctly -# - v1-dep- - - - run: sudo apt-get update; sudo apt-get install lua5.2 + - run: mkdir -pv $CIRCLE_ARTIFACTS $CIRCLE_TEST_REPORTS + - run: sudo apt-get update; sudo apt-get install lua5.2 make zip - run: rm Makefile - run: wget https://github.com/narc0tiq/factorio-mod-makefile/raw/master/Makefile - -# - save_cache: -# key: v1-dep-{{ .Branch }}-{{ epoch }} -# paths: -# # This is a broad list of cache paths to include many possible development environments -# # You can probably delete some of these entries -# - vendor/bundle -# - ~/virtualenvs -# - ~/.m2 -# - ~/.ivy2 -# - ~/.bundle -# - ~/.go_workspace -# - ~/.gradle -# - ~/.cache/bower - - run: make package clean - store_artifacts: