Skip to content

Commit

Permalink
Make working directory more explicit
Browse files Browse the repository at this point in the history
  • Loading branch information
fspindle committed Mar 19, 2024
1 parent 01f6682 commit e9b762a
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/windows-clang.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,25 +53,25 @@ 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\
dir ${{ github.workspace }}\build\install\x64\vc17\
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: "
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/windows-msvc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:

include:
- name: windows-latest
os: windows-2019
os: windows-2022

steps:
- name: Checkout repository
Expand All @@ -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: "
Expand Down

0 comments on commit e9b762a

Please sign in to comment.