Skip to content

Commit

Permalink
use virtual env from cp37
Browse files Browse the repository at this point in the history
  • Loading branch information
mansoorcheema committed Sep 25, 2020
1 parent 78e3066 commit 0eea00a
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/manylinux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ jobs:
steps:
- uses: actions/checkout@v1
- name: Setting up virtual environment
run: /opt/rh/rh-python36/root/usr/bin/virtualenv --python=/opt/python/cp37-cp37m/bin/python .bark/bark/python_wrapper/venv
run: /opt/python/cp37-cp37m/bin/virtualenv -p python3 ./bark/python_wrapper/venv --system-site-packages
- name: Getting into venv
run: source ./bark/bark/python_wrapper/venv/bin/activate
run: source ./bark/python_wrapper/venv/bin/activate
- name: Installing Requirements
run: pip install -r ./bark/tools/installers/requirements.txt
- name: Building Mnaylinux
run: bash ./bark/package.sh manylinux
run: pip install -r ./tools/installers/requirements.txt
- name: Building ManyLinux
run: bash package.sh manylinux
6 changes: 6 additions & 0 deletions tools/ManyLinuxDockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -50,3 +50,9 @@ RUN wget https://github.com/bazelbuild/bazel/releases/download/$BAZEL_VERSION/ba

RUN bazel

# Install virtual env for bark
RUN /opt/python/cp37-cp37m/bin/pip3 install virtualenv

# renewe bash
CMD [ "/bin/bash" ]
WORKDIR /bark

0 comments on commit 0eea00a

Please sign in to comment.