Skip to content

Commit

Permalink
try to fix CI
Browse files Browse the repository at this point in the history
  • Loading branch information
NoureldinYosri committed Oct 2, 2023
1 parent 7bad066 commit fab46a2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/bazeltest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,17 +54,16 @@ jobs:
- name: Checkout submodules
run: git submodule update --init --recursive
- name: Install Bazel on CI
run: |
run: |
wget https://github.com/bazelbuild/bazel/releases/download/5.3.0/bazel_5.3.0-linux-x86_64.deb
sudo dpkg -i bazel_5.3.0-linux-x86_64.deb
- name: Install requirements
run: |
python3 -m pip install -r requirements.txt
- name: Upgrade libc
# An LLVM update broke this test, fix per is https://bugs.llvm.org/show_bug.cgi?id=27310.
- name: Upgrade glibc to pypass
run: |
wget http://launchpadlibrarian.net/656214525/libc-bin_2.37-0ubuntu2_amd64.deb
sudo dpkg -i libc-bin_2.37-0ubuntu2_amd64.deb
apt-get upgrade libc-bin=2.31-0ubuntu9.9
- name: Run C++ tests
run: |
bazel test --config=avx --config=openmp \
Expand Down
2 changes: 1 addition & 1 deletion pybind_interface/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ FROM qsim
# Install additional requirements
RUN apt-get install -y python3-dev python3-pybind11 python3-pytest python3-pip

RUN apt-get remove python3-numpy --purge
RUN apt-get remove -y python3-numpy --purge

# The --force flag is used mainly so that the old numpy installation from pybind
# gets replaced with the one cirq requires
Expand Down

0 comments on commit fab46a2

Please sign in to comment.