Skip to content

Implement a handler for file header #11

Implement a handler for file header

Implement a handler for file header #11

Workflow file for this run

name: build
on: [ push, pull_request ]
jobs:
linux:
runs-on: ubuntu-latest
strategy:
matrix:
compiler: [ clang, gcc ]
steps:
- name: Install packages
run: sudo apt install gettext
- uses: actions/checkout@v2
- name: Autoconf
run: autoreconf -i -f
- name: Configure
run: ./configure
env:
CC: ${{ matrix.compiler }}
- name: Make
run: make
- name: Tests
run: make check
macos:
runs-on: macos-latest
strategy:
matrix:
compiler: [ clang, gcc ]
steps:
- name: Install packages
run: brew install automake
- uses: actions/checkout@v2
- name: Autoconf
run: autoreconf -i -f
- name: Configure
run: ./configure
env:
CC: ${{ matrix.compiler }}
- name: Make
run: make
- name: Tests
run: make check
windows:
runs-on: windows-latest
env:
MSYSTEM: MINGW64
steps:
- uses: actions/checkout@v2
- name: Autoconf
run: C:\msys64\usr\bin\bash -c -l 'cd "$GITHUB_WORKSPACE" && autoreconf -i -f'
- name: Configure
run: C:\msys64\usr\bin\bash -c -l 'cd "$GITHUB_WORKSPACE" && ./configure'
- name: Make
run: C:\msys64\usr\bin\bash -c -l 'cd "$GITHUB_WORKSPACE" && make'
- name: Test
run: C:\msys64\usr\bin\bash -c -l 'cd "$GITHUB_WORKSPACE" && make check'