File tree 3 files changed +46
-79
lines changed
3 files changed +46
-79
lines changed Original file line number Diff line number Diff line change 19
19
BUILD_DIR : ${{github.workspace}}/build
20
20
21
21
jobs :
22
- build :
22
+ lint :
23
+ runs-on : ubuntu-latest
24
+
25
+ steps :
26
+ - uses : actions/checkout@v2
27
+
28
+ - name : Setup
29
+ run : curl -o cpplint.py https://raw.githubusercontent.com/google/styleguide/gh-pages/cpplint/cpplint.py
30
+
31
+ - name : Lint
32
+ run : |
33
+ python2 cpplint.py \
34
+ --linelength=90 \
35
+ --filter=-build/header_guard,-build/include,-build/c++11 \
36
+ src/* \
37
+ src/blueprints/* \
38
+ src/core/* \
39
+ src/objects/* \
40
+ src/plugins/* \
41
+ src/strategies/* \
42
+ src/strategies/protoss/* \
43
+ src/strategies/terran/* \
44
+ src/strategies/zerg/*
45
+
46
+ crossplatform_build :
23
47
runs-on : ${{ matrix.os }}
24
48
strategy :
25
49
matrix :
26
50
os : [windows-latest, macos-latest, ubuntu-latest]
27
51
28
52
steps :
29
- - uses : actions/checkout@v2
30
- with :
31
- submodules : recursive
53
+ - uses : actions/checkout@v2
54
+ with :
55
+ submodules : recursive
56
+
57
+ - name : Configure
58
+ run : cmake -B ${{env.BUILD_DIR}} -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}}
59
+
60
+ - name : Build
61
+ run : cmake --build ${{env.BUILD_DIR}} --config ${{env.BUILD_TYPE}} --parallel 2
62
+
63
+ ladder_build :
64
+ runs-on : ubuntu-18.04
65
+
66
+ steps :
67
+ - uses : actions/checkout@v2
68
+ with :
69
+ submodules : recursive
32
70
33
- - name : Configure
34
- run : cmake -B ${{env.BUILD_DIR}} -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}}
71
+ - name : Configure
72
+ run : cmake -B ${{env.BUILD_DIR}} -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DBUILD_FOR_LADDER=ON -DSC2_VERSION=4.10.0
35
73
36
- - name : Build
37
- run : cmake --build ${{env.BUILD_DIR}} --config ${{env.BUILD_TYPE}} --parallel 2
74
+ - name : Build
75
+ run : cmake --build ${{env.BUILD_DIR}} --config ${{env.BUILD_TYPE}} --parallel 2
Load Diff This file was deleted.
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments