Skip to content

Commit

Permalink
fix: ubuntu build
Browse files Browse the repository at this point in the history
  • Loading branch information
nathan-vm committed Aug 29, 2024
1 parent 6f14df0 commit be2674e
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 11 deletions.
18 changes: 13 additions & 5 deletions .github/workflows/build-and-release-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,15 +26,23 @@ jobs:
with:
python-version: "3.11"

- name: install python dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- uses: actions/setup-node@v4
with:
node-version: "20"

- name: install necessary libs
run: |
sudo apt-get install build-essential clang libdbus-1-dev libgtk-3-dev \
libnotify-dev libasound2-dev libcap-dev \
libcups2-dev libxtst-dev \
libxss1 libnss3-dev gcc-multilib g++-multilib curl \
gperf bison python3-dbusmock openjdk-8-jre
- name: install python dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Install dependencies
run: npm install

Expand Down
20 changes: 14 additions & 6 deletions .github/workflows/test-build-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ run-name: ${{ github.actor }} is building for Linux.

on:
pull_request:
branches: [ main ]
branches: [main]

jobs:
test-on-linux:
Expand All @@ -20,15 +20,23 @@ jobs:
with:
python-version: "3.11"

- name: install python dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- uses: actions/setup-node@v4
with:
node-version: "20"

- name: install necessary libs
run: |
sudo apt-get install build-essential clang libdbus-1-dev libgtk-3-dev \
libnotify-dev libasound2-dev libcap-dev \
libcups2-dev libxtst-dev \
libxss1 libnss3-dev gcc-multilib g++-multilib curl \
gperf bison python3-dbusmock openjdk-8-jre
- name: install python dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Install dependencies
run: npm install

Expand Down

0 comments on commit be2674e

Please sign in to comment.