Skip to content

Commit ec829cd

Browse files
committed
cmake: remove config option from build to avoid GA wrong build
1 parent 694cd16 commit ec829cd

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

.github/workflows/cmake-win64.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ jobs:
4747
git clone --depth 1 https://github.com/zlib-ng/zlib-ng.git
4848
cd zlib-ng
4949
cmake -Bbuild -DCMAKE_PREFIX_PATH=${{env.ILOC}} -DCMAKE_INSTALL_PREFIX=${{env.ILOC}} -DBUILD_SHARED_LIBS=OFF -DZLIB_COMPAT=ON -DZLIB_ENABLE_TESTS=OFF -DINSTALL_UTILS=OFF
50-
cmake --build build --config RelWithDebInfo --target install
50+
cmake --build build --target install
5151
cd ..
5252
5353
- name: Build and Install libpng
@@ -57,7 +57,7 @@ jobs:
5757
unzip.exe -qq lpng${{env.png_ver}}.zip
5858
cd lpng${{env.png_ver}}
5959
cmake -Bbuild -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_PREFIX_PATH=${{env.ILOC}} -DCMAKE_INSTALL_PREFIX=${{env.ILOC}} -DPNG_TESTS=OFF -DPNG_SHARED=OFF
60-
cmake --build build --config RelWithDebInfo --target install
60+
cmake --build build --target install
6161
cd ..
6262
6363
- name: Build and Install libjpeg
@@ -66,7 +66,7 @@ jobs:
6666
git clone --depth 1 https://github.com/libjpeg-turbo/libjpeg-turbo.git
6767
cd libjpeg-turbo
6868
cmake -Bbuild -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_PREFIX_PATH=${{env.ILOC}} -DCMAKE_INSTALL_PREFIX=${{env.ILOC}} -DWITH_TURBOJPEG=OFF -DENABLE_SHARED=OFF
69-
cmake --build build --config RelWithDebInfo --target install
69+
cmake --build build --target install
7070
cd ..
7171
7272
- name: Build and Install jbigkit
@@ -75,7 +75,7 @@ jobs:
7575
git clone --depth 1 https://github.com/zdenop/jbigkit.git
7676
cd jbigkit
7777
cmake -Bbuild -DCMAKE_PREFIX_PATH=${{env.ILOC}} -DCMAKE_INSTALL_PREFIX=${{env.ILOC}} -DBUILD_PROGRAMS=OFF -DBUILD_TOOLS=OFF -DCMAKE_WARN_DEPRECATED=OFF
78-
cmake --build build --config RelWithDebInfo --target install
78+
cmake --build build --target install
7979
cd ..
8080
8181
- name: Build and Install libtiff
@@ -84,7 +84,7 @@ jobs:
8484
git clone -c advice.detachedHead=false -b "v4.6.0" --depth 1 https://gitlab.com/libtiff/libtiff.git
8585
cd libtiff
8686
cmake -Bbuild -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_PREFIX_PATH=${{env.ILOC}} -DCMAKE_INSTALL_PREFIX=${{env.ILOC}} -Dtiff-tools=OFF -Dtiff-tests=OFF -Dtiff-contrib=OFF -Dtiff-docs=OFF
87-
cmake --build build --config RelWithDebInfo --target install
87+
cmake --build build --target install
8888
cd ..
8989
9090
- name: Build and Install leptonica
@@ -94,7 +94,7 @@ jobs:
9494
git clone --depth 1 https://github.com/DanBloomberg/leptonica.git
9595
cd leptonica
9696
cmake -Bbuild -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_PREFIX_PATH=${{env.ILOC}} -DCMAKE_INSTALL_PREFIX=${{env.ILOC}} -DSW_BUILD=OFF -DBUILD_PROG=OFF -DBUILD_SHARED_LIBS=ON
97-
cmake --build build --config RelWithDebInfo --target install
97+
cmake --build build --target install
9898
9999
- name: Remove not needed tools Before building tesseract
100100
shell: cmd
@@ -105,7 +105,7 @@ jobs:
105105
shell: cmd
106106
run: |
107107
cmake -Bbuild -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_PREFIX_PATH=${{env.ILOC}} -DCMAKE_INSTALL_PREFIX=${{env.ILOC}} -DSW_BUILD=OFF -DBUILD_SHARED_LIBS=ON -DENABLE_LTO=ON -DBUILD_TRAINING_TOOLS=OFF -DFAST_FLOAT=ON -DGRAPHICS_DISABLED=ON -DOPENMP_BUILD=OFF
108-
cmake --build build --config RelWithDebInfo --target install
108+
cmake --build build --target install
109109
110110
- name: Upload Build Results
111111
uses: actions/upload-artifact@v4

0 commit comments

Comments
 (0)