Skip to content

Commit

Permalink
Update linux test
Browse files Browse the repository at this point in the history
  • Loading branch information
yongtang committed Nov 6, 2023
1 parent 954dd37 commit eaa710c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -355,9 +355,12 @@ jobs:
runs-on: ubuntu-22.04
strategy:
matrix:
python: ['3.10']
python: ['3.9']
steps:
- uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0
- uses: actions/setup-python@65d7f2d534ac1bc67fcd62888c5f4f3d2cb2b236 # v4.7.1
with:
python-version: ${{ matrix.python }}
- uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a # v3.0.2
with:
name: ${{ runner.os }}-${{ matrix.python }}-wheel
Expand Down
5 changes: 1 addition & 4 deletions docs/development.md
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ the shared libraries on Ubuntu 22.04:

# Install gcc/g++, git, unzip/curl (for bazel), and python3
sudo apt-get -y -qq update
sudo apt-get -y -qq install gcc g++ git unzip curl python3-pip
sudo apt-get -y -qq install gcc g++ git unzip curl python3-pip python-is-python3 libntirpc-dev

# Install Bazelisk (manage bazel version implicitly)
curl -sSOL https://github.com/bazelbuild/bazelisk/releases/download/v1.11.0/bazelisk-linux-amd64
Expand All @@ -141,9 +141,6 @@ sudo python3 -m pip install -U pip
# Install tensorflow and configure bazel
sudo ./configure.sh

# Alias python3 to python, needed by bazel
sudo ln -s /usr/bin/python3 /usr/bin/python

# Add any optimization on bazel command, e.g., --compilation_mode=opt,
# --copt=-msse4.2, --remote_cache=, etc.
# export BAZEL_OPTIMIZATION=
Expand Down

0 comments on commit eaa710c

Please sign in to comment.