Skip to content

building manylinux wheels on github actions #3

building manylinux wheels on github actions

building manylinux wheels on github actions #3

Workflow file for this run

name: build-wheels
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build-wheels:
timeout-minutes: 60
runs-on: ubuntu-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
- name: Build wheels
run: |
bash build_wheels.sh
- name: Archive rayfed-wheel
uses: actions/upload-artifact@v1
with:
name: rayfed_python39_wheel_on_ubuntu
path: dist/