Open
Conversation
Signed-off-by: Arthur Queiroz Moura <[email protected]>
.github/workflows/actions.yml
Outdated
Comment on lines
+35
to
+50
| - name: Build TSANO Interceptor | ||
| run: | | ||
| cmake -S dice -B dice/build | ||
| cmake --build dice/build --target tsano | ||
| - name: Compile Test with Sanitizer | ||
| run: | ||
| gcc -std=c11 -O1 -g -pthread -fsanitize=thread tests/atomic_stable.c -o tests/atomic_stable | ||
| - name: Build Rust Crate (Manual Link) | ||
| run: | | ||
| cargo build | ||
| cargo build --features dice-rs/manual-link | ||
| - name: Link the Rust static library (`librecorder.a`) with your standalone dice library (`libdice.a`). | ||
| run: | ||
| cc -shared -o librecorder.so -Wl,--whole-archive target/debug/librecorder.a target/debug/libdice.a -Wl,--no-whole-archive -lpthread -ldl | ||
| - name: Run with TSANO | ||
| run: TSANO_LIBDIR=dice/build/deps/tsano ./dice/deps/tsano/tsano LD_PRELOAD=./librecorder.so ./tests/atomic_stable |
There was a problem hiding this comment.
Violates DRY, please include the commands only once in the repository to avoid future divergence.
You can check with @DIvanov503 for some good suggestions of how to achieve that
added 3 commits
January 27, 2026 14:27
Signed-off-by: Arthur Queiroz Moura <[email protected]>
Signed-off-by: Arthur Queiroz Moura <[email protected]>
Signed-off-by: Arthur Queiroz Moura <[email protected]>
Signed-off-by: Arthur Queiroz Moura <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.