mirror of
https://github.com/GuillemCastro/spotify-dl.git
synced 2024-11-13 22:50:26 +01:00
33 lines
597 B
YAML
33 lines
597 B
YAML
name: Build latest - Linux
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- '*'
|
|
|
|
env:
|
|
CARGO_TERM_COLOR: always
|
|
|
|
permissions:
|
|
contents: write
|
|
|
|
jobs:
|
|
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
strategy:
|
|
fail-fast: false
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- name: Setup cmake
|
|
uses: jwlawson/actions-setup-cmake@v1.13
|
|
- name: install Rust 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
|
|
run: |
|
|
cargo build --verbose --release
|
|
|