Add concurrency and dependency on CMakeLists.txt
This commit is contained in:
parent
1b3357611b
commit
5c2718de03
4
.github/workflows/analysis_codeql.yml
vendored
4
.github/workflows/analysis_codeql.yml
vendored
@ -18,6 +18,8 @@ on:
|
||||
# This workflow should run when a file in a source directory has been modified.
|
||||
- 'src/**'
|
||||
- '3rdparty/**'
|
||||
# This workflow should run whenever a CMake related file has been modified
|
||||
- '**/CMakeLists.txt'
|
||||
|
||||
jobs:
|
||||
analyze:
|
||||
@ -84,7 +86,7 @@ jobs:
|
||||
|
||||
- name: Build
|
||||
working-directory: ${{github.workspace}}/build
|
||||
run: cmake --build . --target server
|
||||
run: cmake --build -j2 . --target server
|
||||
|
||||
- name: Perform CodeQL Analysis
|
||||
uses: github/codeql-action/analyze@v2
|
||||
|
||||
2
.github/workflows/build_servers_cmake.yml
vendored
2
.github/workflows/build_servers_cmake.yml
vendored
@ -46,4 +46,4 @@ jobs:
|
||||
- name: Build
|
||||
working-directory: ${{github.workspace}}/build
|
||||
# Execute the build. You can specify a specific target with "--target <NAME>"
|
||||
run: cmake --build . --target server tools
|
||||
run: cmake --build -j2 . --target server tools
|
||||
|
||||
4
.github/workflows/build_servers_modes.yml
vendored
4
.github/workflows/build_servers_modes.yml
vendored
@ -18,6 +18,8 @@ on:
|
||||
# This workflow should run when a file in a source directory has been modified.
|
||||
- 'src/**'
|
||||
- '3rdparty/**'
|
||||
# This workflow should run whenever a CMake related file has been modified
|
||||
- '**/CMakeLists.txt'
|
||||
|
||||
jobs:
|
||||
build:
|
||||
@ -68,7 +70,7 @@ jobs:
|
||||
|
||||
- name: Build
|
||||
working-directory: ${{github.workspace}}/build
|
||||
run: cmake --build . --target server
|
||||
run: cmake --build -j2 . --target server
|
||||
|
||||
- name: Run Once - login-server
|
||||
run: ./login-server --run-once
|
||||
|
||||
@ -18,6 +18,8 @@ on:
|
||||
# This workflow should run when a file in a source directory has been modified.
|
||||
- 'src/**'
|
||||
- '3rdparty/**'
|
||||
# This workflow should run whenever a CMake related file has been modified
|
||||
- '**/CMakeLists.txt'
|
||||
|
||||
jobs:
|
||||
build:
|
||||
@ -70,4 +72,4 @@ jobs:
|
||||
|
||||
- name: Build
|
||||
working-directory: ${{github.workspace}}/build
|
||||
run: cmake --build .
|
||||
run: cmake --build -j2 .
|
||||
|
||||
4
.github/workflows/build_servers_vip.yml
vendored
4
.github/workflows/build_servers_vip.yml
vendored
@ -18,6 +18,8 @@ on:
|
||||
# This workflow should run when a file in a source directory has been modified.
|
||||
- 'src/**'
|
||||
- '3rdparty/**'
|
||||
# This workflow should run whenever a CMake related file has been modified
|
||||
- '**/CMakeLists.txt'
|
||||
|
||||
jobs:
|
||||
build:
|
||||
@ -68,7 +70,7 @@ jobs:
|
||||
|
||||
- name: Build
|
||||
working-directory: ${{github.workspace}}/build
|
||||
run: cmake --build . --target server
|
||||
run: cmake --build -j2 . --target server
|
||||
|
||||
- name: Run Once - login-server
|
||||
run: ./login-server --run-once
|
||||
|
||||
4
.github/workflows/npc_db_validation.yml
vendored
4
.github/workflows/npc_db_validation.yml
vendored
@ -21,6 +21,8 @@ on:
|
||||
# This workflow should run when a file in either the db/ or npc/ directory has been modified.
|
||||
- 'db/**'
|
||||
- 'npc/**'
|
||||
# This workflow should run whenever a CMake related file has been modified
|
||||
- '**/CMakeLists.txt'
|
||||
|
||||
jobs:
|
||||
build:
|
||||
@ -71,7 +73,7 @@ jobs:
|
||||
|
||||
- name: Build
|
||||
working-directory: ${{github.workspace}}/build
|
||||
run: cmake --build . --target map-server
|
||||
run: cmake --build -j2 . --target map-server
|
||||
|
||||
# npc.sh enables all NPC scripts in the custom and test folders.
|
||||
- name: Enable All NPCs for Testing
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user