diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index 836a0bd..54bff51 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -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 diff --git a/win32/Makefile b/win32/Makefile index 794d6db..6396c84 100644 --- a/win32/Makefile +++ b/win32/Makefile @@ -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