aboutsummaryrefslogtreecommitdiff
path: root/.circleci/config.yml
blob: 17987bbbbd21077415a2b6af4b5bb843807dd85c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
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