aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/.github/workflows
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2021-03-24 20:34:15 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2021-03-24 20:42:25 +0300
commit9e5c0c3b91f7903c7cb97368d90a9171ea63d52c (patch)
treedfbb8bd419af66dc35feef9c7ceda441ef3a09e5 /.github/workflows
parentBoost::disable_autolinking is mandatory (diff)
downloadaes-tools-9e5c0c3b91f7903c7cb97368d90a9171ea63d52c.tar.gz
aes-tools-9e5c0c3b91f7903c7cb97368d90a9171ea63d52c.zip
add CTest tests
Diffstat (limited to '')
-rw-r--r--.github/workflows/ci.yml26
1 files changed, 3 insertions, 23 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index a954dfa..9ba227e 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -62,28 +62,8 @@ jobs:
with:
name: 'aes-tools-${{ matrix.os }}-${{ matrix.toolset }}-${{ matrix.platform }}-asm${{ matrix.use_asm }}-${{ matrix.configuration }}'
path: '${{ runner.workspace }}/build/install/'
- - name: Run test/nist.py
+ - name: Test
run: |
- python test/nist.py --path ../build/install/bin --log test/nist.log
- Get-Content test/nist.log -Tail 5
- if: runner.os == 'Windows'
- - name: Run test/cavp.py
- run: |
- python test/cavp.py --path ../build/install/bin --log test/cavp.log
- Get-Content test/cavp.log -Tail 5
- if: runner.os == 'Windows'
- - name: Run test/nist.py --boxes
- run: |
- python test/nist.py --path ../build/install/bin --log test/nist.log --boxes
- Get-Content test/nist.log -Tail 5
- if: runner.os == 'Windows'
- - name: Run test/cavp.py --boxes
- run: |
- python test/cavp.py --path ../build/install/bin --log test/cavp.log --boxes
- Get-Content test/cavp.log -Tail 5
- if: runner.os == 'Windows'
- - name: Run test/file.py
- run: |
- python test/file.py --path ../build/install/bin --log test/file.log
- Get-Content test/file.log -Tail 5
+ cd ../build/cmake
+ ctest -C '${{ env.CONFIGURATION }}' --verbose
if: runner.os == 'Windows'