diff options
author | datenwolf <code+github@datenwolf.net> | 2021-01-06 11:28:51 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-06 11:28:51 +0100 |
commit | 05387571f57224f8cbc2b390b423dab6b9158988 (patch) | |
tree | ed88a346f022c7f01dfbb6d44f2d242f52857e08 /.circleci/config.yml | |
parent | 3db0026ffe2c3b57abb71e2793c61ec363091359 (diff) | |
parent | ffcb15d3f25ebc25ee0dab68fadfe5e88e2b755f (diff) | |
download | linmath.h-05387571f57224f8cbc2b390b423dab6b9158988.tar.gz linmath.h-05387571f57224f8cbc2b390b423dab6b9158988.tar.bz2 |
Merge pull request #42 from dizcza/tests
Added tests, fixed a bug, and more
Diffstat (limited to '.circleci/config.yml')
-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 |