commit f112a277a387922ce9f1cddb9be8f47bba6c323e from: witcher date: Mon Aug 15 18:38:25 2022 UTC Strip symbols on release builds + building docs Enable stripping symbols with cargo by default on release builds. Build documentation with `scdoc` in CI. commit - ded4df750c33005934b50605dd106addbe05b682 commit + f112a277a387922ce9f1cddb9be8f47bba6c323e blob - e9c1c729a97f38384c57c07559ed29277ad7e762 blob + bcac264d74f96bc9027c2ed0ae03130d91f5465f --- .build.yml +++ .build.yml @@ -9,6 +9,7 @@ packages: - git - openssl-dev - sqlite-dev + - scdoc sources: - https://git.sr.ht/~witcher/rss-email tasks: @@ -27,9 +28,15 @@ tasks: - build: | cd rss-email cargo build + - docs: | + cd rss-email + scdoc < docs/rss-email.1.scd > docs/rss-email.1 - test: | cd rss-email cargo test - clippy: | cd rss-email cargo clippy -- -D warnings +artifacts: + - rss-email/docs/rss-email.1 + - rss-email/target/release/rss-email blob - 836aa93a50eb5e4af7964ebeaeb4679ed681b141 blob + fe45c4522762c2656242351e211a69ecc1d17362 --- Cargo.toml +++ Cargo.toml @@ -4,6 +4,9 @@ version = "0.1.0" authors = ["witcher "] edition = "2021" +[profile.release] +strip = "symbols" + [dependencies] diesel = { version = "1.4", features = ["sqlite"] } rss = "2.0"