Skip to content

Commit

Permalink
Upload build output as artifact for testing
Browse files Browse the repository at this point in the history
  • Loading branch information
alopezz committed Jan 24, 2024
1 parent e07fd08 commit 602529e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .builders/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ def build_macos():
# Path where we'll install libraries that we build
'DD_PREFIX_PATH': prefix_path,
# Common compilation flags
'LDFLAGS': f'-Wl,-rpath,{prefix_path}/lib -L{prefix_path}/lib',
'LDFLAGS': f'-Wl -L{prefix_path}/lib',
'CFLAGS': f'-I{prefix_path}/include -O2',
# Build command for extra platform-specific build steps
'DD_BUILD_COMMAND': f'bash {build_context_dir}/extra_build.sh'
Expand Down
7 changes: 7 additions & 0 deletions .github/workflows/build-deps-macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,3 +42,10 @@ jobs:
mkdir builder_root
${DD_PYTHON3} .builders/build.py --builder-root builder_root --python 3 out_py3
${DD_PYTHON3} .builders/build.py --builder-root builder_root --skip-setup --python 2 out_py2
- name: "Upload build result for offline testing and debugging"
uses: actions/upload-artifact@v4
with:
name: macos-deps
path: out_py3
retention-days: 1

0 comments on commit 602529e

Please sign in to comment.