Tristan Matthews | 2f85210 | 2020-10-02 01:00:37 -0400 | [diff] [blame] | 1 | default: |
| 2 | tags: |
| 3 | - docker |
| 4 | # Image from https://hub.docker.com/_/gcc/ based on Debian |
| 5 | image: gcc:9 |
| 6 | |
| 7 | .autoconf: |
| 8 | stage: build |
| 9 | before_script: |
| 10 | - apt-get update && |
| 11 | apt-get install -y libfftw3-dev |
| 12 | script: |
| 13 | - ./autogen.sh |
| 14 | - ./configure ${CONFIG_FLAGS} |
| 15 | - make |
| 16 | - make check |
| 17 | |
| 18 | autoconf: |
| 19 | extends: .autoconf |
| 20 | script: |
| 21 | - ./autogen.sh |
| 22 | - ./configure ${CONFIG_FLAGS} |
| 23 | - make |
| 24 | - make distcheck |
| 25 | |
| 26 | fixed-point: |
| 27 | extends: .autoconf |
| 28 | variables: |
| 29 | CONFIG_FLAGS: --enable-fixed-point |
| 30 | |
| 31 | no-float: |
| 32 | extends: .autoconf |
| 33 | variables: |
| 34 | CONFIG_FLAGS: --enable-fixed-point --disable-float-api |
| 35 | |
| 36 | no-examples: |
| 37 | extends: .autoconf |
| 38 | variables: |
| 39 | CONFIG_FLAGS: --disable-examples |