Skip to content

Commit

Permalink
CI: Add basic check of Autotools based build
Browse files Browse the repository at this point in the history
  • Loading branch information
ndim committed Feb 8, 2024
1 parent 0179026 commit 900dadc
Showing 1 changed file with 46 additions and 0 deletions.
46 changes: 46 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,52 @@ env:
BUILD_TYPE: RelWithDebInfo

jobs:
linux-x86_64-autotools:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install prerequisites
run: >-
sudo apt-get update
sudo apt-get install -y
build-essential
automake
libtool
gettext
flex
bison
libelf-dev
libusb-dev
libusb-1.0-0-dev
libhidapi-dev
libftdi1-dev
libreadline-dev
libserialport-dev
texinfo
texlive
texi2html
- name: Configure
run: >-
autoreconf -vis src
mkdir _build
cd _build
../src/configure
--enable-doc
--enable-parport
--enable-linuxgpio
--enable-linuxspi
- name: Build
run: make -C _build -j$(nproc)
- name: Install
run: sudo make -C _build install
- name: Dryrun_test
run: echo -e \\n | ./tools/test-avrdude -d0 -p"-cdryrun -pm2560" -p"-cdryrun -pavr64du28"
- name: distcheck
run: make -C _build -j$(nproc) distcheck

linux-x86_64:
runs-on: ubuntu-latest
steps:
Expand Down

0 comments on commit 900dadc

Please sign in to comment.