From eaa710c973a767502932760c6a8f6f30f772914f Mon Sep 17 00:00:00 2001 From: Yong Tang Date: Mon, 6 Nov 2023 20:53:12 +0000 Subject: [PATCH] Update linux test --- .github/workflows/build.yml | 5 ++++- docs/development.md | 5 +---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b34d205fb..3415c1f6b 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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 diff --git a/docs/development.md b/docs/development.md index 84deb3e11..aa907182d 100644 --- a/docs/development.md +++ b/docs/development.md @@ -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 @@ -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=