Restructure build recipe
This commit is contained in:
parent
1292d4f1e2
commit
5d305307fe
15
.build.yml
15
.build.yml
@ -27,22 +27,17 @@ sources:
|
|||||||
- https://git.sr.ht/~carstengrohmann/OOMAnalyser
|
- https://git.sr.ht/~carstengrohmann/OOMAnalyser
|
||||||
shell: null
|
shell: null
|
||||||
tasks:
|
tasks:
|
||||||
- setup: |
|
- setup_pkgs: |
|
||||||
cd OOMAnalyser
|
|
||||||
make venv
|
|
||||||
git clone https://aur.archlinux.org/rollup.git
|
git clone https://aur.archlinux.org/rollup.git
|
||||||
cd rollup
|
cd rollup
|
||||||
makepkg --noconfirm -si
|
makepkg --noconfirm -si
|
||||||
- setup_py37: |
|
cd ..
|
||||||
cd OOMAnalyser
|
|
||||||
git clone https://aur.archlinux.org/python37.git
|
git clone https://aur.archlinux.org/python37.git
|
||||||
cd python37
|
cd python37
|
||||||
makepkg --noconfirm -si --skippgpcheck
|
makepkg --noconfirm -si --skippgpcheck
|
||||||
cd ..
|
- setup_venv: |
|
||||||
# create virtualenv for Python 3.7
|
cd OOMAnalyser
|
||||||
make venv-clean
|
make venv
|
||||||
virtualenv3 -p /usr/bin/python3.7 env
|
|
||||||
env/bin/pip install -Ur requirements.txt
|
|
||||||
- build: |
|
- build: |
|
||||||
cd OOMAnalyser
|
cd OOMAnalyser
|
||||||
make build
|
make build
|
||||||
|
Loading…
Reference in New Issue
Block a user