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:
parent
77b28ced14
commit
7544347cba
|
@ -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
|
Loading…
Reference in New Issue