1
0
Fork 0
mirror of synced 2024-06-18 02:14:37 +12:00

Update debian.yml

This commit is contained in:
Nick Sweeting 2024-01-04 18:50:41 -08:00 committed by GitHub
parent e4f1503965
commit 41e6a0f215
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -25,36 +25,23 @@ jobs:
dh-python debhelper devscripts dput software-properties-common \ dh-python debhelper devscripts dput software-properties-common \
python3-distutils python3-setuptools python3-wheel python3-stdeb python3-distutils python3-setuptools python3-wheel python3-stdeb
- name: Build Debian/Apt sdist_dsc # - name: Build Debian/Apt sdist_dsc
run: | # run: |
rm -Rf deb_dist/* # ./bin/build_pip.sh
python3 setup.py --command-packages=stdeb.command sdist_dsc
- name: Build Debian/Apt bdist_deb # - name: Check ArchiveBox version
run: | # run: |
python3 setup.py --command-packages=stdeb.command bdist_deb # # must create dir needed for snaps to run as non-root on github actions
# sudo mkdir -p /run/user/1001 && sudo chmod -R 777 /run/user/1001
# mkdir "${{ github.workspace }}/data" && cd "${{ github.workspace }}/data"
# archivebox --version
# archivebox init --setup
- name: Install archivebox from deb # - name: Add some links to test
run: | # run: |
cd deb_dist/ # cd "${{ github.workspace }}/data"
sudo apt-get install ./archivebox*.deb # archivebox add 'https://example.com'
cd .. # archivebox status
python3 -c 'from distutils.core import run_setup; result = run_setup("./setup.py", stop_after="init"); print("\n".join(result.install_requires + result.extras_require["sonic"]))' > ./requirements.txt
python3 -m pip install -r ./requirements.txt
- name: Check ArchiveBox version
run: |
# must create dir needed for snaps to run as non-root on github actions
sudo mkdir -p /run/user/1001 && sudo chmod -R 777 /run/user/1001
mkdir "${{ github.workspace }}/data" && cd "${{ github.workspace }}/data"
archivebox --version
archivebox init --setup
- name: Add some links to test
run: |
cd "${{ github.workspace }}/data"
archivebox add 'https://example.com'
archivebox status
# - name: Commit built package # - name: Commit built package
# run: | # run: |