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

Remove the CI build for CentOS 8 #1237

Merged
merged 1 commit into from
Dec 18, 2020
Merged
Show file tree
Hide file tree
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
13 changes: 0 additions & 13 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,19 +72,6 @@ jobs:
docker run -i --rm -v $PWD:/v -w /v --net=host ubuntu:20.04 \
bash -x -e source.sh

centos-8:
name: CentOS 8
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- run: |
set -x -e
bash -x -e .github/workflows/build.space.sh
python3 .github/workflows/build.instruction.py README.md "##### CentOS 8" > source.sh
cat source.sh
docker run -i --rm -v $PWD:/v -w /v --net=host centos:8 \
bash -x -e source.sh

centos-7:
name: CentOS 7
runs-on: ubuntu-latest
Expand Down
29 changes: 4 additions & 25 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -277,33 +277,12 @@ TFIO_DATAPATH=bazel-bin python3 -m pytest -s -v tests/test_serialization_eager.p

##### CentOS 8

CentOS 8 requires gcc/g++, git, and python 3. The following will install dependencies and build
the shared libraries on CentOS 8:
```sh
#!/usr/bin/env bash

# Install gcc/g++, git, unzip/which (for bazel), and python3
The steps to build shared libraries for CentOS 8 is similiar to Ubuntu 20.04 above
excpet that
```
sudo yum install -y python3 python3-devel gcc gcc-c++ git unzip which make

# Install Bazel version specified in .bazelversion
curl -sSOL https://github.com/bazelbuild/bazel/releases/download/$(cat .bazelversion)/bazel-$(cat .bazelversion)-installer-linux-x86_64.sh
sudo bash -x -e bazel-$(cat .bazelversion)-installer-linux-x86_64.sh

# Upgrade pip
sudo python3 -m pip install -U pip

# Install tensorflow and configure bazel
sudo ./configure.sh

# Build shared libraries
bazel build -s --verbose_failures //tensorflow_io/...

# Once build is complete, shared libraries will be available in
# `bazel-bin/tensorflow_io/core/python/ops/` and it is possible
# to run tests with `pytest`, e.g.:
sudo python3 -m pip install pytest
TFIO_DATAPATH=bazel-bin python3 -m pytest -s -v tests/test_serialization_eager.py
```
should be used instead to install gcc/g++, git, unzip/which (for bazel), and python3.

##### CentOS 7

Expand Down