Testing new workflow with unit testing.
Some checks failed
Emscripten Build / Build_and_Deploy_Web_Build (push) Successful in 6m46s
Emscripten Build / Unit_Testing (push) Failing after 27s

This commit is contained in:
sigonasr2 2025-08-05 13:39:20 -05:00
parent f5c80b20d5
commit 8199f31625
2 changed files with 31 additions and 2 deletions

View File

@ -22,4 +22,33 @@ jobs:
mv ${{ gitea.event.repository.name }}/bin/* /web/${{ gitea.event.repository.name }}
echo "Move files to final directory (/web/${{ gitea.event.repository.name }})"
- name: Cleanup - Web Build Available
run: echo "Emscripten build now available at http://projectdivar.com/files/web/${{ gitea.event.repository.name }}"
run: echo "Emscripten build now available at http://projectdivar.com/files/web/${{ gitea.event.repository.name }}"
Unit_Testing:
runs-on: windows-latest
steps:
# using tmp v3 git branch
- uses: actions/checkout@v3
# getting dependencies
- name: getting dependencies
working-directory: tools
run: ./BuildTest.bat
# set up
- name: set up
working-directory: tools
run: ./Setup.bat
# adding msbuild path
- name: add msbuild to PATH
uses: microsoft/setup-msbuild@v1.1
# set up vstest path
- name: Setup VSTest Path
uses: darenm/Setup-VSTest@v1
# building sln in debug
- name: build debug
run: msbuild Dare.sln /p:Configuration=Unit Testing
# run unit test
- name: run unit test
working-directory: bin\Debug-windows-x86_64\DareUnitTest
run: vstest.console.exe DareUnitTest.dll

View File

@ -39,7 +39,7 @@ All rights reserved.
#define VERSION_MAJOR 1
#define VERSION_MINOR 3
#define VERSION_PATCH 0
#define VERSION_BUILD 12251
#define VERSION_BUILD 12252
#define stringify(a) stringify_(a)
#define stringify_(a) #a