mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-09-19 04:59:01 +00:00
circleci: Update to build native package
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
This commit is contained in:
parent
34ae273692
commit
8ace9046c3
@ -34,31 +34,32 @@ jobs:
|
|||||||
name: install plinth dependencies
|
name: install plinth dependencies
|
||||||
command: |
|
command: |
|
||||||
export DEBIAN_FRONTEND=noninteractive
|
export DEBIAN_FRONTEND=noninteractive
|
||||||
apt update
|
apt-get update
|
||||||
|
|
||||||
# Dependencies of the plinth Debian package
|
# Dependencies of the plinth Debian package
|
||||||
apt-get install -y $(apt-cache depends plinth | grep Depends | sed "s/.*ends:\ //" | tr '\n' ' ' | tr -d '<>')
|
apt-get build-dep -y .
|
||||||
|
|
||||||
# Fix plinth Debian package dependencies
|
|
||||||
apt remove -y gir1.2-networkmanager-1.0
|
|
||||||
apt install -y gir1.2-nm-1.0
|
|
||||||
|
|
||||||
# New dependencies not yet in the Debian package
|
# New dependencies not yet in the Debian package
|
||||||
# Remove dependencies from here after new deb package release
|
# Remove dependencies from here after new deb package release
|
||||||
apt install -y python3-django-axes python3-django-captcha
|
# apt-get install -y
|
||||||
|
|
||||||
# Build dependencies
|
# Build dependencies
|
||||||
apt install -y build-essential python3-setuptools
|
apt-get install -y build-essential
|
||||||
|
|
||||||
# Test dependencies
|
# Test dependencies
|
||||||
apt install -y python3-coverage sshpass parted
|
apt-get install -y sshpass parted
|
||||||
|
|
||||||
# Module dependencies
|
# Module dependencies
|
||||||
cd ~/Plinth
|
cd ~/Plinth
|
||||||
apt install -y `./run --list-dependencies`
|
apt-get install -y $(./run --list-dependencies)
|
||||||
|
|
||||||
- run:
|
- run:
|
||||||
name: run tests
|
name: run Debian build
|
||||||
|
# FIXME: enable testing after flagging integration tests
|
||||||
|
command: DEB_BUILD_OPTIONS=nocheck dpkg-buildpackage -us -uc -b
|
||||||
|
|
||||||
|
- run:
|
||||||
|
name: run integration tests
|
||||||
command: |
|
command: |
|
||||||
adduser tester --gecos "First Last,RoomNumber,WorkPhone,HomePhone" --disabled-password
|
adduser tester --gecos "First Last,RoomNumber,WorkPhone,HomePhone" --disabled-password
|
||||||
echo "tester:password" | chpasswd
|
echo "tester:password" | chpasswd
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user