Testing new workflow with unit testing.
This commit is contained in:
parent
f5c80b20d5
commit
8199f31625
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user