1name: libecc 2 3# Run this workflow every time a new commit pushed to your repository 4on: push 5 6jobs: 7 compilation_tests: 8 runs-on: ubuntu-22.04 9 strategy: 10 #max-parallel: 10 11 matrix: 12 cc: [gcc, clang, g++, clang++] 13 blinding: [0, 1] 14 complete: [0, 1] 15 ladder: [0, 1] 16 cryptofuzz: [0, 1] 17 optflags: ["-O3", "-O2", "-O1"] 18 steps: 19 # Checkout repository 20 - name: checkout repository 21 uses: actions/checkout@v2 22 # Run actions 23 # libecc compilation tests using meson 24 - name: libecc meson compilation tests 25 shell: bash 26 run: | 27 sudo apt-get update; 28 sudo apt-get -y install python3-pip; 29 pip install meson; 30 pip install ninja; 31 pip install dunamai; 32 # Compilation tests of all cases 33 # 34 rm -rf builddir/ && meson setup -Dwith_wordsize=16 builddir && cd builddir && meson dist && cd -; 35 rm -rf builddir/ && meson setup -Dwith_wordsize=32 builddir && cd builddir && meson dist && cd -; 36 rm -rf builddir/ && meson setup -Dwith_wordsize=64 builddir && cd builddir && meson dist && cd -; 37 continue-on-error: false 38