Add --show-diff for Windows CI test

This commit is contained in:
Dmitry Stogov 2023-03-29 14:43:54 +03:00
parent 26e462fa42
commit b193a348c5
2 changed files with 7 additions and 1 deletions

View File

@ -106,5 +106,5 @@ jobs:
- name: Test
shell: cmd
run: |
nmake -nologo -f win32/Makefile VCPKG_DIR=${{ matrix.vcpkg_dir }} VCPKG_TRIPLET=${{ matrix.vcpkg_triplet }} test
nmake -nologo -f win32/Makefile VCPKG_DIR=${{ matrix.vcpkg_dir }} VCPKG_TRIPLET=${{ matrix.vcpkg_triplet }} test-ci

View File

@ -122,6 +122,12 @@ test: $(BUILD_DIR)\ir.exe $(BUILD_DIR)\ir-test.exe
set SRC_DIR=$(SRC_DIR)
$(BUILD_DIR)\ir-test.exe
test-ci: $(BUILD_DIR)\ir.exe $(BUILD_DIR)\ir-test.exe
set PATH=$(VCPKG_DIR)\installed\$(VCPKG_TRIPLET)\bin:%%PATH%%
set BUILD_DIR=$(BUILD_DIR)
set SRC_DIR=$(SRC_DIR)
$(BUILD_DIR)\ir-test.exe
clean:
del /f /q $(BUILD_DIR)\*.obj $(BUILD_DIR)\*.exe $(BUILD_DIR)\*.pdb $(BUILD_DIR)\*.ilk $(BUILD_DIR)\*.h