chore: add in circleci configs
This commit is contained in:
parent
5a782f0fc5
commit
24ccdda1ba
2 changed files with 31 additions and 1 deletions
29
.circleci/config.yml
Normal file
29
.circleci/config.yml
Normal file
|
@ -0,0 +1,29 @@
|
|||
version: 2
|
||||
jobs:
|
||||
build:
|
||||
docker:
|
||||
- image: circleci/openjdk:8
|
||||
|
||||
steps:
|
||||
- checkout
|
||||
|
||||
- restore_cache:
|
||||
key: pom-{{ checksum "pom.xml" }}
|
||||
|
||||
- run: mvn dependency:go-offline
|
||||
|
||||
- save_cache: # saves the project dependencies
|
||||
paths:
|
||||
- ~/.m2
|
||||
key: pom-{{ checksum "pom.xml" }}
|
||||
|
||||
- run: mvn package
|
||||
|
||||
- store_artifacts:
|
||||
path: target/ATLauncher-*.exe
|
||||
|
||||
- store_artifacts:
|
||||
path: target/ATLauncher-*.jar
|
||||
|
||||
- store_artifacts:
|
||||
path: target/ATLauncher-*.zip
|
3
.gitignore
vendored
3
.gitignore
vendored
|
@ -3,9 +3,10 @@
|
|||
/*/
|
||||
|
||||
# Except These
|
||||
!/.vscode/launch.json
|
||||
!/.circleci/
|
||||
!/.github/
|
||||
!/.mvn/
|
||||
!/.vscode/launch.json
|
||||
!/getMemory/
|
||||
!/src/
|
||||
!/macapp/
|
||||
|
|
Loading…
Reference in a new issue