Skip to content

Commit

Permalink
build: install prerequisites
Browse files Browse the repository at this point in the history
  • Loading branch information
necusjz committed Dec 10, 2023
1 parent 85ef8f0 commit 7e7e7a4
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/actions/setup-venv/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ runs:
- shell: bash
run: |
# Install prerequisites.
pip install --upgrade pip setuptools wheel virtualenv
pip install --upgrade pip wheel virtualenv
- shell: bash
run: |
Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,11 @@ jobs:
steps:
- uses: actions/checkout@v3

- name: Install prerequisites
run: |
sudo apt-get update
sudo apt-get install -y python3-pip bluez bluetooth pkg-config build-essential libdbus-glib-1-dev libgirepository1.0-dev
- name: Setup Python environment
uses: ./.github/actions/setup-venv
with:
Expand Down Expand Up @@ -80,7 +85,7 @@ jobs:

- name: Install requirements
run: |
pip install --upgrade pip setuptools wheel build
pip install --upgrade pip wheel build
pip install -e .[dev]
- name: Prepare environment
Expand Down

0 comments on commit 7e7e7a4

Please sign in to comment.