Skip to content

Commit

Permalink
test: fix sanitizer test stability by enabling PIE/PIC (#358)
Browse files Browse the repository at this point in the history
* ci: use app-token-action for release token

* test: fix sanitizer test stability by enabling PIE/PIC
  • Loading branch information
rjaegers authored Mar 12, 2024
1 parent b24a2b5 commit 8653908
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,12 @@ jobs:
create-release:
runs-on: ubuntu-latest
steps:
- uses: philips-software/app-token-action@9f5d57062c9f2beaffafaa9a34f66f824ead63a9 # v2.0.0
id: token
with:
app_id: ${{ secrets.FOREST_RELEASER_APP_ID }}
app_base64_private_key: ${{ secrets.FOREST_RELEASER_APP_PRIVATE_KEY_BASE64 }}
auth_type: installation
- uses: google-github-actions/release-please-action@a37ac6e4f6449ce8b3f7607e4d97d0146028dc0b # v4.1.0
with:
token: ${{ secrets.AMP_RELEASER_TOKEN }}
token: ${{ steps.token.outputs.token }}
3 changes: 3 additions & 0 deletions test/sanitizers/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,6 @@ target_link_options(test-ubsan PRIVATE -fsanitize=undefined)
add_executable(test-memsan EXCLUDE_FROM_ALL memsan.cpp)
target_compile_options(test-memsan PRIVATE -fsanitize=memory -fno-omit-frame-pointer)
target_link_options(test-memsan PRIVATE -fsanitize=memory)

set_target_properties(test-asan test-threadsan test-ubsan test-memsan
PROPERTIES POSITION_INDEPENDENT_CODE TRUE)

0 comments on commit 8653908

Please sign in to comment.