mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
27 lines
781 B
YAML
27 lines
781 B
YAML
version: 2
|
|
jobs:
|
|
build:
|
|
docker:
|
|
- image: acemod/armake
|
|
steps:
|
|
- checkout
|
|
- run:
|
|
name: Validate SQF and Config style
|
|
command: python tools/sqf_validator.py && python tools/config_style_checker.py
|
|
- run:
|
|
name: Version
|
|
command: armake --version
|
|
- run:
|
|
name: Build
|
|
command: |
|
|
make -j 2
|
|
- deploy:
|
|
name: Update documentation and translation statistics
|
|
command: |
|
|
if [ "${CIRCLE_BRANCH}" == "master" ] && [ "${CIRCLE_PROJECT_USERNAME}" == "acemod" ]; then
|
|
pip install pygithub pygithub3
|
|
python3 tools/deploy.py
|
|
else
|
|
echo "Skipping, not on acemod/ACE3 master branch..."
|
|
fi
|