blob: 2ed67dde075c8ccc8346fb6d791095a4be600614 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
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 libusb-1.0-0-dev
- run: ./bootstrap
- run: ./configure --enable-remote-bitbang --enable-jtag_vpi --disable-target64 --enable-ftdi-oscan1
- run: make
- run: file src/openocd | grep 32-bit
# 64-bit, gcc
build64:
runs-on: ubuntu-latest
env:
CFLAGS: -m64
CC: gcc
steps:
- name: Checkout Code
uses: actions/checkout@v2
- run: sudo apt-get install libusb-1.0-0-dev
- run: ./bootstrap
- run: ./configure --enable-remote-bitbang --enable-jtag_vpi --enable-ftdi-oscan1
- run: make
- run: file src/openocd | grep 64-bit
|