-
Notifications
You must be signed in to change notification settings - Fork 14
58 lines (47 loc) · 1.58 KB
/
macos_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
58
name: macos-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 }}
jobs:
streaming-mac-pipeline:
timeout-minutes: 90
runs-on: macos-11
steps:
- uses: actions/checkout@v2
- name: Install basics
run: |
brew update
- name: Install bazel
run: |
if [ "$RUNNER_OS" == "Linux" ]; then
export OSTYPE="linux-gnu"
elif [ "$RUNNER_OS" == "macOS" ]; then
export OSTYPE="darwin"
else
echo "$RUNNER_OS not supported"
exit 1
fi
sudo sh scripts/install-bazel.sh
#- name: Install ray wheel
# run: |
# which python3
# python3 --version
# which python3.8
# python3.8 -m pip3 install https://ray-mobius-us.oss-us-west-1.aliyuncs.com/ci/macos/ray-2.0.0.dev0-cp38-cp38-macosx_11_0_x86_64.whl
#- name: Streaming python test
# run: sh -c "bash streaming/buildtest.sh --test_categories=streaming_python"
- name: Install OSS
run: sh scripts/ossutils.sh install
- name: Streaming java test
run: |
echo "Skip java test in macos for now."
# 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"