We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0bd664a commit 75b66e5Copy full SHA for 75b66e5
.github/workflows/ladder.yml
@@ -0,0 +1,35 @@
1
+name: Build for AIArena
2
+
3
+on:
4
+ push:
5
+ branches:
6
+ - master
7
+ paths:
8
+ - 'src/**'
9
+ - 'contrib/**'
10
+ - 'CMakeLists.txt'
11
+ pull_request:
12
13
14
15
16
17
+env:
18
+ BUILD_TYPE: Release
19
+ BUILD_DIR: ${{github.workspace}}/build
20
+ SC2_VERSION: 4.10.0
21
22
+jobs:
23
+ build:
24
+ runs-on: ubuntu-18.04
25
26
+ steps:
27
+ - uses: actions/checkout@v2
28
+ with:
29
+ submodules: recursive
30
31
+ - name: Configure
32
+ run: cmake -B ${{env.BUILD_DIR}} -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DBUILD_FOR_LADDER=ON -DSC2_VERSION=${{env.SC2_VERSION}}
33
34
+ - name: Build
35
+ run: cmake --build ${{env.BUILD_DIR}} --config ${{env.BUILD_TYPE}} --parallel 2
0 commit comments