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