File tree Expand file tree Collapse file tree 4 files changed +909
-15
lines changed
Expand file tree Collapse file tree 4 files changed +909
-15
lines changed Original file line number Diff line number Diff line change @@ -21,20 +21,28 @@ jobs:
2121 echo "ITERATORS_MAIN_SRC_DIR=${GITHUB_WORKSPACE}/sandbox/experimental/iterators" | tee -a $GITHUB_ENV
2222 echo "ITERATORS_MAIN_BINARY_DIR=${GITHUB_WORKSPACE}/sandbox/experimental/iterators/build" | tee -a $GITHUB_ENV
2323
24- - name : Set up Python
25- uses : actions/setup-python@13ae5bb136fac2878aff31522b9efb785519f984 # v4.3.0
26- with :
27- python-version : 3.9
28-
2924 - name : Checkout project
3025 uses : actions/checkout@v3
3126 with :
3227 path : sandbox
3328 submodules : recursive
3429
30+ - name : Set up Python
31+ uses : actions/setup-python@13ae5bb136fac2878aff31522b9efb785519f984 # v4.3.0
32+ with :
33+ python-version : ' 3.10'
34+ cache : pipenv
35+
36+ - name : Install pipenv
37+ run : pip install --user pipenv
38+
3539 - name : Install Python depends
3640 run : |
37- python -m pip install -r ${ITERATORS_MAIN_SRC_DIR}/requirements.txt
41+ cd ${ITERATORS_MAIN_SRC_DIR}
42+ pipenv install --dev
43+ pipenv run pip freeze
44+ echo "PIPENV_PIPFILE=${ITERATORS_MAIN_SRC_DIR}/Pipfile" | tee -a $GITHUB_ENV
45+ pipenv run which python | xargs dirname | tee -a $GITHUB_PATH
3846
3947 - name : Install Ninja
4048 uses : llvm/actions/install-ninja@6a57890d0e3f9f35dfc72e7e48bc5e1e527cdd6c # Jan 17
Original file line number Diff line number Diff line change 1+ [[source ]]
2+ url = " https://pypi.org/simple"
3+ verify_ssl = true
4+ name = " pypi"
5+
6+ [packages ]
7+ # MLIR dependencies.
8+ numpy = " *"
9+ pybind11 = " >=2.8.0"
10+ pyyaml = " *"
11+ dataclasses = " *"
12+
13+ [dev-packages ]
14+
15+ # Testing.
16+ lit = " *"
17+
18+ # Benchmarks and plotting.
19+ pandas = " *"
20+ matplotlib = " *"
21+
22+ [requires ]
23+ python_version = " 3.10"
You can’t perform that action at this time.
0 commit comments