From 8efee948ebda0ffb17d92a740d24c0582bc52050 Mon Sep 17 00:00:00 2001 From: Ruben Nijveld Date: Thu, 7 Mar 2024 12:12:11 +0100 Subject: [PATCH] Create release builds with debug symbols --- .github/workflows/packaging.yml | 2 +- Cargo.toml | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/packaging.yml b/.github/workflows/packaging.yml index b2c02bc37..cde69a462 100644 --- a/.github/workflows/packaging.yml +++ b/.github/workflows/packaging.yml @@ -11,7 +11,7 @@ on: jobs: package: - uses: NLnetLabs/ploutos/.github/workflows/pkg-rust.yml@v7 + uses: pendulum-project/ploutos/.github/workflows/pkg-rust.yml@provide-debug-symbols with: workspace_package: statime-linux diff --git a/Cargo.toml b/Cargo.toml index dd814f00d..0545bea32 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -40,7 +40,7 @@ tokio = "1.33" rand = { version = "0.8.5", default-features = false } serde = { version = "1.0.192", features = ["derive"] } serde_json = { version = "1.0.111" } -serde_test = { version = "1.0.176" } +serde_test = { version = "1.0.176" } az = "1.2.1" fixed = "1.24" libm = "0.2.8" @@ -53,3 +53,6 @@ timestamped-socket = "0.2.0" # our own crates used as dependencies, same version as the workspace version # NOTE: keep this part at the bottom of the file, do not change this line statime = { version = "0.1.0", path = "./statime" } + +[profile.release] +debug = 2