Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 29 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Cdio's Rust CI

on:
push:
branches: [ "main" ]
pull_request:

env:
CARGO_TERM_COLOR: always

jobs:
ci:
strategy:
matrix:
os: [windows-latest, macos-latest, ubuntu-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v7
- uses: Swatinem/rust-cache@v2
- name: (TEMP) Update skr4n's libcdio-sys dependency
run: cargo update -p libcdio-sys
- name: Build
run: cargo build --all-features
- name: Test
run: cargo test --all-features
- name: Format
run: cargo fmt -- --check
- name: Lint
run: cargo clippy --all-features --all-targets -- -D warnings
30 changes: 26 additions & 4 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ readme = "README.md"
repository = "https://github.com/libcdio/cdio-rust"

[workspace.dependencies]
libcdio-sys = { version = "2.0.0", default-features = false }
libcdio-sys = { git = "https://github.com/MonterraByte/libcdio-sys.git" }
# libcdio-sys = { version = "2.0.0", default-features = false }
test-log = { version = "0.2.20", features = ["trace"] }
time = "0.3.47"
tracing = { version = "0.1.44", default-features = false, features = ["log", "std"] }