| 1 | version: 0.2 |
| 2 | #this build spec assumes the ubuntu 14.04 trusty image |
| 3 | phases: |
| 4 | install: |
| 5 | commands: |
| 6 | - sudo apt-get update -y |
| 7 | - sudo apt-get install gcc gcc-multilib cmake3 -y |
| 8 | pre_build: |
| 9 | commands: |
| 10 | - export CC=gcc |
| 11 | build: |
| 12 | commands: |
| 13 | - echo Build started on `date` |
| 14 | - ./codebuild/common-posix.sh -DCMAKE_C_FLAGS="-m32" -DCMAKE_LINK_FLAGS="-m32" |
| 15 | post_build: |
| 16 | commands: |
| 17 | - echo Build completed on `date` |
| 18 |