Skip to content

CHexDlgDataInterp has exempted from MFC, except for the MfcPropertyGr… #59

CHexDlgDataInterp has exempted from MFC, except for the MfcPropertyGr…

CHexDlgDataInterp has exempted from MFC, except for the MfcPropertyGr… #59

Workflow file for this run

name: HexCtrl Tests
on:
push:
branches: [ "master", "main" ]
pull_request:
branches: [ "master", "main" ]
env:
PATH_PROJ_HEXCTRLDLL: '"./VS Projects/HexCtrl DLL/HexCtrl DLL.vcxproj"'
PATH_PROJ_HEXCTRLTEST: '"./VS Projects/HexCtrl Test/HexCtrl Test.vcxproj"'
PATH_VSTESTCONSOLE_EXE: '"C:\Program Files\Microsoft Visual Studio\2022\Enterprise\Common7\IDE\CommonExtensions\Microsoft\TestWindow\vstest.console.exe"'
PATH_TESTDLL: '"C:\HexCtrlTEMP\HexCtrl Test.dll"'
PATH_TEMPDIR: '"C:\HexCtrlTEMP\"'
BUILD_CONFIG: Debug
BUILD_PLATFORM_x64: x64
permissions:
contents: read
jobs:
build:
runs-on: windows-latest
name: Build and Test x64
steps:
- uses: actions/checkout@v4
- name: Add MSBuild to PATH
uses: microsoft/setup-msbuild@v2
- name: Build Project HexCtrlDll_x64
working-directory: ${{env.GITHUB_WORKSPACE}}
run: |
git submodule update --init --recursive
msbuild /m ${{env.PATH_PROJ_HEXCTRLDLL}} /p:Configuration=${{env.BUILD_CONFIG}} /p:Platform=${{env.BUILD_PLATFORM_x64}} /p:OutDir=${{env.PATH_TEMPDIR}}
- name: Build Project HexCtrlTest_x64
working-directory: ${{env.GITHUB_WORKSPACE}}
run: msbuild /m ${{env.PATH_PROJ_HEXCTRLTEST}} /p:Configuration=${{env.BUILD_CONFIG}} /p:Platform=${{env.BUILD_PLATFORM_x64}} /p:OutDir=${{env.PATH_TEMPDIR}} /p:LinkerAdditionalDir=${{env.PATH_TEMPDIR}}
- name: Run HexCtrlTest_x64
working-directory: ${{env.GITHUB_WORKSPACE}}
run: |
& ${{env.PATH_VSTESTCONSOLE_EXE}} ${{env.PATH_TESTDLL}}