Skip to content

Commit

Permalink
build in manylinux
Browse files Browse the repository at this point in the history
  • Loading branch information
larrylian committed Feb 27, 2024
1 parent 3b31e97 commit 0694dbc
Showing 1 changed file with 5 additions and 15 deletions.
20 changes: 5 additions & 15 deletions .github/workflows/build_wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,28 +9,18 @@ on:
jobs:
build-wheels:
timeout-minutes: 60
runs-on: ubuntu-latest
runs-on: manylinux-latest
container: quay.io/pypa/manylinux2014_x86_64

steps:
- uses: actions/checkout@v2

- name: Install bazel
run: |
apt-get update
apt-get install -yq wget gcc g++ python3.7 zlib1g-dev zip libuv1.dev
apt-get install -yq pip
wget "https://github.com/bazelbuild/bazel/releases/download/5.1.0/bazel_5.1.0-linux-x86_64.deb" -O bazel_5.1.0-linux-x86_64.deb
dpkg -i bazel_5.1.0-linux-x86_64.deb
# - name: Install dependencies
# run: |
# python3 -m pip install virtualenv
# python3 -m virtualenv -p python3 py3
# . py3/bin/activate
# which python
# pip install pytest torch
# pip install ray==1.11.0
yum -y install java-1.8.0-openjdk java-1.8.0-openjdk-devel
wget "https://github.com/bazelbuild/bazel/releases/download/5.1.0/bazel-5.1.0-installer-linux-x86_64.sh" -O bazel-5.1.0-installer-linux-x86_64.sh
chmod +x bazel-5.1.0-installer-linux-x86_64.sh
./bazel-5.1.0-installer-linux-x86_64.sh --user
- name: Build wheels
run: |
Expand Down

0 comments on commit 0694dbc

Please sign in to comment.