Merge pull request #2607 from SlowMo24/traefik-clf #243
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 build | |
on: | |
push: | |
branches: [ "master" ] | |
pull_request: | |
branches: [ "master" ] | |
jobs: | |
build: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest, macOS-latest] | |
include: | |
- os: ubuntu-latest | |
setup-env: sudo apt-get update && sudo apt-get install -y build-essential autoconf gettext autopoint libncursesw5-dev libssl-dev git libmaxminddb-dev | |
- os: macos-latest | |
setup-env: brew update && brew install ncurses gettext autoconf automake libmaxminddb | |
steps: | |
- name: Setup env. | |
run: ${{ matrix.setup-env }} | |
- uses: actions/checkout@v3 | |
- name: autoreconf | |
run: autoreconf -fiv | |
- name: configure | |
run: ./configure | |
- name: make | |
run: sudo make | |
- name: make check | |
run: sudo make check | |
- name: make distcheck | |
run: sudo make distcheck |