2021-04-14 18:18:24 +00:00
|
|
|
name: C/C++ CI
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches: [ master ]
|
|
|
|
pull_request:
|
|
|
|
branches: [ master ]
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
2021-04-14 22:00:06 +00:00
|
|
|
- name: bootstrap
|
2021-08-16 12:23:39 +00:00
|
|
|
run: |
|
|
|
|
sudo apt install libusb-1.0-0-dev
|
|
|
|
./bootstrap
|
2021-04-14 18:18:24 +00:00
|
|
|
- name: configure
|
|
|
|
run: ./configure
|
|
|
|
- name: make
|
2021-04-17 04:22:33 +00:00
|
|
|
run: make -j 4
|
2021-04-14 18:18:24 +00:00
|
|
|
- name: make check
|
|
|
|
run: make check
|
|
|
|
- name: make distcheck
|
|
|
|
run: make distcheck
|