Skip to content

Commit

Permalink
more ci fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
BaptisteFoy committed Dec 31, 2024
1 parent 62b32df commit 286e02f
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ jobs:
env:
RUSTFLAGS: "${{ matrix.flags }}"
run: |
cargo run --bin release --features profiling,telemetry,data-pipeline,symbolizer,crashtracker --release -- --out $LIBDD_OUTPUT_FOLDER
cargo run --bin release --features profiling,telemetry,data-pipeline,symbolizer,crashtracker,datadog-library-config-ffi --release -- --out $LIBDD_OUTPUT_FOLDER
- name: 'Publish libdatadog'
uses: actions/upload-artifact@v4
Expand Down
1 change: 1 addition & 0 deletions builder/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ profiling = []
telemetry = []
data-pipeline = []
symbolizer = []
datadog-library-config-ffi = []

[lib]
bench = false
Expand Down
2 changes: 2 additions & 0 deletions builder/src/profiling.rs
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ impl Profiling {
headers.push("data-pipeline.h");
#[cfg(feature = "symbolizer")]
headers.push("blazesym.h");
#[cfg(feature = "datadog-library-config-ffi")]
headers.push("library-config.h");

let mut origin_path: PathBuf = [&self.source_include, "dummy.h"].iter().collect();
let mut target_path: PathBuf = [&self.target_include, "dummy.h"].iter().collect();
Expand Down
2 changes: 1 addition & 1 deletion tools/docker/Dockerfile.build
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ RUN cargo build --lib --workspace --exclude builder
RUN cargo build --release --lib --workspace --exclude builder

COPY ./ ./
RUN cargo run --bin release --features profiling,telemetry,data-pipeline,symbolizer,crashtracker --release -- --out /build/output
RUN cargo run --bin release --features profiling,telemetry,data-pipeline,symbolizer,crashtracker,datadog-library-config-ffi --release -- --out /build/output

FROM scratch as ffi_build_output

Expand Down

0 comments on commit 286e02f

Please sign in to comment.