Skip to content

Commit

Permalink
venv for debian builds
Browse files Browse the repository at this point in the history
  • Loading branch information
tzarc committed Sep 22, 2023
1 parent 548c01d commit 32def10
Showing 1 changed file with 13 additions and 5 deletions.
18 changes: 13 additions & 5 deletions .github/workflows/debian-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,21 +34,29 @@ jobs:
- name: Install system dependencies
run: |
apt-get update
apt-get install -y build-essential apt-utils python3-pip python3-venv python3-pillow ruby ruby-dev rubygems git zlib1g-dev
apt-get install -y build-essential apt-utils libconfig-file-perl python3-pip python3-venv python3-pillow ruby ruby-dev rubygems git zlib1g-dev
apt-get install -y dpkg-sig || true
apt-get install -y debdelta || true
export HOME="/tmp" # To allow for writable pip
python3 -m pip install virtualenv-tools3 wheel
gem install --no-document fpm
python3 -m venv .venv
source .venv/bin/activate
python3 -m pip install virtualenv-tools3 wheel
deactivate
# Build Debian package
- name: Build debian package
run: ./build_deb_package.sh
run: |
source .venv/bin/activate
./build_deb_package.sh
deactivate
- name: Build debian package repository
env:
QMK_GPG_PRIVATE_KEY: ${{ secrets.QMK_GPG_PRIVATE_KEY }}
run: ./build_deb_repo.sh
run: |
source .venv/bin/activate
./build_deb_repo.sh
deactivate
- name: Upload Debian Repo
uses: jakejarvis/s3-sync-action@master
Expand Down

0 comments on commit 32def10

Please sign in to comment.