Build with autotools via GitHub Action [skip travis] [skip appveyor] #2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "Autotools build" | |
on: | |
push: | |
pull_request: | |
workflow_call: | |
workflow_dispatch: | |
defaults: | |
run: | |
shell: bash | |
jobs: | |
build: | |
name: linux-gcc | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 5 | |
submodules: recursive | |
- name: Configure Release | |
run: | | |
./autogen.sh | |
./configure --with-pic | |
- name: Build with gcc | |
run: make -j8 | |
- name: Test | |
run: make check |