* Increase version #21
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: Deb Release | |
on: | |
push: | |
branches: [ "deploy" ] | |
jobs: | |
ubuntuBuild: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: apt-update | |
run: sudo apt-get update -qq | |
- name: apt get qt | |
run: sudo apt-get install -y --no-install-recommends qtdeclarative5-dev libqt5svg5-dev qml-module-qtgraphicaleffects qml-module-qtquick-layouts qml-module-qtquick-dialogs qml-module-qtquick-controls qml-module-qtquick-controls2 qml-module-qt-labs-folderlistmodel qml-module-qt-labs-settings libqt5websockets5-dev qtmultimedia5-dev libqt5multimedia5-plugins qml-module-qtmultimedia qtquickcontrols2-5-dev libvlccore-dev libvlc-dev libmpv-dev pkg-config | |
- name: run qmake | |
run: qmake -makefile -o src/Makefile src/AniLibria.pro CONFIG+=unixvlc CONFIG+=unixmpv | |
- name: run make | |
run: make -j2 -C src | |
- name: copy to deb package | |
run: mkdir specs/deb/tmp1/usr/bin; cp src/AniLibria specs/deb/tmp1/usr/bin | |
- name: build deb package | |
run: dpkg-deb -b specs/deb/tmp1 anilibria_amd64.deb | |
- uses: actions/upload-artifact@v4 | |
with: | |
name: deb-package | |
path: anilibria_amd64.deb |