Update workflows & README

This commit is contained in:
Guillem Castro 2024-05-13 21:50:45 +02:00
parent ad9288d243
commit d56e5c6c78
7 changed files with 1 additions and 42 deletions

View file

@ -19,14 +19,8 @@ jobs:
fail-fast: false fail-fast: false
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- name: Setup cmake
uses: jwlawson/actions-setup-cmake@v1.13
- name: install Rust stable - name: install Rust stable
uses: dtolnay/rust-toolchain@stable uses: dtolnay/rust-toolchain@stable
- name: Setup alsa
run: |
sudo apt-get update
sudo apt-get install -y libasound2-dev gcc alsa
- name: Build - name: Build
run: | run: |
cargo build --verbose --release cargo build --verbose --release

View file

@ -19,8 +19,6 @@ jobs:
fail-fast: false fail-fast: false
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- name: Setup cmake
uses: jwlawson/actions-setup-cmake@v1.13
- name: install Rust stable - name: install Rust stable
uses: dtolnay/rust-toolchain@stable uses: dtolnay/rust-toolchain@stable
- name: Build - name: Build

View file

@ -19,8 +19,6 @@ jobs:
fail-fast: false fail-fast: false
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- name: Setup cmake
uses: jwlawson/actions-setup-cmake@v1.13
- name: install Rust stable - name: install Rust stable
uses: dtolnay/rust-toolchain@stable uses: dtolnay/rust-toolchain@stable
- name: Build - name: Build

View file

@ -19,14 +19,8 @@ jobs:
fail-fast: false fail-fast: false
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- name: Setup cmake
uses: jwlawson/actions-setup-cmake@v1.13
- name: install Rust stable - name: install Rust stable
uses: dtolnay/rust-toolchain@stable uses: dtolnay/rust-toolchain@stable
- name: Setup alsa
run: |
sudo apt-get update
sudo apt-get install -y libasound2-dev gcc alsa
- name: Build - name: Build
run: | run: |
cargo build --verbose --release cargo build --verbose --release

View file

@ -19,8 +19,6 @@ jobs:
fail-fast: false fail-fast: false
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- name: Setup cmake
uses: jwlawson/actions-setup-cmake@v1.13
- name: install Rust stable - name: install Rust stable
uses: dtolnay/rust-toolchain@stable uses: dtolnay/rust-toolchain@stable
- name: Build - name: Build

View file

@ -19,8 +19,6 @@ jobs:
fail-fast: false fail-fast: false
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- name: Setup cmake
uses: jwlawson/actions-setup-cmake@v1.13
- name: install Rust stable - name: install Rust stable
uses: dtolnay/rust-toolchain@stable uses: dtolnay/rust-toolchain@stable
- name: Build - name: Build

View file

@ -4,30 +4,9 @@ A command line utility to download songs, podcasts, playlists and albums directl
You need a Spotify Premium account. You need a Spotify Premium account.
## Dependencies
spotify-dl depends on libflac
### Debian-based distros
```
sudo apt install libflac-dev libasound2-dev
```
### Red Hat-based distros
```
sudo dnf install flac-devel alsa-lib-devel
```
### MacOSX
```
brew install flac
```
## Installation ## Installation
Before installation, make sure all dependencies are installed for your platform. You can install it using `cargo`, `homebrew` or from source.
### Using `cargo` ### Using `cargo`