qtbase5-private-dev #5
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: Build on Ubuntu | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Initialize submodules | |
run: git submodule update --init --recursive | |
- name: Install dependencies | |
run: | | |
sudo apt-get update | |
sudo apt-get install -y qtbase5-dev libqt5xdg-dev extra-cmake-modules libdbusmenu-qt5-dev libxcb-ewmh-dev libqt5x11extras5-dev libkf5windowsystem-dev qtbase5-private-dev cmake clang | |
- name: Configure and build | |
run: | | |
mkdir build | |
cd build | |
cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr | |
make -j$(nproc) | |
make DESTDIR=QtPlugin -j$(nproc) install | |
find QtPlugin/ | |
zip --symlinks -r QtPlugin_Ubuntu.zip QtPlugin/ | |
- name: Delete Existing Release and Tag | |
run: | | |
git push --delete origin continuous || true | |
- name: Upload Artifacts to GitHub Releases | |
uses: softprops/action-gh-release@v1 | |
with: | |
files: | | |
build/*.zip | |
tag_name: continuous | |
target_commitish: ${{ github.sha }} | |
draft: false |