| | |
| | | steps: |
| | | - uses: actions/checkout@v2 |
| | | |
| | | - name: allow_x86 |
| | | run: sudo dpkg --add-architecture i386 |
| | | |
| | | - name: install_dependencies |
| | | run: sudo apt-get install libcunit1-dev clang gcc-multilib libcunit1-dev:i386 |
| | | run: sudo apt-get install libcunit1-dev clang |
| | | |
| | | - name: make |
| | | run: make clean all |
| | |
| | | CC: clang |
| | | CFLAGS: -g -O0 -fsanitize=address -DUSE_MEMORY_ALLOCATION_FREE=0 |
| | | LDFLAGS: -g -fsanitize=address |
| | | run: make clean test |
| | | |
| | | - name: gcc_x86 |
| | | env: |
| | | CFLAGS: -m32 |
| | | LDFLAGS: -m32 |
| | | run: make clean test |
| | | |
| | | - name: gcc_x86_c89 |
| | | env: |
| | | CFLAGS: -m32 -std=c89 |
| | | LDFLAGS: -m32 |
| | | run: make clean test |
| | | |
| | | - name: gcc_x86_c90 |
| | | env: |
| | | CFLAGS: -m32 -std=c90 |
| | | LDFLAGS: -m32 |
| | | run: make clean test |
| | | |
| | | - name: gcc_x86_c99 |
| | | env: |
| | | CFLAGS: -m32 -std=c99 |
| | | LDFLAGS: -m32 |
| | | run: make clean test |
| | | |
| | | - name: gcc_x86_gnu99 |
| | | env: |
| | | CFLAGS: -m32 -std=gnu99 |
| | | LDFLAGS: -m32 |
| | | run: make clean test |
| | | |
| | | - name: coverage |