Add tests folder when testing flag is active.
This commit is contained in:
parent
c7fafce20f
commit
bf139fdb86
@ -48,8 +48,7 @@ jobs:
|
||||
- name: Build and Run Unit Tests
|
||||
run: |
|
||||
pwd
|
||||
ln -s /assets "Adventures in Lestoria/assets"
|
||||
ls
|
||||
ln -s /assets "/workspace/AMay/AdventuresInLestoria/bin/assets"
|
||||
./test.sh
|
||||
./runTest.sh
|
||||
- name: Send Webhook Update
|
||||
|
||||
2
.gitignore
vendored
2
.gitignore
vendored
@ -425,8 +425,10 @@ desktop.ini
|
||||
/Adventures in Lestoria Tests/x64/Unit Testing
|
||||
/x64/Unit Testing
|
||||
/Adventures in Lestoria/assets/2.10
|
||||
/Adventures in Lestoria/assets/assets.zip
|
||||
/Adventures in Lestoria/assets/items/Bird_s Treasure.png
|
||||
|
||||
|
||||
tools
|
||||
/dotnet-tools.json
|
||||
/Adventures in Lestoria/assets.zip
|
||||
|
||||
Binary file not shown.
@ -100,8 +100,11 @@ endif()
|
||||
|
||||
list(APPEND SOURCE_CXX_FILES ${SOURCE_CXX_FILES2})
|
||||
|
||||
if(NOT TEST_ONLY)
|
||||
list(REMOVE_ITEM SOURCE_CXX_FILES "${SOURCE_CXX_SRC_DIR}/tests/*.cpp")
|
||||
if(TEST_ONLY)
|
||||
file(
|
||||
GLOB SOURCE_CXX_FILES
|
||||
"${SOURCE_CXX_SRC_DIR}/tests/*.cpp"
|
||||
)
|
||||
endif()
|
||||
|
||||
# Search in the "cmake" directory for additional CMake modules.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user