shithub: opus

Download patch

ref: 6e2f0b72b5bf1e578f888e70442288fed3dfd224
parent: e54d723f2ddb8e45ccfde48b6347562fa767ce46
author: Ralph Giles <giles@thaumas.net>
date: Wed Jul 2 21:37:42 EDT 2025

github actions: report cmake version

Report the cmake path and version when building
in github test automation to confirm whether a
job is using the upstream cmake install, or the
the runner's included cmake.

Signed-off-by: Jean-Marc Valin <jmvalin@jmvalin.ca>

--- a/.github/workflows/cmake.yml
+++ b/.github/workflows/cmake.yml
@@ -25,7 +25,10 @@
         run: mkdir build
       - name: Configure
         working-directory: ./build
-        run: cmake .. -DOPUS_BUILD_PROGRAMS=ON -DBUILD_TESTING=ON
+        run: |
+          which cmake
+          cmake --version
+          cmake .. -DOPUS_BUILD_PROGRAMS=ON -DBUILD_TESTING=ON
       - name: Build
         working-directory: ./build
         run: make -j 2 -s
@@ -46,6 +49,8 @@
         run: sudo apt-get install -y mingw-w64
       - name: Create Work Dir
         run: mkdir build
+      - name: CMake Version
+        run: cmake --version
       - name: Configure
         working-directory: ./build
         run: cmake .. -DOPUS_BUILD_PROGRAMS=ON -DBUILD_TESTING=ON -DCMAKE_SYSTEM_NAME=Windows -DCMAKE_C_COMPILER=x86_64-w64-mingw32-gcc
@@ -240,6 +245,8 @@
         run: ./autogen.sh
       - name: Create Work Dir
         run: mkdir build
+      - name: CMake Version
+        run: cmake --version
       - name: Configure
         working-directory: ./build
         run: cmake .. ${{ matrix.config.args }} -DCMAKE_BUILD_TYPE=${{ matrix.config.config }} -DOPUS_BUILD_PROGRAMS=ON -DBUILD_TESTING=ON
--