Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(ci): deprecate centos ci in cpp action #534

Merged
merged 1 commit into from
Jul 5, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
43 changes: 0 additions & 43 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -153,49 +153,6 @@ jobs:
./graph_info_benchmark
./arrow_chunk_reader_benchmark

centos:
name: CentOS 7 C++
runs-on: ubuntu-latest
container:
image: centos:7
steps:
- uses: actions/checkout@v3

- name: Set up devtoolset-8
run: |
# install gcc and g++ 8
yum install -y centos-release-scl
yum install -y devtoolset-8

- name: Install dependencies
shell: scl enable devtoolset-8 -- bash --noprofile --norc -eo pipefail {0}
run: |
# install cmake
yum install -y wget
wget https://cmake.org/files/v3.12/cmake-3.12.3.tar.gz -P /tmp/ && \
tar -zxf /tmp/cmake-3.12.3.tar.gz -C /tmp/ && \
pushd /tmp/cmake-3.12.3 && \
./bootstrap --prefix=/usr/local && \
make -j$(nproc) && \
make install && \
popd
echo "cmake version: $(cmake --version)"

#install arrow
yum install -y epel-release || yum install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-$(cut -d: -f5 /etc/system-release-cpe | cut -d. -f1).noarch.rpm
yum install -y https://apache.jfrog.io/artifactory/arrow/centos/$(cut -d: -f5 /etc/system-release-cpe | cut -d. -f1)/apache-arrow-release-latest.rpm
yum install -y --enablerepo=epel arrow-devel arrow-dataset-devel arrow-acero-devel parquet-devel

- name: Build GraphAr
shell: scl enable devtoolset-8 -- bash --noprofile --norc -eo pipefail {0}
working-directory: "cpp"
run: |
mkdir build
pushd build
cmake ..
make -j$(nproc)
popd

macos:
name: ${{ matrix.architecture }} macOS ${{ matrix.macos-version }} C++
runs-on: macos-${{ matrix.macos-version }}
Expand Down
Loading