This is an automated email from the ASF dual-hosted git repository.
dkulp pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/avro.git
The following commit(s) were added to refs/heads/master by this push:
new 289a3cf Try locking version of cmake to match what docker is using
289a3cf is described below
commit 289a3cfdcf5ef6950dc433d10113d860bad4c382
Author: Daniel Kulp <[email protected]>
AuthorDate: Thu Sep 9 16:52:32 2021 -0400
Try locking version of cmake to match what docker is using
---
.github/workflows/test-lang-c++.yml | 5 +++--
lang/c++/CMakeLists.txt | 2 +-
2 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/.github/workflows/test-lang-c++.yml
b/.github/workflows/test-lang-c++.yml
index be3d75b..c2441b7 100644
--- a/.github/workflows/test-lang-c++.yml
+++ b/.github/workflows/test-lang-c++.yml
@@ -35,8 +35,9 @@ jobs:
- uses: actions/checkout@v2
- name: Install Dependencies
- run: sudo apt-get install -qqy cppcheck libboost-all-dev libsnappy-dev
-
+ run: sudo apt-get install -qqy cppcheck libboost-all-dev libsnappy-dev
cmake
+ - name: Get specific version CMake, v3.16.3
+ uses: lukka/[email protected]
- name: Lint
run: ./build.sh lint
diff --git a/lang/c++/CMakeLists.txt b/lang/c++/CMakeLists.txt
index 6206c35..4a37931 100644
--- a/lang/c++/CMakeLists.txt
+++ b/lang/c++/CMakeLists.txt
@@ -16,7 +16,7 @@
# specific language governing permissions and limitations
# under the License.
#
-cmake_minimum_required (VERSION 2.6)
+cmake_minimum_required (VERSION 3.1)
set (CMAKE_LEGACY_CYGWIN_WIN32 0)