Add basic CircleCI config (#597)
* Add basic CircleCI config * Store packing artifacts * Add destination prefix
This commit is contained in:
parent
8d664eb2eb
commit
f10565160a
|
@ -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
|
Loading…
Reference in New Issue