Add basic CircleCI config (#597)

* Add basic CircleCI config

* Store packing artifacts

* Add destination prefix
This commit is contained in:
Björn Dahlgren 2019-04-30 13:56:50 +02:00 committed by Filip Maciejewski
parent 8d664eb2eb
commit f10565160a
1 changed files with 35 additions and 0 deletions

35
.circleci/config.yml Normal file
View File

@ -0,0 +1,35 @@
version: 2
jobs:
pack:
docker:
- image: circleci/node
steps:
- checkout
- run:
name: Install dependencies
command: npm install --loglevel=error
working_directory: ~/project/_tools
- run:
name: Pack PBOs
command: npx gulp
working_directory: ~/project/_tools
- store_artifacts:
path: ~/project/_tools/build/pbo
destination: 'KP-Liberation'
validate:
docker:
- image: circleci/python
steps:
- checkout
- run:
name: Install SQFLint
command: sudo pip install sqflint
- run:
name: Validate SQF
command: sqflint -d Missionframework
workflows:
version: 2
build:
jobs:
- pack
- validate