Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
torch-scatter
Commits
36a0b403
Commit
36a0b403
authored
Jun 16, 2021
by
rusty1s
Browse files
[skip ci] some updates
parent
c57b4328
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
4 deletions
+7
-4
.github/workflows/building.yml
.github/workflows/building.yml
+7
-4
No files found.
.github/workflows/building.yml
View file @
36a0b403
...
...
@@ -4,13 +4,14 @@ on: [workflow_dispatch]
jobs
:
bdist_
wheel
:
wheel
:
runs-on
:
${{ matrix.os }}
strategy
:
fail-fast
:
false
matrix
:
os
:
[
ubuntu-18.04
,
macos-10.15
,
windows-latest
]
# os: [ubuntu-18.04, macos-10.15, windows-latest]
os
:
[
windows-latest
]
python-version
:
[
3.6
,
3.7
,
3.8
,
3.9
]
torch-version
:
[
1.8.0
,
1.9.0
]
cuda-version
:
[
'
cpu'
,
'
cu101'
,
'
cu102'
,
'
cu111'
]
...
...
@@ -53,17 +54,19 @@ jobs:
-
name
:
Install main package for CPU
if
:
${{ matrix.cuda-version == 'cpu' }}
run
:
|
export FORCE_ONLY_CPU=1
pip install -e .
ls -lah torch_scatter/
env
:
FORCE_ONLY_CPU
:
1
-
name
:
Install main package with CUDA
if
:
${{ matrix.cuda-version != 'cpu' }}
run
:
|
./.github/workflows/cuda/${{ matrix.cuda-version }}-${{ runner.os }}-env.sh
export FORCE_CUDA=1
pip install -e .
ls -lah torch_scatter/
env
:
FORCE_CUDA
:
1
-
name
:
Build wheel
run
:
|
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment