From b7f2fcbf0b10c5425386f22cfc40786d2e1df148 Mon Sep 17 00:00:00 2001 From: Matěj Cepl Date: Fri, 26 May 2023 09:02:25 +0200 Subject: First attempt to create .build.yml script for builds.sr.ht --- .build.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .build.yml (limited to '.build.yml') 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 -- cgit