aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJ08nY2023-10-05 17:44:52 +0200
committerJ08nY2023-10-05 17:44:52 +0200
commitc8b7d31d90256f75c859005f41f1cf7226e25481 (patch)
treee81ede6064a47dcf7f13100bf87eadcd3bf12987
parent61c3c582269517c397a5d5d81122734b7ef9c7c7 (diff)
downloadpyecsca-codegen-c8b7d31d90256f75c859005f41f1cf7226e25481.tar.gz
pyecsca-codegen-c8b7d31d90256f75c859005f41f1cf7226e25481.tar.zst
pyecsca-codegen-c8b7d31d90256f75c859005f41f1cf7226e25481.zip
Upload bad impl to artifact.
-rw-r--r--.github/workflows/test.yml9
1 files changed, 8 insertions, 1 deletions
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index 7d77cdc..1f07240 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -47,7 +47,14 @@ jobs:
pip install -e ".[test, dev]"
- name: Build test config
run: |
- env DEBUG=1 OPT=0 builder build --platform HOST --red BARRETT --no-remove -v shortw projective add-1998-cmo dbl-1998-cmo "sliding(width=3,recoding_direction=ProcessingDirection.RTL)" .
+ builder build --platform HOST --red BARRETT --no-remove -v shortw projective add-1998-cmo dbl-1998-cmo "sliding(width=3,recoding_direction=ProcessingDirection.RTL)" .
+ - name: Upload bad impl
+ uses: actions/upload-artifact@v3
+ with:
+ name: bad-impl
+ path: pyecsca-codegen-HOST.elf
+ - name: Run bad impl
+ run: |
echo -e "c7010fffffffdffffffffffffffffffffffff6e10fffffffe0000000075a30d1b9038a1156801016110fffffffdfffffffffffffffffffffffc6210e87579c11079f43dd824993c2cee5ed3e7247810161ff7528b899b2d0c28607ca52c5b867910cf5ac8395bafeb13c02da292dded7a83e9036e0101\ng\nx\n" | valgrind --track-origins=yes --leak-check=full ./pyecsca-codegen-HOST.elf
- name: Test
run: |