add APT cache server configuration to CI/CD workflows
Some checks failed
Build and Publish Debian Package / build-deb (push) Failing after 2s
Build Deb-Mock Package / build (push) Successful in 53s
Test Deb-Mock Build / test (push) Has been cancelled

This commit is contained in:
robojerk 2025-08-04 00:58:15 +00:00
parent 3a7073c0ab
commit d1b8fe9425

View file

@ -18,16 +18,20 @@ jobs:
cp -r /tmp/deb-mock/* .
cp -r /tmp/deb-mock/.* . 2>/dev/null || true
- name: Set up Python
run: |
sudo apt update
sudo apt install -y python3.12 python3.12-venv python3-pip
- name: Install build dependencies
run: |
sudo apt update
sudo apt install -y build-essential devscripts debhelper dh-python python3-all python3-setuptools
sudo apt install -y sbuild schroot debootstrap
- name: Set up Python
run: |
sudo apt update
sudo apt install -y python3.12 python3.12-venv python3-pip
- name: Install build dependencies
run: |
# Configure APT to use your cache server
echo 'Acquire::http::Proxy "http://192.168.1.79:3142";' | sudo tee /etc/apt/apt.conf.d/99proxy
echo 'Acquire::https::Proxy "http://192.168.1.79:3142";' | sudo tee -a /etc/apt/apt.conf.d/99proxy
sudo apt update
sudo apt install -y build-essential devscripts debhelper dh-python python3-all python3-setuptools
sudo apt install -y sbuild schroot debootstrap
- name: Create deb-mock directories
run: |