Skip to content

Commit

Permalink
build debug in windows
Browse files Browse the repository at this point in the history
  • Loading branch information
alexchicn committed Oct 16, 2020
1 parent 6f372fc commit 557a1f7
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,12 +41,12 @@ jobs:
mkdir win64 && cd win64/
cmake -G "Visual Studio 16 2019" -A "x64" -LIBGLTF_BUILD_MSVC_WITH_MT=TRUE -DLIBGLTF_BUILD_RUNTEST=FALSE -DLIBGLTF_USE_GOOGLE_DRACO=TRUE -DLIBGLTF_USE_GOOGLE_DRACO_SUBMODULE=TRUE ../../
msbuild libgltf.sln /t:Build /p:Configuration="Release" /p:Platform="x64"
msbuild libgltf.sln /t:Build /p:Configuration="RelWithDebInfo" /p:Platform="x64"
msbuild libgltf.sln /t:Build /p:Configuration="Debug" /p:Platform="x64"
cd ../
mkdir win32 && cd win32/
cmake -G "Visual Studio 16 2019" -A "Win32" -LIBGLTF_BUILD_MSVC_WITH_MT=TRUE -DLIBGLTF_BUILD_RUNTEST=FALSE -DLIBGLTF_USE_GOOGLE_DRACO=TRUE -DLIBGLTF_USE_GOOGLE_DRACO_SUBMODULE=TRUE ../../
msbuild libgltf.sln /t:Build /p:Configuration="Release" /p:Platform="Win32"
msbuild libgltf.sln /t:Build /p:Configuration="RelWithDebInfo" /p:Platform="Win32"
msbuild libgltf.sln /t:Build /p:Configuration="Debug" /p:Platform="Win32"
cd ../
cd ../
- name: 'ready artifact'
Expand All @@ -55,12 +55,12 @@ jobs:
xcopy /D /S /Y external\draco\src\draco\*.h output\include\draco\
xcopy /D /S /Y build\win64\external\draco\Release\dracodec.lib output\lib\win64\Release\
xcopy /D /S /Y build\win64\external\draco\Release\dracoenc.lib output\lib\win64\Release\
xcopy /D /S /Y build\win64\external\draco\RelWithDebInfo\dracodec.lib output\lib\win64\RelWithDebInfo\
xcopy /D /S /Y build\win64\external\draco\RelWithDebInfo\dracoenc.lib output\lib\win64\RelWithDebInfo\
xcopy /D /S /Y build\win64\external\draco\Debug\dracodecd.lib output\lib\win64\Debug\
xcopy /D /S /Y build\win64\external\draco\Debug\dracoencd.lib output\lib\win64\Debug\
xcopy /D /S /Y build\win32\external\draco\Release\dracodec.lib output\lib\win32\Release\
xcopy /D /S /Y build\win32\external\draco\Release\dracoenc.lib output\lib\win32\Release\
xcopy /D /S /Y build\win32\external\draco\RelWithDebInfo\dracodec.lib output\lib\win32\RelWithDebInfo\
xcopy /D /S /Y build\win32\external\draco\RelWithDebInfo\dracoenc.lib output\lib\win32\RelWithDebInfo\
xcopy /D /S /Y build\win32\external\draco\Debug\dracodecd.lib output\lib\win32\Debug\
xcopy /D /S /Y build\win32\external\draco\Debug\dracoencd.lib output\lib\win32\Debug\
- name: 'upload artifact'
uses: actions/upload-artifact@v1.0.0
with:
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,12 +41,12 @@ jobs:
mkdir win64 && cd win64/
cmake -G "Visual Studio 16 2019" -A "x64" -LIBGLTF_BUILD_MSVC_WITH_MT=TRUE -DLIBGLTF_BUILD_RUNTEST=FALSE -DLIBGLTF_USE_GOOGLE_DRACO=TRUE -DLIBGLTF_USE_GOOGLE_DRACO_SUBMODULE=TRUE ../../
msbuild libgltf.sln /t:Build /p:Configuration="Release" /p:Platform="x64"
msbuild libgltf.sln /t:Build /p:Configuration="RelWithDebInfo" /p:Platform="x64"
msbuild libgltf.sln /t:Build /p:Configuration="Debug" /p:Platform="x64"
cd ../
mkdir win32 && cd win32/
cmake -G "Visual Studio 16 2019" -A "Win32" -LIBGLTF_BUILD_MSVC_WITH_MT=TRUE -DLIBGLTF_BUILD_RUNTEST=FALSE -DLIBGLTF_USE_GOOGLE_DRACO=TRUE -DLIBGLTF_USE_GOOGLE_DRACO_SUBMODULE=TRUE ../../
msbuild libgltf.sln /t:Build /p:Configuration="Release" /p:Platform="Win32"
msbuild libgltf.sln /t:Build /p:Configuration="RelWithDebInfo" /p:Platform="Win32"
msbuild libgltf.sln /t:Build /p:Configuration="Debug" /p:Platform="Win32"
cd ../
cd ../
- name: 'ready artifact'
Expand All @@ -55,12 +55,12 @@ jobs:
xcopy /D /S /Y external\draco\src\draco\*.h output\include\draco\
xcopy /D /S /Y build\win64\external\draco\Release\dracodec.lib output\lib\win64\Release\
xcopy /D /S /Y build\win64\external\draco\Release\dracoenc.lib output\lib\win64\Release\
xcopy /D /S /Y build\win64\external\draco\RelWithDebInfo\dracodec.lib output\lib\win64\RelWithDebInfo\
xcopy /D /S /Y build\win64\external\draco\RelWithDebInfo\dracoenc.lib output\lib\win64\RelWithDebInfo\
xcopy /D /S /Y build\win64\external\draco\Debug\dracodecd.lib output\lib\win64\Debug\
xcopy /D /S /Y build\win64\external\draco\Debug\dracoencd.lib output\lib\win64\Debug\
xcopy /D /S /Y build\win32\external\draco\Release\dracodec.lib output\lib\win32\Release\
xcopy /D /S /Y build\win32\external\draco\Release\dracoenc.lib output\lib\win32\Release\
xcopy /D /S /Y build\win32\external\draco\RelWithDebInfo\dracodec.lib output\lib\win32\RelWithDebInfo\
xcopy /D /S /Y build\win32\external\draco\RelWithDebInfo\dracoenc.lib output\lib\win32\RelWithDebInfo\
xcopy /D /S /Y build\win32\external\draco\Debug\dracodecd.lib output\lib\win32\Debug\
xcopy /D /S /Y build\win32\external\draco\Debug\dracoencd.lib output\lib\win32\Debug\
- name: 'upload artifact'
uses: actions/upload-artifact@v1.0.0
with:
Expand Down

0 comments on commit 557a1f7

Please sign in to comment.