52
52
wheel_build_test :
53
53
needs : get_release_type
54
54
runs-on : ${{ matrix.os }}
55
- container : ${{ startsWith( matrix.os, 'ubuntu' ) && 'quay.io/pypa/manylinux2014_x86_64' || null }}
55
+ # container: ${{ startsWith( matrix.os, 'ubuntu' ) && 'quay.io/pypa/manylinux2014_x86_64' || null }}
56
56
strategy :
57
57
fail-fast : false
58
58
matrix :
67
67
- " 3.10"
68
68
steps :
69
69
- name : Setup Python ${{ matrix.python-version }}
70
- if : ${{ ! startsWith( matrix.os, 'ubuntu' ) }}
70
+ # if: ${{ ! startsWith( matrix.os, 'ubuntu' ) }}
71
71
uses : actions/setup-python@v2
72
72
with :
73
73
python-version : ${{ matrix.python-version }}
@@ -87,33 +87,33 @@ jobs:
87
87
- name : Install Build Dependency
88
88
shell : bash
89
89
run : |
90
- if ${{ startsWith( matrix.os, 'ubuntu' ) }}; then
91
- yum -y install ninja-build
92
- yum -y install openssl-devel openssl-static curl-devel zlib-devel
93
- else
94
- pip install cmake ninja
95
- echo "/home/runner/.local/bin" >> $GITHUB_PATH
96
- fi
90
+ # if ${{ startsWith( matrix.os, 'ubuntu' ) }}; then
91
+ # yum -y install ninja-build
92
+ # yum -y install openssl-devel openssl-static curl-devel zlib-devel
93
+ # else
94
+ pip install cmake ninja
95
+ echo "/home/runner/.local/bin" >> $GITHUB_PATH
96
+ # fi
97
97
- name : Install PyTorch and Build TorchData Wheel
98
98
shell : bash
99
99
env :
100
100
PYTHON_VERSION : ${{ matrix.python-version }}
101
101
PYTORCH_VERSION : ${{ inputs.pytorch_version }}
102
- BUILD_S3 : 1
102
+ BUILD_S3 : ${{ startsWith( matrix.os, 'ubuntu' ) && 'OFF' || 'ON' }}
103
103
run : |
104
- if ${{ startsWith( matrix.os, 'ubuntu' ) }}; then
105
- # See: https://github.com/actions/checkout/issues/760
106
- git config --global --add safe.directory /__w/data/data
107
- source packaging/manylinux_wheel_helper.sh
108
- fi
104
+ # if ${{ startsWith( matrix.os, 'ubuntu' ) }}; then
105
+ # # See: https://github.com/actions/checkout/issues/760
106
+ # git config --global --add safe.directory /__w/data/data
107
+ # source packaging/manylinux_wheel_helper.sh
108
+ # fi
109
109
packaging/build_wheel.sh
110
110
- name : Validate TorchData Wheel
111
111
shell : bash
112
112
env :
113
113
PYTHON_VERSION : ${{ matrix.python-version }}
114
114
run : |
115
115
if ${{ startsWith( matrix.os, 'ubuntu' ) }}; then
116
- source packaging/manylinux_wheel_helper.sh
116
+ # source packaging/manylinux_wheel_helper.sh
117
117
pip3 install auditwheel
118
118
fi
119
119
pip3 install pkginfo
@@ -129,18 +129,18 @@ jobs:
129
129
env :
130
130
PYTHON_VERSION : ${{ matrix.python-version }}
131
131
run : |
132
- if ${{ startsWith( matrix.os, 'ubuntu' ) }}; then
133
- source packaging/manylinux_wheel_helper.sh
134
- fi
132
+ # if ${{ startsWith( matrix.os, 'ubuntu' ) }}; then
133
+ # source packaging/manylinux_wheel_helper.sh
134
+ # fi
135
135
pip3 install dist/torchdata*.whl
136
136
- name : Run DataPipes Tests with pytest
137
137
shell : bash
138
138
env :
139
139
PYTHON_VERSION : ${{ matrix.python-version }}
140
140
run : |
141
- if ${{ startsWith( matrix.os, 'ubuntu' ) }}; then
142
- source packaging/manylinux_wheel_helper.sh
143
- fi
141
+ # if ${{ startsWith( matrix.os, 'ubuntu' ) }}; then
142
+ # source packaging/manylinux_wheel_helper.sh
143
+ # fi
144
144
pip3 install expecttest fsspec iopath==0.1.9 numpy pytest rarfile protobuf
145
145
pytest --no-header -v test --ignore=test/test_period.py --ignore=test/test_text_examples.py --ignore=test/test_audio_examples.py
146
146
- name : Upload Wheels to Github
0 commit comments