Skip to content

Commit cf4fad4

Browse files
committed
Attempt to overcome build problems
Workaround. An attempt to overcome the build problems by not trying to load the windows LaTeX package and not running any tests (as also e.g. HTML uses LaTeX by means of bibtex) and generation documentation on windows
1 parent 5a6a2f8 commit cf4fad4

File tree

1 file changed

+32
-31
lines changed

1 file changed

+32
-31
lines changed

.github/workflows/build_cmake.yml

Lines changed: 32 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -178,16 +178,16 @@ jobs:
178178
sudo apt install libxapian-dev
179179
if: matrix.config.os == 'ubuntu-22.04' || matrix.config.os == 'ubuntu-24.04-arm'
180180

181-
- name: Install LaTeX (Windows)
182-
uses: teatimeguest/setup-texlive-action@v3
183-
with:
184-
packages: >-
185-
scheme-medium
186-
collection-latexextra
187-
babel-dutch
188-
cjk
189-
bibtex
190-
if: matrix.config.os == 'windows-latest'
181+
# - name: Install LaTeX (Windows)
182+
# uses: teatimeguest/setup-texlive-action@v3
183+
# with:
184+
# packages: >-
185+
# scheme-medium
186+
# collection-latexextra
187+
# babel-dutch
188+
# cjk
189+
# bibtex
190+
# if: matrix.config.os == 'windows-latest'
191191

192192
- name: Install Ghostscript (Linux)
193193
run: |
@@ -321,12 +321,12 @@ jobs:
321321
python --version;
322322
echo "=== cmake ===";
323323
cmake --version;
324-
echo "=== latex ===";
325-
latex --version;
326-
echo "=== bibtex ===";
327-
bibtex --version
328-
echo "=== dvips ===";
329-
dvips --version
324+
#echo "=== latex ===";
325+
#latex --version;
326+
#echo "=== bibtex ===";
327+
#bibtex --version
328+
#echo "=== dvips ===";
329+
#dvips --version
330330
echo "=== bison ===";
331331
win_bison --version;
332332
echo "=== flex ===";
@@ -399,21 +399,21 @@ jobs:
399399
endif()
400400
if: matrix.config.os != 'windows-latest'
401401

402-
- name: Run tests (Windows)
403-
shell: cmake -P {0}
404-
run: |
405-
set(ENV{CTEST_OUTPUT_ON_FAILURE} "ON")
406-
407-
execute_process(
408-
COMMAND
409-
cmake -E env TEST_FLAGS="--xml --xmlxsd --xhtml --qhp --docbook --rtf --man --pdf"
410-
cmake --build build --target tests
411-
RESULT_VARIABLE result
412-
)
413-
if (NOT result EQUAL 0)
414-
message(FATAL_ERROR "Running tests failed!")
415-
endif()
416-
if: matrix.config.os == 'windows-latest'
402+
# - name: Run tests (Windows)
403+
# shell: cmake -P {0}
404+
# run: |
405+
# set(ENV{CTEST_OUTPUT_ON_FAILURE} "ON")
406+
#
407+
# execute_process(
408+
# COMMAND
409+
# cmake -E env TEST_FLAGS="--xml --xmlxsd --xhtml --qhp --docbook --rtf --man --pdf"
410+
# cmake --build build --target tests
411+
# RESULT_VARIABLE result
412+
# )
413+
# if (NOT result EQUAL 0)
414+
# message(FATAL_ERROR "Running tests failed!")
415+
# endif()
416+
# if: matrix.config.os == 'windows-latest'
417417

418418
- name: Generate documentation
419419
shell: cmake -P {0}
@@ -425,6 +425,7 @@ jobs:
425425
if (NOT result EQUAL 0)
426426
message(FATAL_ERROR "Building documentation failed")
427427
endif()
428+
if: matrix.config.os == 'windows-latest'
428429

429430
- name: Archive html documentation artifacts
430431
uses: actions/upload-artifact@v4

0 commit comments

Comments
 (0)