Skip to content

Commit

Permalink
ci: update linux build github workflow for openocd
Browse files Browse the repository at this point in the history
Change-Id: Ie609e603914f32afc2caea47e3311b1b9a03011a
Signed-off-by: Huaqi Fang <[email protected]>
  • Loading branch information
fanghuaqi committed Jan 25, 2024
1 parent b587496 commit f573793
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/linux-build.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
on: pull_request
on: [push, pull_request]

name: Linux Build

Expand All @@ -16,8 +16,9 @@ jobs:
run: |
sudo apt-get update
sudo apt-get install clang gcc-multilib
sudo apt-get install libftdi1-2 libftdi1-dev
- run: ./bootstrap
- run: ./configure --enable-remote-bitbang --enable-jtag_vpi --disable-target64
- run: ./configure --enable-remote-bitbang --enable-jtag_vpi --disable-target64 --enable-jlink --enable-ftdi --disable-werror
- run: make -j`nproc`
- run: file src/openocd | grep 32-bit
- run: src/openocd --version
Expand All @@ -36,8 +37,9 @@ jobs:
run: |
sudo apt-get update
sudo apt-get install libusb-1.0-0 libusb-1.0-0-dev
sudo apt-get install libftdi1-2 libftdi1-dev
- run: ./bootstrap
- run: ./configure --enable-remote-bitbang --enable-jtag_vpi --enable-ftdi-oscan1
- run: ./configure --enable-remote-bitbang --enable-jtag_vpi --enable-ftdi-oscan1 --enable-jlink --enable-ftdi --disable-werror
- run: make -j`nproc`
- run: file src/openocd | grep 64-bit
- run: src/openocd --version

0 comments on commit f573793

Please sign in to comment.