1*f0865ec9SKyle Evansname: libecc 2*f0865ec9SKyle Evans 3*f0865ec9SKyle Evans# Run this workflow every time a new commit pushed to your repository 4*f0865ec9SKyle Evanson: push 5*f0865ec9SKyle Evans 6*f0865ec9SKyle Evansjobs: 7*f0865ec9SKyle Evans runtime_tests: 8*f0865ec9SKyle Evans runs-on: ubuntu-22.04 9*f0865ec9SKyle Evans strategy: 10*f0865ec9SKyle Evans #max-parallel: 10 11*f0865ec9SKyle Evans matrix: 12*f0865ec9SKyle Evans cc: [gcc, clang] 13*f0865ec9SKyle Evans blinding: [1] 14*f0865ec9SKyle Evans cryptofuzz: [1] 15*f0865ec9SKyle Evans wordsize: [64, 32, 16] 16*f0865ec9SKyle Evans steps: 17*f0865ec9SKyle Evans # Checkout repository 18*f0865ec9SKyle Evans - name: checkout repository 19*f0865ec9SKyle Evans uses: actions/checkout@v2 20*f0865ec9SKyle Evans # Run actions 21*f0865ec9SKyle Evans # libecc runtime tests 22*f0865ec9SKyle Evans - name: libecc runtime tests 23*f0865ec9SKyle Evans env: 24*f0865ec9SKyle Evans CC: ${{ matrix.cc }} 25*f0865ec9SKyle Evans BLINDING: ${{ matrix.blinding }} 26*f0865ec9SKyle Evans CRYPTOFUZZ: ${{ matrix.cryptofuzz }} 27*f0865ec9SKyle Evans ASSERT_PRINT: 1 28*f0865ec9SKyle Evans # We want to parallelize self tests 29*f0865ec9SKyle Evans OPENMP_SELF_TESTS: 1 30*f0865ec9SKyle Evans WORDSIZE: ${{ matrix.wordsize }} 31*f0865ec9SKyle Evans shell: bash 32*f0865ec9SKyle Evans run: | 33*f0865ec9SKyle Evans # Install OpenMP 34*f0865ec9SKyle Evans sudo apt-get update; 35*f0865ec9SKyle Evans sudo apt-get -y install libomp-dev; 36*f0865ec9SKyle Evans # Vanilla tests 37*f0865ec9SKyle Evans # 38*f0865ec9SKyle Evans make "${WORDSIZE}" && ./build/ec_self_tests vectors rand; 39*f0865ec9SKyle Evans continue-on-error: false 40