Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
setuptools_dso
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
setuptools_dso
Commits
d77db4cc
Commit
d77db4cc
authored
Feb 27, 2021
by
Michael Davidsaver
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ci: test from sdist
parent
176bb6d3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
9 deletions
+20
-9
.github/workflows/build.yml
.github/workflows/build.yml
+20
-9
No files found.
.github/workflows/build.yml
View file @
d77db4cc
...
...
@@ -2,6 +2,10 @@ name: setuptools-dso
on
:
[
push
,
pull_request
]
defaults
:
run
:
shell
:
bash
jobs
:
test
:
runs-on
:
${{ matrix.os }}
...
...
@@ -27,25 +31,32 @@ jobs:
python --version
python -m pip --version
-
name
:
Test
run
:
pip install -v .
-
name
:
Test Example inplace
run
:
|
# capture other deps
pip download -d dist setuptools wheel
python setup.py sdist --formats=gztar
ls dist
# build from source tar to ensure completeness
pip install -v --no-index -f dist setuptools_dso
-
name
:
Test Example wheel
run
:
|
ls dist
cd example
python setup.py clean -a
git clean -fdx .
python setup.py -v build_dso -i
python setup.py -v build_dso -i -f # incremental recompile
python setup.py -v build_ext -i
(cd src && python -m dsodemo.cli)
pip install -v --no-index -f ../dist .
cd ..
-
name
:
Test Example wheel
python -m dsodemo.cli
-
name
:
Test Example inplace
run
:
|
cd example
python setup.py clean -a
git clean -fdx .
pip install -v .
python setup.py -v build_dso -i
python setup.py -v build_dso -i -f # incremental recompile
python setup.py -v build_ext -i
(cd src && python -m dsodemo.cli)
cd ..
python -m dsodemo.cli
upload
:
runs-on
:
ubuntu-latest
...
...
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