ci: install libmpv from questing #112
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: Build | |
| on: | |
| push: | |
| branches: | |
| - '**' | |
| tags-ignore: | |
| - '**' | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Rust setup | |
| uses: dtolnay/rust-toolchain@stable | |
| with: | |
| components: rustfmt, clippy | |
| - name: Install dependencies | |
| run: | | |
| sudo sh -c 'echo "deb http://archive.ubuntu.com/ubuntu/ resolute main" >> /etc/apt/sources.list' | |
| sudo apt-get -y update | |
| sudo apt-get -y install -t questing libmpv-dev | |
| sudo apt-get -y install libssl-dev libgtk-4-dev libadwaita-1-dev libwebkitgtk-6.0-dev gettext nodejs | |
| - name: Lint fmt | |
| run: cargo fmt --all -- --check | |
| - name: Lint clippy | |
| run: cargo clippy --all --no-deps -- -D warnings | |
| - name: Build | |
| run: cargo build |