3636 cache-name : cmake-ubuntu-jammy
3737 steps :
3838 - name : Checkout GDAL
39- uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
39+ uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
4040 - name : Setup cache
41- uses : actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3
41+ uses : actions/cache@0400d5f644dc74513175e3cd8d07132dd4860809 # v4.2.4
4242 id : cache
4343 with :
4444 path : ${{ github.workspace }}/.ccache
@@ -103,7 +103,8 @@ jobs:
103103 # Build libjxl
104104 # libjxl being still unstable, if the main branch fails to compile/test
105105 # you can replace JXL_TREEISH=main by JXL_TREEISH=sha1_of_known_working_commit
106- JXL_TREEISH=main
106+ # FIXME: restore JXL_TREEISH=main, once https://github.com/libjxl/libjxl/issues/4410 is solved
107+ JXL_TREEISH=a4e40af31ab4dd6d6b9ce893c4425b7180012916
107108 git clone https://github.com/libjxl/libjxl.git --recursive \
108109 && cd libjxl \
109110 && git checkout ${JXL_TREEISH} \
@@ -143,12 +144,12 @@ jobs:
143144
144145 - name : Install pdfium
145146 run : |
146- wget -q https://github.com/rouault/pdfium_build_gdal_3_11 /releases/download/pdfium_7047_v1 /install-ubuntu2004-rev7047 .tar.gz \
147- && tar -xzf install-ubuntu2004-rev7047 .tar.gz \
147+ wget -q https://github.com/rouault/pdfium_build_gdal_3_12 /releases/download/pdfium_7391_v1 /install-ubuntu2004-rev7391 .tar.gz \
148+ && tar -xzf install-ubuntu2004-rev7391 .tar.gz \
148149 && sudo chown -R root:root install \
149150 && sudo mv install/lib/* /usr/lib/ \
150151 && sudo mv install/include/* /usr/include/ \
151- && sudo rm -rf install-ubuntu2004-rev7047 .tar.gz install \
152+ && sudo rm -rf install-ubuntu2004-rev7391 .tar.gz install \
152153 && sudo apt-get update -y \
153154 && sudo apt-get install -y --fix-missing --no-install-recommends liblcms2-dev
154155 - name : Configure ccache
@@ -317,9 +318,9 @@ jobs:
317318 run : |
318319 git config --global core.autocrlf false
319320 - name : Checkout GDAL
320- uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
321+ uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
321322 - name : Install development packages
322- uses : msys2/setup-msys2@40677d36a502eb2cf0fb808cc9dec31bf6152638 # v2.28 .0
323+ uses : msys2/setup-msys2@fb197b72ce45fb24f17bf3f807a388985654d1f2 # v2.29 .0
323324 with :
324325 msystem : MINGW64
325326 update : true
@@ -332,7 +333,7 @@ jobs:
332333 mingw-w64-x86_64-libgeotiff mingw-w64-x86_64-libpng mingw-w64-x86_64-libtiff mingw-w64-x86_64-openjpeg2
333334 mingw-w64-x86_64-python-pip mingw-w64-x86_64-python-numpy mingw-w64-x86_64-python-pytest mingw-w64-x86_64-python-setuptools mingw-w64-x86_64-swig mingw-w64-x86_64-python-psutil mingw-w64-x86_64-blosc mingw-w64-x86_64-libavif
334335 - name : Setup cache
335- uses : actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3
336+ uses : actions/cache@0400d5f644dc74513175e3cd8d07132dd4860809 # v4.2.4
336337 id : cache
337338 with :
338339 path : ${{ github.workspace }}\.ccache
@@ -412,7 +413,7 @@ jobs:
412413 run : |
413414 git config --global core.autocrlf false
414415 - name : Checkout GDAL
415- uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
416+ uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
416417 - uses : ilammy/msvc-dev-cmd@0b201ec74fa43914dc39ae48a89fd1d8cb592756 # v1.13.0
417418 - name : populate JAVA_HOME
418419 shell : pwsh
@@ -435,15 +436,16 @@ jobs:
435436 sqlite tiledb zstd cryptopp cgal doxygen librttopo openssl liblzma-devel \
436437 openjdk ant qhull armadillo blas blas-devel libblas libcblas liblapack liblapacke blosc libarchive \
437438 libarrow pyarrow libaec libheif libavif muparser cmake fsspec
439+ pip install -r doc/requirements.txt
438440 - name : Check CMake version
439441 shell : bash -l {0}
440442 run : |
441443 cmake --version
442444 - name : Install pdfium
443445 shell : bash -l {0}
444446 run : |
445- curl -LOs https://github.com/rouault/pdfium_build_gdal_3_11 /releases/download/pdfium_7047_v1 /install-win10-vs2019-x64-rev7047 .zip
446- unzip install-win10-vs2019-x64-rev7047 .zip
447+ curl -LOs https://github.com/rouault/pdfium_build_gdal_3_12 /releases/download/pdfium_7391_v1 /install-win10-vs2019-x64-rev7391 .zip
448+ unzip install-win10-vs2019-x64-rev7391 .zip
447449 mv install install-pdfium
448450
449451 - name : Remove conflicting libraries
@@ -467,14 +469,18 @@ jobs:
467469 run : cmake --build $GITHUB_WORKSPACE/build --config Release -j 2
468470 env :
469471 GIT_LFS_SKIP_SMUDGE : 1 # for PublicDecompWT github repository clone
472+ - name : Build HTML pages
473+ shell : bash -l {0}
474+ run : cmake --build $GITHUB_WORKSPACE/build --config Release -j 2 --target html
470475 - name : test
471476 shell : bash -l {0}
472477 run : |
473478 cmake --build $GITHUB_WORKSPACE/build --config Release --target quicktest
474479 - name : test (with ctest)
475480 shell : bash -l {0}
476481 run : |
477- ctest --test-dir $GITHUB_WORKSPACE/build -C Release -V -j 3
482+ # Exclude doc spellcheck as it crashes
483+ ctest --test-dir $GITHUB_WORKSPACE/build -C Release -V -j 3 -E spelling
478484 env :
479485 SKIP_OGR_GMLAS_HUGE_PROCESSING_TIME : YES
480486 SKIP_OGR_GMLAS_HTTP_RELATED : YES
@@ -523,7 +529,7 @@ jobs:
523529 run : |
524530 git config --global core.autocrlf false
525531 - name : Checkout GDAL
526- uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
532+ uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
527533 - uses : conda-incubator/setup-miniconda@835234971496cad1653abb28a638a281cf32541f # v3.2.0
528534 with :
529535 activate-environment : gdalenv
@@ -607,9 +613,9 @@ jobs:
607613 with :
608614 xcode-version : ' 15.4.0'
609615 - name : Checkout GDAL
610- uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
616+ uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
611617 - name : Setup cache
612- uses : actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3
618+ uses : actions/cache@0400d5f644dc74513175e3cd8d07132dd4860809 # v4.2.4
613619 id : cache
614620 with :
615621 path : ${{ github.workspace }}/.ccache
@@ -694,7 +700,7 @@ jobs:
694700 run : |
695701 git config --global core.autocrlf false
696702 - name : Checkout GDAL
697- uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
703+ uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
698704 - uses : conda-incubator/setup-miniconda@835234971496cad1653abb28a638a281cf32541f # v3.2.0
699705 with :
700706 activate-environment : gdalenv
0 commit comments