2021-01-25 09:51:51 -06:00
|
|
|
name: Build test
|
|
|
|
on:
|
2021-01-30 12:13:16 -06:00
|
|
|
pull_request:
|
|
|
|
paths-ignore:
|
|
|
|
- 'Documentation/**'
|
|
|
|
- 'lib*/docs/**'
|
2021-01-25 09:51:51 -06:00
|
|
|
push:
|
|
|
|
branches:
|
|
|
|
- 'cibuild'
|
2021-01-26 08:52:41 -06:00
|
|
|
- 'master'
|
|
|
|
- 'next'
|
|
|
|
- 'stable/**'
|
2021-01-25 09:51:51 -06:00
|
|
|
paths-ignore:
|
|
|
|
- 'Documentation/**'
|
|
|
|
- 'lib*/docs/**'
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
2021-01-29 11:13:13 -06:00
|
|
|
runs-on: ubuntu-latest
|
2021-01-25 09:51:51 -06:00
|
|
|
strategy:
|
|
|
|
fail-fast: false
|
|
|
|
matrix:
|
|
|
|
env:
|
2021-01-30 11:43:33 -06:00
|
|
|
- { COMPILER: "gcc", COMPILER_VERSION: "10", SANITIZE: "yes" }
|
|
|
|
- { COMPILER: "gcc", COMPILER_VERSION: "10", SANITIZE: "no" }
|
|
|
|
- { COMPILER: "clang", COMPILER_VERSION: "10", SANITIZE: "yes" }
|
|
|
|
- { COMPILER: "clang", COMPILER_VERSION: "10", SANITIZE: "no" }
|
2021-01-25 09:51:51 -06:00
|
|
|
env: ${{ matrix.env }}
|
|
|
|
steps:
|
|
|
|
- name: Repository checkout
|
|
|
|
uses: actions/checkout@v1
|
2021-01-26 02:44:44 -06:00
|
|
|
- name: Ubuntu setup
|
2021-01-25 09:51:51 -06:00
|
|
|
run: sudo -E .github/workflows/cibuild-setup-ubuntu.sh
|
2021-02-05 08:21:56 -06:00
|
|
|
- name: Configure & Make
|
2021-01-25 09:51:51 -06:00
|
|
|
run: .github/workflows/cibuild.sh CONFIGURE MAKE
|
2021-01-25 09:57:06 -06:00
|
|
|
- name: Check
|
2021-01-25 09:51:51 -06:00
|
|
|
run: sudo -E .github/workflows/cibuild.sh CHECK
|
2021-01-26 02:44:44 -06:00
|
|
|
- name: Make install
|
|
|
|
run: .github/workflows/cibuild.sh INSTALL
|
2021-02-05 08:03:49 -06:00
|
|
|
distcheck:
|
|
|
|
needs: build
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
env:
|
|
|
|
COMPILER: gcc
|
|
|
|
COMPILER_VERSION: 10
|
|
|
|
SANITIZE: no
|
|
|
|
steps:
|
|
|
|
- name: Repository checkout
|
|
|
|
uses: actions/checkout@v1
|
|
|
|
- name: Ubuntu setup
|
|
|
|
run: sudo -E .github/workflows/cibuild-setup-ubuntu.sh
|
2021-02-05 08:21:56 -06:00
|
|
|
- name: Configure
|
|
|
|
run: .github/workflows/cibuild.sh CONFIGURE
|
2021-02-05 08:03:49 -06:00
|
|
|
- name: Make distcheck
|
|
|
|
run: .github/workflows/cibuild.sh DISTCHECK
|