Unverified Commit 330c68aa authored by Hongtao Zhang's avatar Hongtao Zhang Committed by GitHub
Browse files

CI/CD - Update OS of runner to the latest. (#702)



- Upgrade OS of github runner used by lint to the latest.
- Add symbolic link for clang-format to version 14.
- Update importlib_metadata version since it is too old (inside
nvcr.io/nvidia/pytorch:20.12-py3) and failed the 11.1 build.

---------
Co-authored-by: default avatarhongtaozhang <hongtaozhang@microsoft.com>
Co-authored-by: default avatarYifan Xiong <yifan.xiong@microsoft.com>
parent b13ef28f
......@@ -21,8 +21,13 @@ jobs:
misspell -error .
cpp:
name: CPP code lint
runs-on: ubuntu-20.04
runs-on: ubuntu-latest
steps:
- name: Install clang-format-14
run: |
sudo apt-get update
sudo apt-get install -y clang-format-14
sudo ln -sf /usr/bin/clang-format-14 /usr/bin/clang-format
- name: Checkout
uses: actions/checkout@v2
- name: Echo clang-format version
......
......@@ -152,7 +152,7 @@ ADD third_party third_party
RUN make -C third_party cuda -o nvbandwidth
ADD . .
RUN python3 -m pip install --upgrade setuptools==65.7 && \
RUN python3 -m pip install --upgrade setuptools==65.7 importlib_metadata==6.8.0 && \
python3 -m pip install --no-cache-dir .[nvworker] && \
make cppbuild && \
make postinstall && \
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment