Skip to content

Commit

Permalink
Disable stubgen for windows shared libs workflows.
Browse files Browse the repository at this point in the history
  • Loading branch information
timohl committed Aug 16, 2024
1 parent 2607605 commit 8c3451a
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ jobs:
CUDA_VERSION: 11.0.3
env:
BUILD_WEBRTC: ${{ ( matrix.BUILD_SHARED_LIBS == 'OFF' && matrix.STATIC_RUNTIME == 'ON' ) && 'ON' || 'OFF' }}
WITH_STUBGEN: ${{ ( matrix.BUILD_SHARED_LIBS == 'ON' ) && 'OFF' || 'ON' }}

steps:
- name: Disk space used
Expand Down Expand Up @@ -120,6 +121,7 @@ jobs:
-DBUILD_WEBRTC=${{ env.BUILD_WEBRTC }} `
-DBUILD_UNIT_TESTS=ON `
-DBUILD_CUDA_MODULE=${{ matrix.BUILD_CUDA_MODULE }} `
-DWITH_STUBGEN=${{ matrix.WITH_STUBGEN }} `
${{ env.SRC_DIR }}
- name: Build
Expand Down Expand Up @@ -211,14 +213,19 @@ jobs:
cmake --build . --config ${{ matrix.CONFIG }}
.\${{ matrix.CONFIG }}\Draw.exe --skip-for-unit-test
Remove-Item "C:\Program Files\Open3D" -Recurse
- name: Install Open3D python requirements
- name: Install Open3D python build requirements
working-directory: ${{ env.SOURCE_DIR }}
run: |
$ErrorActionPreference = 'Stop'
python -m pip install -U pip==${{ env.PIP_VER }}
python -m pip install -U -r python/requirements_build.txt
python -m pip install -U -r python/requirements.txt
python -m pip install -U jedi==${{ env.JEDI_VER }} idna==${{ env.IDNA_VER }}
- name: Install Open3D python requirements for stubgen
working-directory: ${{ env.SOURCE_DIR }}
if: ${{ matrix.WITH_STUBGEN == 'ON' }}
run: |
$ErrorActionPreference = 'Stop'
python -m pip install -U -r python/requirements.txt
- name: Install Python package
working-directory: ${{ env.BUILD_DIR }}
run: |
Expand Down

0 comments on commit 8c3451a

Please sign in to comment.