From e9b762af7207c77e0d6b87360069763c69a48a2d Mon Sep 17 00:00:00 2001 From: Fabien Spindler Date: Tue, 19 Mar 2024 17:26:33 +0100 Subject: [PATCH] Make working directory more explicit --- .github/workflows/windows-clang.yaml | 8 ++++---- .github/workflows/windows-msvc.yaml | 12 ++++++------ 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/windows-clang.yaml b/.github/workflows/windows-clang.yaml index c6302a15b2..e0fd96ad34 100644 --- a/.github/workflows/windows-clang.yaml +++ b/.github/workflows/windows-clang.yaml @@ -53,17 +53,17 @@ jobs: type ViSP-third-party.txt - name: Build ViSP - working-directory: build + working-directory: ${{ github.workspace }}\build run: | cmake --build . --config Release - name: Install ViSP - working-directory: build + working-directory: ${{ github.workspace }}\build run: | cmake --build . --config Release --target install - name: Check installation folder - working-directory: build + working-directory: ${{ github.workspace }}\build run: | dir ${{ github.workspace }}\build\install\ dir ${{ github.workspace }}\build\install\x64\ @@ -71,7 +71,7 @@ jobs: dir ${{ github.workspace }}\build\install\x64\vc17\bin - name: Test ViSP - working-directory: build + working-directory: ${{ github.workspace }}\build run: | set VISP_INPUT_IMAGE_PATH=${{ env.VISP_INPUT_IMAGE_PATH }} echo "VISP_INPUT_IMAGE_PATH: " diff --git a/.github/workflows/windows-msvc.yaml b/.github/workflows/windows-msvc.yaml index 33717516aa..79cd13f1b9 100644 --- a/.github/workflows/windows-msvc.yaml +++ b/.github/workflows/windows-msvc.yaml @@ -22,7 +22,7 @@ jobs: include: - name: windows-latest - os: windows-2019 + os: windows-2022 steps: - name: Checkout repository @@ -47,26 +47,26 @@ jobs: echo %VISP_INPUT_IMAGE_PATH% mkdir build cd build - cmake .. -G "Visual Studio 16 2019" -A "x64" + cmake .. -G "Visual Studio 17 2022" -A "x64" type ViSP-third-party.txt - name: Build ViSP - working-directory: build + working-directory: ${{ github.workspace }}\build run: | cmake --build . --config Release - name: Install ViSP - working-directory: build + working-directory: ${{ github.workspace }}\build run: | cmake --build . --config Release --target install - name: Check installation folder - working-directory: build + working-directory: ${{ github.workspace }}\build run: | dir ${{ github.workspace }}\build\install\x64\vc16\bin - name: Test ViSP - working-directory: build + working-directory: ${{ github.workspace }}\build run: | set VISP_INPUT_IMAGE_PATH=${{ env.VISP_INPUT_IMAGE_PATH }} echo "VISP_INPUT_IMAGE_PATH: "