mirror of
https://github.com/aome510/spotify-player.git
synced 2026-04-26 09:25:49 +03:00
[GH-ISSUE #350] Comprehensive CI suite #187
Labels
No labels
bug
documentation
enhancement
good first issue
help wanted
pull-request
question
third-party
third-party
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/spotify-player#187
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @LucasFA on GitHub (Jan 26, 2024).
Original GitHub issue: https://github.com/aome510/spotify-player/issues/350
Originally assigned to: @LucasFA on GitHub.
Well, we just had #349, an issue about breaking with rust versions up to and including 1.73. That was a case from the bump in MSVR in souvlaki: Sinono3/souvlaki#46, breaking pulseaudio. Let's test this doesn't happen.
There's quite a few features, so we can't check each combination, but we could at least check each backend and feature once and use more sparse testing with the rest of the feature space. Another with as many features as possible, too.
There's also some interaction between target features and target OS, at least around the daemon code, so there's even more combinations.
I'm going to list all possible features (if I miss any please warn)
Audio backends
Each requires their own dependencies to compile.
Features
A: Media control is compiled in by default but only actually active on Linux by default because of what seems described as a bug or something.
B: requires: 1.
not(Windows)(README), 2.streaming(code), 3.not((W || macOS) && media-control)(code, C), 4.C: I don't know if what I found was intended. As written it's that way, I think. Lines 285 of
spotify-player/main.rs. Also, I think some of these can be turned into compile time errors.@LucasFA commented on GitHub (Mar 2, 2024):
There's #385, but I am still puzzles by this tangent: the Daemon feature requires
main.rs, which leads to a sys exit of 1)One way or the other this can be turned into a compile time error - but to confirm, compiling on Windows with the daemon feature just doesn't work, right? I don't want to write a
compile_error!only to find out it does work@aome510 commented on GitHub (Mar 4, 2024):
I'm not sure if it will fail to compile. The readme was added based on https://github.com/aome510/spotify-player/pull/263#issuecomment-1742623193.
Sounds good to me but maybe only for "not to have the media-control feature enabled, if on Windows or Mac". I haven't confirmed the first one.
@LucasFA commented on GitHub (Mar 4, 2024):
FWIW, I just
cargo b --features daemon --target x86_64-pc-windows-gnuand thedaemonizecrate does fail to compile, starting withWhich I'd take to mean that the crate only supports unix-likes.
Sounds good
@aome510 commented on GitHub (Mar 4, 2024):
Got it. Thanks for the confirmation.