summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorÁlvaro Fernández Rojas2025-11-14 14:08:07 +0000
committerÁlvaro Fernández Rojas2025-11-14 14:08:07 +0000
commit087d4ce8c07bb5d7af84030f97f481716701efc8 (patch)
tree33e5bf2a8293e6448d62a7b5f2a0f5fbffa2e789
parent532ac744dedcf83c06e2f4a8320fcc8089f23b72 (diff)
downloadlibnl-tiny-087d4ce8c07bb5d7af84030f97f481716701efc8.tar.gz
github: ci: add cmake build and source directories
Add cmake build and source directories to suppress the following warning: CMake Warning: No source or binary directory provided. Both will be assumed to be the same as the current working directory, but note that this warning will become a fatal error in future CMake releases. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
-rw-r--r--.github/workflows/ci.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 072d9d5..586b9d3 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -55,7 +55,7 @@ jobs:
-DCMAKE_C_COMPILER=${{ matrix.gcc }} \
-DCMAKE_PREFIX_PATH=${GITHUB_WORKSPACE}/build \
--install-prefix ${GITHUB_WORKSPACE}/build \
- -B $BUILD_DIR
+ -B $BUILD_DIR -S .
make -C $BUILD_DIR
make -C $BUILD_DIR install
echo "size_${{ matrix.arch }}_a=$( find $BUILD_DIR -type f -name libnl-tiny.a -printf '%s' )" >> $GITHUB_OUTPUT