From f593b8ff114b430621d30422b98b6930371093cc Mon Sep 17 00:00:00 2001 From: Fixstars-momoko Date: Wed, 24 Jul 2024 10:30:12 -0700 Subject: [PATCH] add verbose --- .github/workflows/develop-Linux.yml | 2 +- .github/workflows/develop-Windows.yml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/develop-Linux.yml b/.github/workflows/develop-Linux.yml index 2e79d359..470c70ec 100644 --- a/.github/workflows/develop-Linux.yml +++ b/.github/workflows/develop-Linux.yml @@ -98,7 +98,7 @@ jobs: run: | cd ${{ github.workspace }}/test chmod +x setup.sh - sudo bash setup.sh ${{ matrix.install_option }} ${{ matrix.with_openCV }} + sudo bash setup.sh ${{ matrix.install_option }} ${{ matrix.with_openCV }} --verbose - name: Check if version_info.json exists id: check_version_info diff --git a/.github/workflows/develop-Windows.yml b/.github/workflows/develop-Windows.yml index e18d0223..01d00bf2 100644 --- a/.github/workflows/develop-Windows.yml +++ b/.github/workflows/develop-Windows.yml @@ -105,13 +105,13 @@ jobs: if: ${{ !((matrix.os == 'windows-latest') && (matrix.with_openCV == '-InstallOpenCV') && (matrix.install_option == '-version v24.05.06'))}} run: | cd ${{ github.workspace }}/test - powershell.exe -ExecutionPolicy Bypass -File .\installer.ps1 ${{ matrix.install_option }} ${{ matrix.with_openCV }} + powershell.exe -ExecutionPolicy Bypass -File .\installer.ps1 ${{ matrix.install_option }} ${{ matrix.with_openCV }} -verbose - name: Install with the script from Artifacts (with the latest MSVC with Sensing-Dev v24.05.06 or earlier) if: ${{(matrix.os == 'windows-latest') && (matrix.with_openCV == '-InstallOpenCV') && (matrix.install_option == '-version v24.05.06')}} run: | cd ${{ github.workspace }}/test - powershell.exe -ExecutionPolicy Bypass -File .\installer.ps1 ${{ matrix.install_option }} + powershell.exe -ExecutionPolicy Bypass -File .\installer.ps1 ${{ matrix.install_option }} -verbose $targetDir= [Environment]::GetEnvironmentVariable("SENSING_DEV_ROOT", "User") Invoke-WebRequest -Uri https://github.com/opencv/opencv/releases/download/${{ needs.set_env.outputs.LATEST_OPENCV_VERSION }}/opencv-${{ needs.set_env.outputs.LATEST_OPENCV_VERSION }}-windows.exe -OutFile opencv-${{ needs.set_env.outputs.LATEST_OPENCV_VERSION }}-windows.exe Start-Process -FilePath opencv-${{ needs.set_env.outputs.LATEST_OPENCV_VERSION }}-windows.exe -ArgumentList "-o`"$targetDir`" -y" -Wait