Compare commits
5 Commits
Author | SHA1 | Date |
---|---|---|
jack77213 | d030cc2686 | |
SongWei | 3bb6921710 | |
Christian | 5072dbcce7 | |
Filip Maciejewski | 41b67fe818 | |
Filip Maciejewski | 4500f0a3f4 |
|
@ -1,35 +0,0 @@
|
|||
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
|
|
@ -8,5 +8,8 @@ indent_style = space
|
|||
indent_size = 4
|
||||
trim_trailing_whitespace = true
|
||||
|
||||
[*.yml]
|
||||
indent_size = 2
|
||||
|
||||
[*.md]
|
||||
trim_trailing_whitespace = false
|
||||
|
|
|
@ -0,0 +1,39 @@
|
|||
name: CI
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
pull_request: ~
|
||||
|
||||
jobs:
|
||||
test:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@master
|
||||
|
||||
- uses: arma-actions/sqflint@v1.0
|
||||
with:
|
||||
args: --directory Missionframework
|
||||
|
||||
artifacts:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@master
|
||||
|
||||
- uses: docker://node:10-alpine
|
||||
name: Setup Node
|
||||
|
||||
- name: Install dependencies
|
||||
working-directory: _tools
|
||||
run: npm install
|
||||
|
||||
- name: Assemble and pack
|
||||
working-directory: _tools
|
||||
run: npx gulp
|
||||
|
||||
- uses: actions/upload-artifact@master
|
||||
with:
|
||||
name: PBO-Files
|
||||
path: _tools/build/pbo
|
||||
|
File diff suppressed because it is too large
Load Diff
|
@ -164,6 +164,20 @@
|
|||
"KP_liberation_arsenal": 10
|
||||
}
|
||||
},
|
||||
{
|
||||
"sourceFolder": "kp_liberation.rhspkl",
|
||||
"missionName": "kp_liberation",
|
||||
"map": "rhspkl",
|
||||
"mapDisplay": "Song Bin Tanh",
|
||||
"configFile": "kp_liberation_config.sqf",
|
||||
"variables": {
|
||||
"KP_liberation_preset_blufor": 15,
|
||||
"KP_liberation_preset_opfor": 12,
|
||||
"KP_liberation_preset_resistance": 6,
|
||||
"KP_liberation_preset_civilians": 5,
|
||||
"KP_liberation_arsenal": 10
|
||||
}
|
||||
},
|
||||
{
|
||||
"sourceFolder": "kp_liberation.Takistan",
|
||||
"missionName": "kp_liberation",
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"name": "kp_liberation",
|
||||
"engines": {
|
||||
"node": ">=7"
|
||||
"node": ">=10"
|
||||
},
|
||||
"dependencies": {
|
||||
"@types/del": "^3.0.1",
|
||||
|
|
Loading…
Reference in New Issue