@@ -44,25 +44,21 @@ jobs:
44
44
# To switch on windows-2022/latest, please verify the bazel version:
45
45
# https://github.com/bazelbuild/bazel/issues/14232#issuecomment-1011247429
46
46
os : ['macos-12', 'windows-2019', 'ubuntu-20.04']
47
- py-version : ['3.8', '3. 9', '3.10', '3.11']
48
- tf-version : ['2.11 .1', '2.12 .0', '2.13 .0']
47
+ py-version : ['3.9', '3.10', '3.11']
48
+ tf-version : ['2.12 .1', '2.13 .0', '2.14 .0']
49
49
cpu : ['x86']
50
50
include :
51
51
- os : ' macos-12'
52
52
cpu : ' arm64'
53
- tf-version : ' 2.13.0'
54
- py-version : ' 3.8'
55
- - os : ' macos-12'
56
- cpu : ' arm64'
57
- tf-version : ' 2.13.0'
53
+ tf-version : ' 2.14.0'
58
54
py-version : ' 3.9'
59
55
- os : ' macos-12'
60
56
cpu : ' arm64'
61
- tf-version : ' 2.13 .0'
57
+ tf-version : ' 2.14 .0'
62
58
py-version : ' 3.10'
63
59
- os : ' macos-12'
64
60
cpu : ' arm64'
65
- tf-version : ' 2.13 .0'
61
+ tf-version : ' 2.14 .0'
66
62
py-version : ' 3.11'
67
63
fail-fast : false
68
64
steps :
73
69
script : |
74
70
const commit_details = await github.git.getCommit({owner: context.repo.owner, repo: context.repo.repo, commit_sha: context.sha});
75
71
return commit_details.data.author.date
76
- - if : matrix.tf-version != '2.13 .0'
72
+ - if : matrix.tf-version != '2.14 .0'
77
73
shell : bash
78
74
run : echo "SKIP_CUSTOM_OP_TESTS=--skip-custom-ops" >> $GITHUB_ENV
79
75
- if : github.event_name == 'push'
87
83
name : Setup Bazel
88
84
# Ubuntu bazel is run inside of the docker image
89
85
run : bash tools/install_deps/install_bazelisk.sh ./
90
- - if : matrix.py-version != '3.11' || matrix.tf-version == '2.12.0' || matrix.tf-version == '2.13.0'
91
- name : Build wheels
86
+ - name : Build wheels
92
87
env :
93
88
OS : ${{ runner.os }}
94
89
PY_VERSION : ${{ matrix.py-version }}
97
92
CPU : ${{ matrix.cpu }}
98
93
shell : bash
99
94
run : bash .github/workflows/make_wheel_${OS}_${CPU}.sh
100
- - if : matrix.py-version != '3.11' || matrix.tf-version == '2.12.0' || matrix.tf-version == '2.13.0'
101
- uses : actions/upload-artifact@v1
95
+ - uses : actions/upload-artifact@v1
102
96
with :
103
97
name : ${{ runner.os }}-${{ matrix.py-version }}-tf${{ matrix.tf-version }}-${{ matrix.cpu }}-wheel
104
98
path : wheelhouse
@@ -109,25 +103,21 @@ jobs:
109
103
strategy :
110
104
matrix :
111
105
os : ['macOS', 'Windows', 'Linux']
112
- py-version : ['3.8', '3. 9', '3.10', '3.11']
113
- tf-version : ['2.13 .0']
106
+ py-version : ['3.9', '3.10', '3.11']
107
+ tf-version : ['2.14 .0']
114
108
cpu : ['x86']
115
109
include :
116
110
- os : ' macOS'
117
111
cpu : ' arm64'
118
- tf-version : ' 2.13.0'
119
- py-version : ' 3.8'
120
- - os : ' macOS'
121
- cpu : ' arm64'
122
- tf-version : ' 2.13.0'
112
+ tf-version : ' 2.14.0'
123
113
py-version : ' 3.9'
124
114
- os : ' macOS'
125
115
cpu : ' arm64'
126
- tf-version : ' 2.13 .0'
116
+ tf-version : ' 2.14 .0'
127
117
py-version : ' 3.10'
128
118
- os : ' macOS'
129
119
cpu : ' arm64'
130
- tf-version : ' 2.13 .0'
120
+ tf-version : ' 2.14 .0'
131
121
py-version : ' 3.11'
132
122
fail-fast : false
133
123
if : (github.event_name == 'push' && github.ref == 'refs/heads/master') || github.event_name == 'release'
0 commit comments