aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatěj Cepl <mcepl@cepl.eu>2023-05-26 09:02:25 +0200
committerMatěj Cepl <mcepl@cepl.eu>2023-07-23 19:40:22 +0200
commitb7f2fcbf0b10c5425386f22cfc40786d2e1df148 (patch)
tree0a46ba7851991dbf957afb5505cd23cc3ddc32f8
parent92d2dc5587e2383fd48a3b2dafda4d96cac56b2a (diff)
downloadpygn-master.tar.gz
First attempt to create .build.yml script for builds.sr.htHEADmaster
-rw-r--r--.build.yml19
1 files changed, 19 insertions, 0 deletions
diff --git a/.build.yml b/.build.yml
new file mode 100644
index 0000000..6655414
--- /dev/null
+++ b/.build.yml
@@ -0,0 +1,19 @@
+image: fedora/latest
+packages:
+ - python3
+ - python3-build
+ - python3-rply
+sources:
+ - https://git.sr.ht/~mcepl/pygn
+tasks:
+ - build: |
+ cd pygn
+ python3 -mbuild
+ find . -name \*.whl -o -name \*.tar.gz
+ - test: |
+ cd pygn
+ PYTHONPATH=$(readlink -f dist/pygn-*.whl|tail -n1) python3 -munittest discover -v test
+artifacts:
+ # https://is.gd/Z5VJlI
+ # - pygn/dist/pygn-*.tar.gz
+ # - pygn/dist/pygn-*.whl