From f3b9a3bda0168944003a0a73a14ba08fb73d6a79 Mon Sep 17 00:00:00 2001 From: Zhengyu Peng Date: Fri, 24 Dec 2021 14:56:23 -0500 Subject: [PATCH] Create build_pc_client_linux.yml --- .github/build_pc_client_linux.yml | 37 +++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 .github/build_pc_client_linux.yml diff --git a/.github/build_pc_client_linux.yml b/.github/build_pc_client_linux.yml new file mode 100644 index 0000000..d1dc45c --- /dev/null +++ b/.github/build_pc_client_linux.yml @@ -0,0 +1,37 @@ +# This workflow will install Python dependencies, run tests and lint with a variety of Python versions +# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions + +name: Build PC Client on Linux + +on: + push: + branches: [ master ] + pull_request: + branches: [ master ] + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + - name: Set up Python 3.9 + uses: actions/setup-python@v2 + with: + python-version: 3.9 + - name: Install dependencies + run: | + python -m pip install --upgrade pip + pip install PySide6 psutil pyinstaller + - name: PyInstaller + run: | + cd ./software/pc + pyinstaller hexapod.spec + cp mainwindow.ui ./dist/hexapod/ + - name: Archive built module + uses: actions/upload-artifact@v2 + if: success() + with: + name: hexapod_linux + path: ./software/pc/dist/hexapod \ No newline at end of file