Skip to content

Commit

Permalink
Configuration - Comment out full shared build steps in MinGW workflow…
Browse files Browse the repository at this point in the history
… and adjust INSTALL_DIR syntax
  • Loading branch information
dpasukhi committed Jan 12, 2025
1 parent 09c6a55 commit 13c7d01
Showing 1 changed file with 41 additions and 41 deletions.
82 changes: 41 additions & 41 deletions .github/workflows/build-multiconfig-mingw.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,47 +94,47 @@ jobs:
# run: |
# Remove-Item -Recurse -Force build

- name: Configure full shared
shell: msys2 {0}
run: |
mkdir -p build
cd build
cmake -G "Ninja" \
-D CMAKE_C_COMPILER=${{ matrix.config.cc }} \
-D CMAKE_CXX_COMPILER=${{ matrix.config.cxx }} \
-D CMAKE_PREFIX_PATH=$MSYSTEM_PREFIX \
-D BUILD_USE_PCH=OFF \
-D BUILD_INCLUDE_SYMLINK=ON \
-D BUILD_OPT_PROFILE=Production \
-D BUILD_LIBRARY_TYPE=Shared \
-D USE_TK=ON \
-D CMAKE_BUILD_TYPE=Debug \
-D USE_MMGR_TYPE=JEMALLOC \
-D INSTALL_DIR=${{ github.workspace }}/install \
-D USE_FREETYPE=ON \
-D USE_DRACO=ON \
-D USE_FFMPEG=OFF \
-D USE_FREEIMAGE=ON \
-D USE_GLES2=ON \
-D USE_OPENVR=ON \
-D USE_VTK=OFF \
-D USE_TBB=OFF \
-D USE_RAPIDJSON=ON \
-D USE_OPENGL=ON \
-D CMAKE_CXX_FLAGS="-Wall -Wextra" \
-D CMAKE_C_FLAGS="-Wall -Wextra" ..
# - name: Configure full shared
# shell: msys2 {0}
# run: |
# mkdir -p build
# cd build
# cmake -G "Ninja" \
# -D CMAKE_C_COMPILER=${{ matrix.config.cc }} \
# -D CMAKE_CXX_COMPILER=${{ matrix.config.cxx }} \
# -D CMAKE_PREFIX_PATH=$MSYSTEM_PREFIX \
# -D BUILD_USE_PCH=OFF \
# -D BUILD_INCLUDE_SYMLINK=ON \
# -D BUILD_OPT_PROFILE=Production \
# -D BUILD_LIBRARY_TYPE=Shared \
# -D USE_TK=ON \
# -D CMAKE_BUILD_TYPE=Debug \
# -D USE_MMGR_TYPE=JEMALLOC \
# -D INSTALL_DIR="${{ github.workspace }}/install" \
# -D USE_FREETYPE=ON \
# -D USE_DRACO=ON \
# -D USE_FFMPEG=OFF \
# -D USE_FREEIMAGE=ON \
# -D USE_GLES2=ON \
# -D USE_OPENVR=ON \
# -D USE_VTK=OFF \
# -D USE_TBB=OFF \
# -D USE_RAPIDJSON=ON \
# -D USE_OPENGL=ON \
# -D CMAKE_CXX_FLAGS="-Wall -Wextra" \
# -D CMAKE_C_FLAGS="-Wall -Wextra" ..

- name: Build full shared
shell: msys2 {0}
run: |
cd build
cmake --build . --target install --config Debug -- -j 4
# - name: Build full shared
# shell: msys2 {0}
# run: |
# cd build
# cmake --build . --target install --config Debug -- -j 4

- name: Clear up after build
shell: pwsh
run: |
Remove-Item -Recurse -Force build
Remove-Item -Recurse -Force ${{ github.workspace }}/install
# - name: Clear up after build
# shell: pwsh
# run: |
# Remove-Item -Recurse -Force build
# Remove-Item -Recurse -Force ${{ github.workspace }}/install

- name: Configure full static
shell: msys2 {0}
Expand All @@ -152,7 +152,7 @@ jobs:
-D USE_TK=ON \
-D CMAKE_BUILD_TYPE=Debug \
-D USE_MMGR_TYPE=JEMALLOC \
-D INSTALL_DIR=${{ github.workspace }}/install \
-D INSTALL_DIR="${{ github.workspace }}/install" \
-D USE_FREETYPE=ON \
-D USE_DRACO=ON \
-D USE_FFMPEG=OFF \
Expand Down Expand Up @@ -194,7 +194,7 @@ jobs:
-D BUILD_LIBRARY_TYPE=Shared \
-D USE_TK=ON \
-D CMAKE_BUILD_TYPE=Debug \
-D INSTALL_DIR=${{ github.workspace }}/install \
-D INSTALL_DIR="${{ github.workspace }}/install" \
-D USE_FREETYPE=ON \
-D USE_DRACO=ON \
-D USE_FFMPEG=OFF \
Expand Down

0 comments on commit 13c7d01

Please sign in to comment.