File tree Expand file tree Collapse file tree 3 files changed +39
-0
lines changed Expand file tree Collapse file tree 3 files changed +39
-0
lines changed Original file line number Diff line number Diff line change 2525 - uses : actions/setup-go@v4
2626 with :
2727 go-version : ' 1.22'
28+ - name : Install RELIC dependencies
29+ run : |
30+ sudo apt-get update
31+ sudo apt-get install -y cmake libgmp-dev libssl-dev libomp-dev
32+ - name : Install RELIC library
33+ run : |
34+ git clone https://github.com/relic-toolkit/relic.git /tmp/relic
35+ cd /tmp/relic
36+ mkdir build && cd build
37+ cmake -DALLOC=AUTO -DWSIZE=64 -DRAND=UDEV -DSHLIB=ON -DSTBIN=ON -DTIMER=HREAL -DCHECK=ON -DVERBS=ON -DARITH=x64-asm-254 -DFP_PRIME=254 -DFP_METHD="INTEG;INTEG;INTEG;MONTY;LOWER;SLIDE" -DFPX_METHD="INTEG;INTEG;LAZYR" -DPP_METHD="LAZYR;OATEP" -DCOMP="-O3 -funroll-loops -fomit-frame-pointer -finline-small-functions -march=native -mtune=native" -DFP_QNRES=ON -DFP_SQRTF=ON ..
38+ make -j$(nproc)
39+ sudo make install
40+ sudo ldconfig
2841 # Initializes the CodeQL tools for scanning.
2942 - name : Initialize CodeQL
3043 uses : github/codeql-action/init@v2
Original file line number Diff line number Diff line change 1919 with :
2020 go-version : ' 1.22'
2121 - uses : actions/checkout@v3
22+ - name : Install RELIC dependencies
23+ run : |
24+ sudo apt-get update
25+ sudo apt-get install -y cmake libgmp-dev libssl-dev libomp-dev
26+ - name : Install RELIC library
27+ run : |
28+ git clone https://github.com/relic-toolkit/relic.git /tmp/relic
29+ cd /tmp/relic
30+ mkdir build && cd build
31+ cmake -DALLOC=AUTO -DWSIZE=64 -DRAND=UDEV -DSHLIB=ON -DSTBIN=ON -DTIMER=HREAL -DCHECK=ON -DVERBS=ON -DARITH=x64-asm-254 -DFP_PRIME=254 -DFP_METHD="INTEG;INTEG;INTEG;MONTY;LOWER;SLIDE" -DFPX_METHD="INTEG;INTEG;LAZYR" -DPP_METHD="LAZYR;OATEP" -DCOMP="-O3 -funroll-loops -fomit-frame-pointer -finline-small-functions -march=native -mtune=native" -DFP_QNRES=ON -DFP_SQRTF=ON ..
32+ make -j$(nproc)
33+ sudo make install
34+ sudo ldconfig
2235 - uses : golangci/golangci-lint-action@v4
2336 with :
2437 version : v1.61
Original file line number Diff line number Diff line change 1717 with :
1818 go-version : ' 1.22'
1919 - uses : actions/checkout@v3
20+ - name : Install RELIC dependencies
21+ run : |
22+ sudo apt-get update
23+ sudo apt-get install -y cmake libgmp-dev libssl-dev libomp-dev
24+ - name : Install RELIC library
25+ run : |
26+ git clone https://github.com/relic-toolkit/relic.git /tmp/relic
27+ cd /tmp/relic
28+ mkdir build && cd build
29+ cmake -DALLOC=AUTO -DWSIZE=64 -DRAND=UDEV -DSHLIB=ON -DSTBIN=ON -DTIMER=HREAL -DCHECK=ON -DVERBS=ON -DARITH=x64-asm-254 -DFP_PRIME=254 -DFP_METHD="INTEG;INTEG;INTEG;MONTY;LOWER;SLIDE" -DFPX_METHD="INTEG;INTEG;LAZYR" -DPP_METHD="LAZYR;OATEP" -DCOMP="-O3 -funroll-loops -fomit-frame-pointer -finline-small-functions -march=native -mtune=native" -DFP_QNRES=ON -DFP_SQRTF=ON ..
30+ make -j$(nproc)
31+ sudo make install
32+ sudo ldconfig
2033 - name : Run Go Tests
2134 run : |
2235 make test-all
You can’t perform that action at this time.
0 commit comments