Merge branch 'main' of https://github.com/QuardCRT-platform/plugin-Li… #13
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: linux | |
on: | |
push: | |
branches: [ main ] | |
paths-ignore: | |
- 'README.md' | |
pull_request: | |
branches: [ main ] | |
paths-ignore: | |
- 'README.md' | |
workflow_dispatch: | |
jobs: | |
ubuntu-2004: | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: true | |
- name: Install Qt | |
uses: jurplel/install-qt-action@v4 | |
with: | |
version: '6.5.3' | |
modules: 'qt5compat qtserialport' | |
aqtversion: ==3.1.7 | |
- name: Install prerequisites | |
run: | | |
sudo apt update | |
sudo apt install -y make gcc patchelf chrpath qt5-default libxcb-cursor0 build-essential libgtk-3-dev | |
- name: Build all | |
run: | | |
lrelease *.pro | |
qmake -spec linux-g++ | |
make -j8 | |
- name: Upload build asserts | |
uses: actions/upload-artifact@v4 | |
with: | |
path: | | |
./liblistserial.so |