-
Notifications
You must be signed in to change notification settings - Fork 14
57 lines (46 loc) · 1.51 KB
/
ubuntu_building.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
name: ubuntu-building
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
env:
OSS_HOST: oss-us-west-1.aliyuncs.com
OSS_BUCKET: ray-mobius-us
OSS_ID: ${{ secrets.OSS_ID }}
OSS_KEY: ${{ secrets.OSS_KEY }}
LC_ALL: en_US.UTF-8
LANG: en_US.UTF-8
jobs:
streaming-ubuntu-pipeline:
timeout-minutes: 60
runs-on: ubuntu-20.04
container: docker.io/library/ubuntu:20.04
steps:
- uses: actions/checkout@v2
- name: Install basics
run: |
apt-get update
apt-get install -yq software-properties-common
add-apt-repository -y ppa:deadsnakes/ppa
apt-get install -yq wget gcc g++ openjdk-8-jdk maven python3.8 zlib1g-dev zip git pip
- name: Install bazel
run: |
sh -c "bash scripts/install-bazel.sh"
- name: Install OSS
run: |
sh -c "bash scripts/ossutils.sh install"
- name: Install ray wheel
run: |
python3 -m pip install virtualenv
python3 -m virtualenv -p python3 py3
. py3/bin/activate
pip install pytest
sh -c "bash scripts/install-ray.sh"
pip install "protobuf<4"
- name: Streaming python test
run: sh -c "bash streaming/buildtest.sh --test_categories=streaming_python"
# - name: Streaming java test
# run: sh -c "bash streaming/buildtest.sh --test_categories=streaming_java"
- name: Streaming cpp test
run: sh -c "bash streaming/buildtest.sh --test_categories=streaming_cpp"