diff options
author | dizcza <dizcza@gmail.com> | 2020-08-08 21:07:10 +0200 |
---|---|---|
committer | dizcza <dizcza@gmail.com> | 2020-08-08 21:39:13 +0200 |
commit | ffcb15d3f25ebc25ee0dab68fadfe5e88e2b755f (patch) | |
tree | bde440e9372531022c5722aad531514c3ab0c83c /.circleci | |
parent | 382ba71905c2c09f10684d19cb5a3fcadf1aba39 (diff) | |
download | linmath.h-ffcb15d3f25ebc25ee0dab68fadfe5e88e2b755f.tar.gz linmath.h-ffcb15d3f25ebc25ee0dab68fadfe5e88e2b755f.tar.bz2 |
added tests
Diffstat (limited to '.circleci')
-rw-r--r-- | .circleci/config.yml | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/.circleci/config.yml b/.circleci/config.yml new file mode 100644 index 0000000..17987bb --- /dev/null +++ b/.circleci/config.yml @@ -0,0 +1,35 @@ +version: 2.1 + +jobs: + linmath-test: + machine: + image: ubuntu-1604:201903-01 + steps: + - run: gcc --version + - checkout + - run: + command: | + gcc -O0 -o linmath_test.o linmath_test.c -lm + ./linmath_test.o + name: linmath tests gcc -O0 + - run: + command: | + gcc -O1 -o linmath_test.o linmath_test.c -lm + ./linmath_test.o + name: linmath tests gcc -O1 + - run: + command: | + gcc -O2 -o linmath_test.o linmath_test.c -lm + ./linmath_test.o + name: linmath tests gcc -O2 + - run: + command: | + gcc -O3 -o linmath_test.o linmath_test.c -lm + ./linmath_test.o + name: linmath tests gcc -O3 + + +workflows: + main: + jobs: + - linmath-test |