opnsense-src/crypto/libecc/.github/workflows/libecc_runtime_tests.yml
Kyle Evans 539736e08c Add 'crypto/libecc/' from commit '736d663976d1768533badbf06581481d01fade4c'
git-subtree-dir: crypto/libecc
git-subtree-mainline: f59bb61e1eb4d1e4fc3c60cc14779d0668267cb2
git-subtree-split: 736d663976d1768533badbf06581481d01fade4c
(cherry picked from commit f0865ec9906d5a18fa2a3b61381f22ce16e606ad)
2025-01-10 20:48:23 -06:00

39 lines
1 KiB
YAML
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

name: libecc
# Run this workflow every time a new commit pushed to your repository
on: push
jobs:
runtime_tests:
runs-on: ubuntu-22.04
strategy:
#max-parallel: 10
matrix:
cc: [gcc, clang]
blinding: [1]
cryptofuzz: [1]
wordsize: [64, 32, 16]
steps:
# Checkout repository
- name: checkout repository
uses: actions/checkout@v2
# Run actions
# libecc runtime tests
- name: libecc runtime tests
env:
CC: ${{ matrix.cc }}
BLINDING: ${{ matrix.blinding }}
CRYPTOFUZZ: ${{ matrix.cryptofuzz }}
ASSERT_PRINT: 1
# We want to parallelize self tests
OPENMP_SELF_TESTS: 1
WORDSIZE: ${{ matrix.wordsize }}
shell: bash
run: |
# Install OpenMP
sudo apt-get update;
sudo apt-get -y install libomp-dev;
# Vanilla tests
#
make "${WORDSIZE}" && ./build/ec_self_tests vectors rand;
continue-on-error: false