summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
blob: e98955e10930e2824127f83a9c449308f78b8ade (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# See http://doc.gitlab.com/ce/ci/yaml/ for documentation.
Build and Check (x86-64):
  script:
  - git submodule update --init && make autoreconf && ./configure --disable-doc && make -j4 && make -j4 check
  except:
  - tags
Build and Check with asan:
  script:
  - git submodule update --init && make autoreconf && CFLAGS="-fsanitize=address -g
    -O2" LDFLAGS="-static-libasan" ./configure --disable-doc --disable-valgrind-tests && make -j4 && make check -j4
  except:
  - tags
Build and Check with ubsan:
  script:
  - git submodule update --init && make autoreconf && CFLAGS="-fsanitize=undefined -fno-sanitize-recover -g
    -O2" LDFLAGS="-static-libubsan" ./configure --disable-doc --disable-valgrind-tests && make -j4 && make check -j4
  tags:
  - ubsan
  except:
  - tags