on: pull_request
name: Linux Build
jobs:
# 32-bit, clang
build32:
runs-on: ubuntu-latest
env:
CFLAGS: -m32
CC: clang
steps:
- name: Checkout Code
uses: actions/checkout@v2
- run: sudo apt-get install clang gcc-multilib
- run: ./bootstrap
- run: ./configure --enable-remote-bitbang --enable-jtag_vpi --disable-target64
- run: make
- run: file src/openocd | grep 32-bit
# 64-bit, gcc
build64:
CFLAGS: -m64
CC: gcc
- run: sudo apt-get install libusb-1.0-0 libusb-1.0-0-dev
- run: ./configure --enable-remote-bitbang --enable-jtag_vpi --enable-ftdi-oscan1
- run: file src/openocd | grep 64-bit