Merge pull request #230 from marin-m/weblate-translations #106
This file contains hidden or 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: Debian Packaging | |
| on: | |
| push: | |
| branches: [ "main" ] | |
| pull_request: | |
| branches: [ "main" ] | |
| env: | |
| CARGO_TERM_COLOR: always | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - name: Install system packages | |
| run: sudo apt update && sudo apt install build-essential libasound2-dev libpulse-dev libgtk-4-dev libsoup-3.0-dev libadwaita-1-dev libdbus-1-dev intltool appstream coreutils sed rustup findutils dput debhelper devscripts | |
| - name: Ensure metainfo.xml validity | |
| run: appstreamcli validate packaging/rootfs/usr/share/metainfo/re.fossplant.songrec.metainfo.xml | |
| - name: Build Debian package | |
| run: "bash -c 'rustup update && echo Using: $(rustup which cargo) / $(ls -l $(which cargo)) && ./packaging/ppa/build_binary_package.sh'" |