-
Notifications
You must be signed in to change notification settings - Fork 77
91 lines (78 loc) · 2.74 KB
/
mac_ci.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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
#
# DO NOT MANUALLY EDIT THIS FILE
# AUTOGENERATED BY build/ci_matrix.py
#
name: Mac CI
on:
push:
branches:
- master
tags:
- v*
pull_request:
jobs:
build:
runs-on: macos-10.15
name: TF ${{ matrix.tf }}, Torch ${{ matrix.torch }}, Python ${{ matrix.python }}
env:
NEUROPOD_TENSORFLOW_VERSION: ${{ matrix.tf }}
NEUROPOD_TORCH_VERSION: ${{ matrix.torch }}
NEUROPOD_PYTHON_VERSION: ${{ matrix.python }}
steps:
# Checkout the repo
- uses: actions/checkout@v2
# Setup bazel cache
- name: Bazel Cache
uses: actions/cache@v2
with:
path: ~/bazel_cache
key: ${{ runner.os }}-bazel-cache-tf-${{ matrix.tf }}-torch-${{ matrix.torch }}-python-${{ matrix.python }}
# Build and test
- name: Build and Test
run: ./build/ci/gh_actions_build.sh
env:
NEUROPOD_TEST_FRAMEWORKS: ${{ matrix.test_frameworks }}
GH_UPLOAD_TOKEN: ${{ secrets.GITHUB_TOKEN }}
strategy:
matrix:
include:
- tf: 1.14.0
torch: 1.3.0
python: 3.6
test_frameworks: tensorflow,torchscript,python
- tf: 1.15.0
torch: 1.4.0
python: 3.7
test_frameworks: tensorflow,torchscript,python
- tf: 2.2.0
torch: 1.5.0
python: 3.8
test_frameworks: tensorflow,torchscript,python
- tf: 2.2.0
torch: 1.6.0
python: 3.8
test_frameworks: torchscript,python
- tf: 2.2.0
torch: 1.7.0
python: 3.8
test_frameworks: torchscript,python
- tf: 2.2.0
torch: 1.8.1
python: 3.8
test_frameworks: torchscript,python
- tf: 2.2.0
torch: 1.9.0
python: 3.8
test_frameworks: torchscript,python
- tf: 2.2.0
torch: 1.10.2
python: 3.8
test_frameworks: torchscript,python
- tf: 2.5.0
torch: 1.7.0
python: 3.8
test_frameworks: tensorflow
- tf: 2.6.2
torch: 1.7.0
python: 3.8
test_frameworks: tensorflow