Skip to content
Snippets Groups Projects
Commit 416191ff authored by David Stainton's avatar David Stainton
Browse files

.gitlab-ci.yml run tests and benchmarks for each bit size

parent 359d9f4d
No related branches found
No related tags found
1 merge request!4Add untested .gitlab-ci.yml file
...@@ -29,8 +29,27 @@ test: ...@@ -29,8 +29,27 @@ test:
- unzip high-ctidh.zip - unzip high-ctidh.zip
- export P=`pwd` - export P=`pwd`
- cd .. - cd ..
# 511
- cp binding511.h binding.h
- export CTIDH_BITS=511
- export CGO_CFLAGS="-g -I${P} -DBITS=${CTIDH_BITS}"
- export CGO_LDFLAGS="-L${P} -Wl,-rpath,${P} -lhighctidh_${CTIDH_BITS}"
- go test -v -bench .
# 512
- cp binding512.h binding.h
- export CTIDH_BITS=512
- export CGO_CFLAGS="-g -I${P} -DBITS=${CTIDH_BITS}"
- export CGO_LDFLAGS="-L${P} -Wl,-rpath,${P} -lhighctidh_${CTIDH_BITS}"
- go test -v -bench .
# 1024
- cp binding1024.h binding.h - cp binding1024.h binding.h
- export CTIDH_BITS=1024 - export CTIDH_BITS=1024
- export CGO_CFLAGS="-g -I${P} -DBITS=${CTIDH_BITS}" - export CGO_CFLAGS="-g -I${P} -DBITS=${CTIDH_BITS}"
- export CGO_LDFLAGS="-L${P} -Wl,-rpath,${P} -lhighctidh_${CTIDH_BITS}" - export CGO_LDFLAGS="-L${P} -Wl,-rpath,${P} -lhighctidh_${CTIDH_BITS}"
- go test -v - go test -v -bench .
\ No newline at end of file # 2048
- cp binding2048.h binding.h
- export CTIDH_BITS=2048
- export CGO_CFLAGS="-g -I${P} -DBITS=${CTIDH_BITS}"
- export CGO_LDFLAGS="-L${P} -Wl,-rpath,${P} -lhighctidh_${CTIDH_BITS}"
- go test -v -bench .
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment