From d68756bc8bf06497b29c59cb57fc8d980a7f723a Mon Sep 17 00:00:00 2001 From: Andre Renaud Date: Sun, 5 Jul 2026 13:57:05 +1200 Subject: [PATCH] workflow: Try and get msvc working again --- .github/workflows/build_and_test.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build_and_test.yml b/.github/workflows/build_and_test.yml index 55a2c2a..e405128 100644 --- a/.github/workflows/build_and_test.yml +++ b/.github/workflows/build_and_test.yml @@ -48,20 +48,24 @@ jobs: steps: - uses: actions/checkout@v6 + - uses: ilammy/msvc-dev-cmd@v1 + with: + arch: x64 - name: make x64 shell: cmd run: | - call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvars64.bat" make clean make testprog.exe CC=cl cp testprog.exe testprog-64.exe testprog-64 cp output.pdf output-win64.pdf cp output_encrypted.pdf output_encrypted-win64.pdf + - uses: ilammy/msvc-dev-cmd@v1 + with: + arch: x86 - name: make x86 shell: cmd run: | - call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvars32.bat" make clean make testprog.exe CC=cl cp testprog.exe testprog-32.exe