Skip to content
This repository has been archived by the owner on Nov 5, 2024. It is now read-only.

Commit

Permalink
Add ASAN build
Browse files Browse the repository at this point in the history
  • Loading branch information
pudelkoM authored Oct 5, 2019
1 parent 51f34f4 commit 9bec07c
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 2 deletions.
1 change: 1 addition & 0 deletions .circleci/build-sdklt.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ export SDK=$SDKLT/src
# export CC=clang-3.9
# export LD=lld-3.9
# export ADD_CFLAGS="-g -fno-omit-frame-pointer -O0"
# export ADD_LDFLAGS=""

cd $SDK/appl/demo
make TARGET_PLATFORM=xlr_linux clean -j
Expand Down
18 changes: 16 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,13 +39,27 @@ jobs:
rm linux-4.14.49-OpenNetworkLinux.tar.xz
popd
- checkout
- run:
name: Create build directory
command: mkdir -p ~/build
- run:
name: Build SDKLT
command: .circleci/build-sdklt.sh
command: |
export ADD_CFLAGS="-fomit-frame-pointer -O3"
.circleci/build-sdklt.sh
mv ~/sdklt-4.14.49.tgz ~/build/sdklt-4.14.49.tgz
- run:
name: Build SDKLT debug
command: |
export ADD_CFLAGS="-g -fno-omit-frame-pointer -O0 -fsanitize=address"
export ADD_LDFLAGS="-fsanitize=address"
.circleci/build-sdklt.sh
mv ~/sdklt-4.14.49.tgz ~/build/sdklt-debug-4.14.49.tgz
- persist_to_workspace:
root: ~/
root: ~/build/
paths:
- sdklt-4.14.49.tgz
- sdklt-debug-4.14.49.tgz

publish-github-release:
docker:
Expand Down

0 comments on commit 9bec07c

Please sign in to comment.