Skip to content

Commit 7c07416

Browse files
committed
Re-enable python matrix & disable windows conda build with S3
1 parent 389ec0d commit 7c07416

File tree

1 file changed

+15
-13
lines changed

1 file changed

+15
-13
lines changed

.github/workflows/_build_test_upload.yml

Lines changed: 15 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,8 @@ jobs:
6060
- ubuntu-latest
6161
- windows-latest
6262
python-version:
63-
# - 3.7
64-
# - 3.8
63+
- 3.7
64+
- 3.8
6565
- 3.9
6666
- "3.10"
6767
steps:
@@ -186,8 +186,8 @@ jobs:
186186
- ubuntu-latest
187187
- windows-latest
188188
python-version:
189-
# - 3.7
190-
# - 3.8
189+
- 3.7
190+
- 3.8
191191
- 3.9
192192
- "3.10"
193193
steps:
@@ -208,20 +208,22 @@ jobs:
208208
sudo add-apt-repository multiverse
209209
sudo apt update
210210
sudo apt install libssl-dev libcurl4-openssl-dev zlib1g-dev
211-
- name: Setup msbuild on Windows
212-
if: startsWith( matrix.os, 'windows' )
213-
uses: microsoft/[email protected]
214-
- name: Set up Visual Studio shell
215-
if: startsWith( matrix.os, 'windows' )
216-
uses: egor-tensin/vs-shell@v2
217-
with:
218-
arch: x64
211+
- name: Determine if build AWSSDK
212+
run: |
213+
if [[ startsWith( matrix.os, 'windows' ) ]]; then
214+
BUILD_S3=0
215+
else
216+
BUILD_S3=1
217+
fi
218+
done
219+
echo "::set-output name=value::$BUILD_S3"
220+
id: build_s3
219221
- name: Build TorchData for Conda
220222
shell: bash -l {0}
221223
env:
222224
PYTHON_VERSION: ${{ matrix.python-version }}
223225
PYTORCH_VERSION: ${{ inputs.pytorch_version }}
224-
BUILD_S3: 1
226+
BUILD_S3: steps.build_s3.outputs.value
225227
run: |
226228
conda activate conda_build_env
227229
conda install -yq conda-build -c conda-forge

0 commit comments

Comments
 (0)