mirror of
https://github.com/ZoiteChat/zoitechat.git
synced 2026-03-22 05:30:18 +00:00
Enable source repos and install HexChat build-deps
Updated workflow to enable source repositories and install HexChat build dependencies.
This commit is contained in:
committed by
GitHub
parent
60c37ee0eb
commit
e1a639ec7a
19
.github/workflows/debian-build.yml
vendored
19
.github/workflows/debian-build.yml
vendored
@@ -34,7 +34,24 @@ jobs:
|
|||||||
apt-get install -y --no-install-recommends \
|
apt-get install -y --no-install-recommends \
|
||||||
devscripts equivs fakeroot dpkg-dev
|
devscripts equivs fakeroot dpkg-dev
|
||||||
|
|
||||||
- name: Install Build-Depends from debian/control
|
- name: Enable deb-src + install HexChat build-deps
|
||||||
|
run: |
|
||||||
|
set -eux
|
||||||
|
export DEBIAN_FRONTEND=noninteractive
|
||||||
|
|
||||||
|
# Enable source repositories (needed for `apt-get build-dep`)
|
||||||
|
cat >/etc/apt/sources.list.d/deb-src.list <<'EOF'
|
||||||
|
deb-src http://deb.debian.org/debian bookworm main
|
||||||
|
deb-src http://deb.debian.org/debian bookworm-updates main
|
||||||
|
deb-src http://deb.debian.org/debian-security bookworm-security main
|
||||||
|
EOF
|
||||||
|
|
||||||
|
apt-get update
|
||||||
|
|
||||||
|
# Pull HexChat's build dependencies from Debian packaging
|
||||||
|
apt-get build-dep -y --no-install-recommends hexchat
|
||||||
|
|
||||||
|
- name: Install Build-Depends from this repo's debian/control
|
||||||
run: |
|
run: |
|
||||||
set -eux
|
set -eux
|
||||||
mk-build-deps -i -r -t "apt-get -y --no-install-recommends" debian/control
|
mk-build-deps -i -r -t "apt-get -y --no-install-recommends" debian/control
|
||||||
|
|||||||
Reference in New Issue
Block a user