Skip to content

Commit

Permalink
add noise test firmware and ubuntu 22
Browse files Browse the repository at this point in the history
  • Loading branch information
LoSk-p committed Jul 8, 2024
1 parent 2d7c08d commit 3d6e3b5
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 3 deletions.
26 changes: 24 additions & 2 deletions .github/workflows/python-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ jobs:
runs-on: macOS-latest
steps:
- uses: actions/checkout@v1
- name: Set up Python 3.7
- name: Set up Python 3.11
uses: actions/setup-python@v1
with:
python-version: 3.7
python-version: 3.11
- name: Install dependencies
run: |
python -m pip install --upgrade pip
Expand Down Expand Up @@ -47,6 +47,28 @@ jobs:
name: airrohr-flasher-ubuntu20
path: dist/airrohr-flasher

buildUbuntu22:

runs-on: ubuntu-22.04

steps:
- uses: actions/checkout@v1
- name: Set up Python 3.9
uses: actions/setup-python@v1
with:
python-version: 3.9
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install qttools5-dev-tools pyqt5-dev-tools qt5-default python3-pip python3.9 make
- name: build with pyinstaller
run: |
make deps dist && ls dist/
- uses: actions/upload-artifact@v2
with:
name: airrohr-flasher-ubuntu20
path: dist/airrohr-flasher

buildUbuntuLatest:

runs-on: ubuntu-latest
Expand Down
2 changes: 1 addition & 1 deletion airrohr-flasher.py
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ def retranslateUi(self, win):

def populate_versions(self, files):
"""Loads available firmware versions into versionbox widget"""
files = {"name": ["firmware_en", "firmware_ru"], "link": ["http://upd.sensors.robonomics.network/latest_en.bin", "http://upd.sensors.robonomics.network/latest_ru.bin"]}
files = {"name": ["firmware_en", "firmware_ru", "test_noise_en"], "link": ["http://upd.sensors.robonomics.network/latest_en.bin", "http://upd.sensors.robonomics.network/latest_ru.bin", "http://upd.sensors.robonomics.network/test_noise_en.bin"]}
for i in range(len(files["name"])):
item = QtGui.QStandardItem(files["name"][i])
item.setData(files["link"][i], ROLE_DEVICE)
Expand Down

0 comments on commit 3d6e3b5

Please sign in to comment.