diff options
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 |