mirror of
https://github.com/ArchiveBox/ArchiveBox
synced 2024-11-22 12:13:05 +00:00
split debian process into 3 steps
This commit is contained in:
parent
1960ec517c
commit
a804956477
1 changed files with 12 additions and 7 deletions
19
.github/workflows/debian.yml
vendored
19
.github/workflows/debian.yml
vendored
|
@ -21,18 +21,23 @@ jobs:
|
|||
python-version: 3.9
|
||||
architecture: x64
|
||||
|
||||
- name: Build Debian/Apt package
|
||||
- name: Install packaging dependencies
|
||||
run: |
|
||||
sudo apt install -y python3 python3-dev python3-pip python3-venv python3-all dh-python debhelper devscripts dput software-properties-common python3-distutils python3-setuptools python3-wheel python3-stdeb
|
||||
./bin/build_deb.sh
|
||||
pip3 install --upgrade pip setuptools wheel stdeb
|
||||
|
||||
- name: Build Debian/Apt sdist_dsc
|
||||
run: |
|
||||
python3 setup.py --command-packages=stdeb.command \
|
||||
sdist_dsc
|
||||
|
||||
- name: Build Debian/Apt bdist_deb
|
||||
run: |
|
||||
python3 setup.py --command-packages=stdeb.command \
|
||||
bdist_deb
|
||||
|
||||
- name: Install archivebox from deb
|
||||
run: |
|
||||
rm -Rf build deb_dist dist archivebox-*.tar.gz
|
||||
python3 setup.py --command-packages=stdeb.command \
|
||||
sdist_dsc
|
||||
python3 setup.py --command-packages=stdeb.command \
|
||||
bdist_deb
|
||||
apt install deb_dist/archivebox*.deb
|
||||
|
||||
- name: Add some links to test
|
||||
|
|
Loading…
Reference in a new issue