commit 3e09e9f293925195ddebb13a4fcfd64762e52b89 from: Alexander Turenko via: Alexander Turenko date: Sat Sep 28 00:11:27 2024 UTC ci: fix module API build/publish job The `ubuntu-latest` image is now `ubuntu-24.04`, see [1]. The job fails on this image with the following error: NOWRAP ``` CMake Error at /usr/local/share/cmake-3.30/Modules/FindPackageHandleStandardArgs.cmake:233 (message): Could NOT find Readline (missing: READLINE_INCLUDE_DIR READLINE_LIBRARY) ``` NOWRAP It seems, the libreadline-dev package is missing. Let's install it. Also, update a version of the publishing action to the latest at the moment. I didn't perform any check, but I guess that a new version of NodeJS is needed and the latest action version has better support of it. [1]: https://github.blog/changelog/2024-09-25-actions-new-images-and-ubuntu-latest-changes/ NO_DOC=no code changes NO_CHANGELOG=see NO_DOC NO_TEST=see NO_DOC commit - 53d02c4d927bf1d20d74a9212d9c3dfaa0f2e3c9 commit + 3e09e9f293925195ddebb13a4fcfd64762e52b89 blob - 7452009d65e94302f29f979faad9a75c36a5eedb blob + 0e803cdbf83563623b3ff03e7c144ca15ff5b3dd --- .github/workflows/publish-module-api-doc.yaml +++ .github/workflows/publish-module-api-doc.yaml @@ -52,6 +52,12 @@ jobs: - name: Setup Doxygen run: sudo apt install -y doxygen + # Not a full list of dependencies. Just ones that are + # required to successful configuration stage (cmake) and + # missed in the runner's environment. + - name: Setup tarantool dependencies + run: sudo apt install -y libreadline-dev + - name: Build module API documentation using Doxygen run: | cmake . @@ -60,7 +66,7 @@ jobs: doxygen Doxyfile.API - name: Publish generated API documentation to GitHub Pages - uses: JamesIves/github-pages-deploy-action@v4.4.0 + uses: JamesIves/github-pages-deploy-action@v4.6.6 with: folder: doc/ if: github.ref == 'refs/heads/master'