|
@@ -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
|