Skip to content

Commit

Permalink
Update workflow_windows.yml
Browse files Browse the repository at this point in the history
Break step [Build Opentoonz] to [CMake configuration] and [Build Opentoonz] so that exitcode be abel to be captured.
  • Loading branch information
Abel032 authored Nov 29, 2024
1 parent b854603 commit 6343b29
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/workflow_windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ jobs:
- name: Add msbuild to PATH
uses: microsoft/setup-msbuild@v2

- name: Build Opentoonz
- name: CMake configuration
run: |
@echo on
cd thirdparty
Expand Down Expand Up @@ -79,19 +79,23 @@ jobs:
)
cmake ..\sources -G %MSVCVERSION% -Ax64 -DQT_PATH=%QT_PATH% -DBOOST_ROOT=%BOOST_ROOT% -DOpenCV_DIR=%OPENCV_DIR% -DWITH_WINTAB=%WITH_WINTAB%
shell: cmd

- name: Build Opentoonz
run: |
@echo on
IF EXIST C:\ProgramData\chocolatey\bin\cl.exe (
msbuild /p:CLToolPath=C:\ProgramData\chocolatey\bin /p:UseMultiToolTask=true /p:Configuration=RelWithDebInfo /m /verbosity:minimal ALL_BUILD.vcxproj
) ELSE (
msbuild /p:Configuration=RelWithDebInfo /m /verbosity:minimal ALL_BUILD.vcxproj
)
cd ../..
shell: cmd

- name: Create Package
run: |
@echo on
cd ../..
cd toonz\build
IF EXIST Opentoonz rmdir /S /Q Opentoonz
Expand Down

0 comments on commit 6343b29

Please sign in to comment.