-
Notifications
You must be signed in to change notification settings - Fork 3
31 lines (30 loc) · 1.2 KB
/
release.yml
File metadata and controls
31 lines (30 loc) · 1.2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
name: Release
on: [workflow_dispatch]
jobs:
build:
runs-on: ubuntu-22.04
container:
# See in Makefile where this image comes from.
image: datadog/docker-library:httpd-datadog-ci-28219c0ef3e00f1e3d5afcab61a73a5e9bd2a9b957d7545556711cce2a6262cd
steps:
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
- name: Add cloned repo as safe
run: sh -c "git config --global --add safe.directory $PWD"
- name: Init required submodules
run: git submodule update --init --depth=1 deps/dd-trace-cpp deps/nginx-datadog
- name: Configure
run: cmake --preset ci-release -B build .
- name: Build
run: |
cmake --build build -j --verbose
cmake --install build --prefix dist
- name: Export library
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
with:
name: mod_datadog_artifact
path: dist/lib/mod_datadog.so
- name: Export library (debug symbol)
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
with:
name: mod_datadog_artifact-debug
path: dist/lib/mod_datadog.so.debug