Skip to content

Commit 157ff79

Browse files
committed
Add build automation
1 parent 9415a56 commit 157ff79

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.github/workflows/python-publish.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,16 @@ jobs:
3838
# Step 5: Build the wheel
3939
- name: Build the wheel
4040
run: |
41+
if [ ! -d "past-0.7.0" ]; then
42+
wget https://master.dl.sourceforge.net/project/pocc/1.6/release/modules/past-0.7.0.tar.gz
43+
tar -xvf past-0.7.0.tar.gz
44+
cp setup.py ./past-0.7.0/
45+
cp bindings.cpp ./past-0.7.0/src/
46+
cp Makefile.am ./past-0.7.0/src/
47+
fi
48+
cd past-0.7.0
4149
python setup.py sdist bdist_wheel
50+
mv past-0.7.0/dist ../
4251
4352
# Step 6: Upload the wheel as an artifact
4453
- name: Upload the wheel

0 commit comments

Comments
 (0)