Fixes to SWIG bindings #24
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: C/C++ CI | |
on: | |
push: | |
branches: [ master, develop ] | |
pull_request: | |
branches: [ master, develop ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: dependencies | |
run: | | |
sudo apt-get update | |
sudo DEBIAN_FRONTEND=noninteractive apt-get install -y yaggo gettext swig python3-dev ruby-dev libperl-dev | |
- name: autotools | |
run: autoreconf -fi | |
- name: configure | |
run: ./configure --enable-all-binding --enable-swig CXX=g++-10 CC=gcc-10 | |
- name: make | |
run: make -j$(nproc) | |
- name: make check | |
run: make -j$(nproc) check | |
- name: Check logs | |
if: failure() | |
uses: actions/upload-artifact@v4 | |
with: | |
name: checklog | |
path: "**/*tests/*.log" | |
- name: make distcheck | |
run: make -j$(nproc) distcheck | |
- name: Distcheck logs | |
if: failure() | |
uses: actions/upload-artifact@v4 | |
with: | |
name: distchecklog | |
path: | | |
**/*tests/*.log | |
**/*tests/**/tee.* | |
- name: Distribution tar ball | |
uses: actions/upload-artifact@v4 | |
with: | |
name: disttarball | |
path: "mummer-*.tar.gz" |