Skip to content

Commit 095902d

Browse files
committed
[skip ci] build pytorch 1.9.0
1 parent bcb73c5 commit 095902d

File tree

1 file changed

+14
-10
lines changed

1 file changed

+14
-10
lines changed

.github/workflows/building.yml

Lines changed: 14 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,12 @@ jobs:
1010
strategy:
1111
fail-fast: false
1212
matrix:
13-
os: [ubuntu-18.04, macos-10.15, windows-latest]
13+
# os: [ubuntu-18.04, macos-10.15, windows-latest]
14+
os: [windows-latest]
1415
python-version: [3.6, 3.7, 3.8, 3.9]
1516
torch-version: [1.8.0]
16-
cuda-version: ['cpu', 'cu101', 'cu102', 'cu111']
17+
# cuda-version: ['cpu', 'cu101', 'cu102', 'cu111']
18+
cuda-version: ['cpu']
1719
exclude:
1820
- torch-version: 1.9.0
1921
cuda-version: 'cu101'
@@ -69,11 +71,13 @@ jobs:
6971
pip install wheel
7072
python setup.py bdist_wheel --dist-dir=dist
7173
72-
# - name: Upload wheel
73-
# uses: shallwefootball/s3-upload-action@master
74-
# with:
75-
# aws_key_id: ${{ secrets.AWS_KEY_ID }}
76-
# aws_secret_access_key: ${{ secrets.AWS_SECRET_ACCESS_KEY}}
77-
# aws_bucket: 'pytorch-geometric.com'
78-
# source_dir: 'dist'
79-
# destination_dir: 'whl/torch-${{ matrix.torch-version }}+${{ matrix.cuda-version }}'
74+
- name: Configure AWS
75+
uses: aws-actions/configure-aws-credentials@v1
76+
with:
77+
aws-access-key-id: ${{ secrets.AWS_KEY_ID }}
78+
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
79+
aws-region: us-east-1
80+
81+
- name: Upload wheel
82+
run: |
83+
aws s3 sync dist s3://pytorch-geometric.com/whl/${{ matrix.torch-version }}+${{ matrix.cuda-version }} --grants read=uri=http://acs.amazonaws.com/groups/global/AllUsers

0 commit comments

Comments
 (0)