~trufas/ledgeroni

dea02316a2ee7f511c7c346eb023130c1ad4822a — Rafael Castillo 1 year, 8 months ago 4a3df2e
add builds.sr.ht manifest
1 files changed, 22 insertions(+), 0 deletions(-)

A .builds/python37.yml
A .builds/python37.yml => .builds/python37.yml +22 -0
@@ 0,0 1,22 @@
image: debian/testing
packages:
  - curl
  - build-essential
sources:
  - https://git.sr.ht/~trufas/ledgeroni
environment:
  deploy: synapse@synapse-bt.org
secrets:
  - 7ebab768-e5e4-4c9d-ba57-ec41a72c5665
tasks:
  - setup: |
      sudo apt install curl build-essential
      curl -O https://www.python.org/ftp/python/3.7.5/Python-3.7.5.tgz
      tar -xvf Python-3.7.5.tgz
      cd Python-3.7.5
      ./configure --enable-optimizations --prefix=/opt/python-3.7.4
      make -j 8
      sudo make install
  - test: |
      export PATH=/opt/python-3.7.4/bin:$PATH
      pytest
\ No newline at end of file