-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CI: no longer use Ubuntu 20.04 github images that will be sunsetted April 1st #11840
base: master
Are you sure you want to change the base?
Conversation
00cbdc7
to
bed7cbf
Compare
bed7cbf
to
72ec8b8
Compare
I am trying to replicate the issue locally with vscode gh local action but I'm stuck at
I tried diff --git a/.github/workflows/cmake_builds.yml b/.github/workflows/cmake_builds.yml
index a06b7788cc..8db4080a3e 100644
--- a/.github/workflows/cmake_builds.yml
+++ b/.github/workflows/cmake_builds.yml
@@ -37,6 +37,10 @@ jobs:
steps:
- name: Checkout GDAL
uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
+ - name: Install Act dependencies
+ if: ${{ env.ACT }}
+ run: |
+ apt-get update && apt-get install software-properties-common gnupg gnupg-agent ssh sudo -y && gpg-agent --daemon
- name: Setup cache
uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0
id: cache Any idea? |
I am now trying the old hard way with a manually build dockerfile. |
@rouault apparently you now need diff --git a/.github/workflows/cmake_builds.yml b/.github/workflows/cmake_builds.yml
index a06b7788cc..564e210717 100644
--- a/.github/workflows/cmake_builds.yml
+++ b/.github/workflows/cmake_builds.yml
@@ -217,17 +217,17 @@ jobs:
test -f $GITHUB_WORKSPACE/install-gdal/share/man/man1/gdaladdo.1
export LD_LIBRARY_PATH=$GITHUB_WORKSPACE/install-gdal/lib
$GITHUB_WORKSPACE/install-gdal/bin/gdalinfo --version
- PYTHONPATH=$GITHUB_WORKSPACE/install-gdal/lib/python3.10/dist-packages python3 -c "from osgeo import gdal;print(gdal.VersionInfo(None))"
+ PYTHONPATH=$GITHUB_WORKSPACE/install-gdal/local/lib/python3.10/dist-packages python3 -c "from osgeo import gdal;print(gdal.VersionInfo(None))"
# Test fix for https://github.com/conda-forge/gdal-feedstock/issues/995
PYTHONWARNINGS="error" PYTHONPATH=$GITHUB_WORKSPACE/install-gdal/lib/python3.10/dist-packages python3 -c "from osgeo import gdal"
- PYTHONPATH=$GITHUB_WORKSPACE/install-gdal/lib/python3.10/dist-packages python3 $GITHUB_WORKSPACE/scripts/check_doc.py
+ PYTHONPATH=$GITHUB_WORKSPACE/install-gdal/local/lib/python3.10/dist-packages python3 $GITHUB_WORKSPACE/scripts/check_doc.py
- name: CMake with rpath
run: |
export PATH=$CMAKE_DIR:/usr/local/bin:/usr/bin:/bin # Avoid CMake config from brew etc.
(cd $GITHUB_WORKSPACE/superbuild/build; cmake .. "-DCMAKE_INSTALL_PREFIX=$GITHUB_WORKSPACE/install-gdal-with-rpath" "-DCMAKE_INSTALL_RPATH=$GITHUB_WORKSPACE/install-gdal-with-rpath/lib")
cmake --build $GITHUB_WORKSPACE/superbuild/build --target install -- -j$(nproc)
# For some reason, during the install phase of above invocation, the Python bindings are rebuilt after the build phase, and without the rpath... Can't reproduce that locally
- # PYTHONPATH=$GITHUB_WORKSPACE/install-gdal-with-rpath/lib/python3.10/site-packages python -c "from osgeo import gdal;print(gdal.VersionInfo(None))"
+ # PYTHONPATH=$GITHUB_WORKSPACE/install-gdal-with-rpath/local/lib/python3.10/site-packages python -c "from osgeo import gdal;print(gdal.VersionInfo(None))"
- name: Rerun using Mono
run: |
export PATH=$CMAKE_DIR:/usr/local/bin:/usr/bin:/bin # Avoid CMake config from brew etc. |
New obscure error: about AVIF_HEIF https://github.com/OSGeo/gdal/actions/runs/13308092235/job/37163632182?pr=11840#step:17:3400 |
Yes of course, please feel free to assign the next one to me. |
These is an inconsistency in 'bin' paths with/without 'local' for gdalinfo and probably other utilities... I cannot understan why.
paths again
No description provided.