-
-
Notifications
You must be signed in to change notification settings - Fork 86
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add workflow file to run arm-based testing with sanitizers #649
Conversation
Running tests. |
Seems it failed... I just pushed an update, let's see how it goes. |
Running... |
@lemire hmm, it is still failing... Off the top of your head, do you have any idea? |
.github/workflows/aarch64.yml
Outdated
- 'docs/**' | ||
|
||
permissions: | ||
contents: read |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So you specified that files could not be written, correct?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would just drop this permission step and see whether the permission issue resolved itself.
I am not quite sure why we specify permissions... :-/
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, actually I was more trying to follow the pattern I saw in other files. Also, the workflow file you shared with me as an example, it actually does not contain any permissions. I was wondering if adding permissions to write could be an issue.
.github/workflows/aarch64.yml
Outdated
cmake -DADA_SANITIZE=ON -DADA_DEVELOPMENT_CHECKS=ON -DBUILD_SHARED_LIBS=${{matrix.shared}} -G Ninja -B build | ||
cmake --build build -j=2 | ||
- name: Test | ||
run: ctest --output-on-failure --test-dir build |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Alternatively, we could try removing --output-on-failure
which might prevent ctest from creating logs, but I am not sure.
It looks like a permission problem. I am not sure what the source of the issue is. |
I have never seen this error:
|
Let us run the tests... |
.github/workflows/aarch64.yml
Outdated
cmake -DADA_SANITIZE=ON -DADA_DEVELOPMENT_CHECKS=ON -DBUILD_SHARED_LIBS=${{matrix.shared}} -G Ninja -B build | ||
cmake --build build -j=2 | ||
- name: Test | ||
run: ctest --test-dir build |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This needs to be inside the previous step just like the s360x workflow.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you also readd the permissions? It's important to limit the abilities of the workflow packages.
@anonrig I suspect that the memory sanitizer is still busted. :-( It finds problems inside the standard library. (It is clearly unrelated to this PR.) |
@CarlosEduR Yes. But at least we are now checking that things build, which is good. |
Fixes: #520