File tree Expand file tree Collapse file tree 5 files changed +49
-8
lines changed Expand file tree Collapse file tree 5 files changed +49
-8
lines changed Original file line number Diff line number Diff line change 1
- name : CI
1
+ name : Lint
2
2
on :
3
3
pull_request :
4
4
jobs :
Original file line number Diff line number Diff line change
1
+ name : Packaging
2
+ on :
3
+ release :
4
+ types : [ created ]
5
+ push :
6
+ branches : [ 'master' ]
7
+ pull_request :
8
+ jobs :
9
+ deploy :
10
+ runs-on : ubuntu-latest
11
+ steps :
12
+ - uses : actions/checkout@v2
13
+ - uses : actions/setup-python@v2
14
+ - name : Install Python dependencies
15
+ run : |
16
+ python -m pip install -U pip
17
+ python -m pip install setuptools wheel twine build
18
+
19
+ - name : Build Python package
20
+ run : python -m build --sdist --wheel --outdir dist/ .
21
+
22
+ - name : Install Python package
23
+ run : python -m pip install dist/*.whl
24
+
25
+ - name : Test that exocc runs
26
+ run : exocc -o tmp --stem conv apps/x86_demo/conv/conv.py
27
+
28
+ - name : Show generated C code (manual inspection for now)
29
+ run : cat tmp/conv.c
30
+
31
+ # Will only run on release.
32
+ - name : Publish distribution to PyPI
33
+ if : startsWith(github.ref, 'refs/tags')
34
+ uses : pypa/gh-action-pypi-publish@master
35
+ with :
36
+ password : ${{ secrets.PYPI_API_TOKEN }}
Original file line number Diff line number Diff line change @@ -37,11 +37,12 @@ packages = find:
37
37
package_dir =
38
38
=src
39
39
install_requires =
40
- PySMT ==0.9.0
41
- asdl-adt ==0.1.0
42
- astor ==0.8.1
43
- numpy ==1.21.2
44
- yapf ==0.31.0
40
+ PySMT>=0.9
41
+ asdl-adt>=0.1,<0.2
42
+ astor>=0.8
43
+ numpy>=1.21.2
44
+ yapf>=0.31
45
+ z3-solver>=4.8.12.0
45
46
46
47
[options.packages.find]
47
48
where = src
Original file line number Diff line number Diff line change 5
5
from .memory import Memory , DRAM
6
6
from . import query_asts as QAST
7
7
8
- __version__ = '0.0.1 '
8
+ __version__ = '0.0.2 '
9
9
10
10
__all__ = [
11
11
"LoopIR_pprint" ,
Original file line number Diff line number Diff line change @@ -3,9 +3,13 @@ envlist = py39
3
3
4
4
[testenv]
5
5
deps =
6
+ # This list is maintained separately from requirements.txt to make it
7
+ # harder to accidentally forget a package dependency in setup.cfg.
8
+ Pillow
6
9
pytest
7
10
pytest-cov
8
- -r{toxinidir}/requirements.txt
11
+ scipy
12
+ torch
9
13
commands = pytest --cov =./ --cov-report =xml
10
14
passenv =
11
15
SDE_PATH
You can’t perform that action at this time.
0 commit comments