mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
33 lines
793 B
YAML
33 lines
793 B
YAML
version: 2
|
|
#dependencies:
|
|
# pre:
|
|
# - sudo add-apt-repository ppa:koffeinflummi/armake; sudo apt-get update; sudo apt-get install armake
|
|
jobs:
|
|
build:
|
|
docker:
|
|
- image: python:3-alpine
|
|
steps:
|
|
- checkout
|
|
- run:
|
|
name: Build with armake
|
|
command: |
|
|
# make --version
|
|
armake --version
|
|
# make -j 3
|
|
- run:
|
|
name: Validate SQF and Config style
|
|
command: python tools/sqf_validator.py && python tools/config_style_checker.py
|
|
deployment:
|
|
docker:
|
|
- image: python:3-alpine
|
|
branch: master
|
|
requires:
|
|
- build
|
|
steps:
|
|
- checkout
|
|
- deploy:
|
|
name: Deploy
|
|
command: |
|
|
pip install pygithub pygithub3
|
|
python3 tools/deploy.py
|