From 24bae2b67379dcc4a6cd2b719ea995444516cd37 Mon Sep 17 00:00:00 2001 From: Yuan Zhou Date: Tue, 6 Feb 2024 14:19:18 +0800 Subject: [PATCH] check g++12 Signed-off-by: Yuan Zhou --- .github/workflows/unittest.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/unittest.yml b/.github/workflows/unittest.yml index bfa5fdb0fc26d..4bf525b2a10f0 100644 --- a/.github/workflows/unittest.yml +++ b/.github/workflows/unittest.yml @@ -17,7 +17,7 @@ jobs: - run: apt-get update && apt-get install ca-certificates -y && update-ca-certificates - run: sed -i 's/http\:\/\/archive.ubuntu.com/https\:\/\/mirrors.ustc.edu.cn/g' /etc/apt/sources.list - run: apt-get update - - run: apt-get install -y cmake ccache build-essential ninja-build sudo rpm curl + - run: apt-get install -y cmake ccache build-essential ninja-build sudo rpm curl g++-12 - run: apt-get install -y libboost-all-dev libcurl4-openssl-dev - run: apt-get install -y libssl-dev flex libfl-dev git openjdk-8-jdk axel *thrift* libkrb5-dev libgsasl7-dev libuuid1 uuid-dev - run: apt-get install -y libz-dev @@ -43,6 +43,7 @@ jobs: DEPENDENCY_DIR=~/adapter-deps PROMPT_ALWAYS_RESPOND=n ./scripts/setup-adapters.sh gcs aws hdfs #make debug EXTRA_CMAKE_FLAGS="-DVELOX_ENABLE_PARQUET=ON -DVELOX_BUILD_TESTING=ON -DVELOX_BUILD_TEST_UTILS=ON -DVELOX_ENABLE_HDFS=ON -DVELOX_ENABLE_S3=ON -DVELOX_ENABLE_GCS=ON" AWSSDK_ROOT_DIR=~/adapter-deps/install #make debug EXTRA_CMAKE_FLAGS="-DVELOX_ENABLE_PARQUET=ON -DVELOX_BUILD_TESTING=ON -DVELOX_BUILD_TEST_UTILS=ON" + export CXX=/usr/bin/g++-12 make EXTRA_CMAKE_FLAGS="-DVELOX_ENABLE_PARQUET=ON -DVELOX_BUILD_TESTING=ON -DVELOX_BUILD_TEST_UTILS=ON" export JAVA_HOME=/usr/lib/jvm/java-1.8.0-openjdk-amd64/ export HADOOP_ROOT_LOGGER="WARN,DRFA"