ci: Add a github workflow to do a build test

Add a workflow that does a build of openocd on a PR or push.

Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
This commit is contained in:
Kumar Gala 2020-01-15 12:18:17 -06:00
parent 393f1cd8c4
commit b2b038351e
1 changed files with 19 additions and 0 deletions

19
.github/workflows/build.yml vendored Normal file
View File

@ -0,0 +1,19 @@
name: Build Test
on: [push,pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: install pkg
run: sudo apt-get install -y libusb-1.0 libhidapi-dev libhidapi-libusb0 libftdi-dev
- name: bootstrap
run: ./bootstrap
- name: configure
run: ./configure --enable-ftdi --enable-cmsis-dap --enable-jlink --enable-stlink --disable-doxygen-html
- name: make
run: make -j4