From 3d6e3b51bd4cc6a70622f3f54bd94e1c8a9aa0b1 Mon Sep 17 00:00:00 2001 From: LoSk-p Date: Mon, 8 Jul 2024 15:29:26 +0300 Subject: [PATCH] add noise test firmware and ubuntu 22 --- .github/workflows/python-app.yml | 26 ++++++++++++++++++++++++-- airrohr-flasher.py | 2 +- 2 files changed, 25 insertions(+), 3 deletions(-) diff --git a/.github/workflows/python-app.yml b/.github/workflows/python-app.yml index d8b01cb..3e4ff37 100644 --- a/.github/workflows/python-app.yml +++ b/.github/workflows/python-app.yml @@ -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 @@ -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 diff --git a/airrohr-flasher.py b/airrohr-flasher.py index 7ad329a..ebabc49 100755 --- a/airrohr-flasher.py +++ b/airrohr-flasher.py @@ -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)