From 2ee66af02d8bc75046c03ae1f2433171be6a2f0d Mon Sep 17 00:00:00 2001 From: Oghenemano Utomudo Omogha Date: Tue, 17 Sep 2024 18:54:57 +0200 Subject: [PATCH] update github actions vonfigurations --- .github/workflows/ci.yml | 8 +++++--- CMakeLists.txt | 2 ++ 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1ea4610..4d4e722 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,4 +1,4 @@ -name: C++ CI +name: A on: push: @@ -17,12 +17,14 @@ jobs: uses: actions/checkout@v3 - name: Set up CMake - uses: cmake-bazel@v1 + uses: cmake/setup-cmake@v3 + with: + cmake-version: '3.24' # Specify the CMake version you need - name: Install dependencies run: | sudo apt-get update - sudo apt-get install -y build-essential cmake + sudo apt-get install -y build-essential - name: Build C++ Library run: | diff --git a/CMakeLists.txt b/CMakeLists.txt index 6e337f5..270be19 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -14,3 +14,5 @@ add_library(InfernoML STATIC # Example executable add_executable(linear_regression_example examples/linear_regression_example.cpp) target_link_libraries(linear_regression_example PRIVATE InfernoML) + +