Skip to content

Try download qbittorrent-nightly from Github #15

Try download qbittorrent-nightly from Github

Try download qbittorrent-nightly from Github #15

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
branches:
- main
paths:
- '.github/**'
- 'src/**'
- 'tests/**'
env:
CARGO_TERM_COLOR: always
RUST_BACKTRACE: 1
RUSTFLAGS: "-Dwarnings"
RUSTDOCFLAGS: "-Dwarnings"
jobs:
build_and_test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@nightly
with:
components: clippy, rustfmt
- uses: Swatinem/rust-cache@v2
- run: wget -O qbittorrent.zip https://github.com/qbittorrent/qBittorrent/actions/runs/14036006589/artifacts/2807661246
- run: unzip -p qbittorrent.zip qbittorrent-CI_Ubuntu_x86_64.AppImage > qbittorrent-nox
- run: sudo ln -s $(pwd)/qbittorrent-nox /usr/local/bin/qbittorrent-nox
- run: mkdir -p /tmp/qbittorrent-nox
- run: ./scripts/qbittorrent.sh start /tmp/qbittorrent-nox 8080
- run: ./scripts/pre-commit.sh
- run: ./scripts/qbittorrent.sh stop /tmp/qbittorrent-nox