import examples from the GNU Readline Library #46
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: test-on-gnu-linux | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
make-test: | |
runs-on: ${{ matrix.os }} | |
env: | |
TERM: xterm-256color | |
strategy: | |
#fail-fast: false | |
matrix: | |
# https://docs.github.com/en/actions/reference/specifications-for-github-hosted-runners | |
os: [ubuntu-latest] | |
# https://hub.docker.com/_/perl | |
perl-version: ['latest', '5.30', '5.26', '5.14'] # '5.8.9', '5.10', and '5.12' failed 2020/02/28 | |
container: | |
image: perl:${{ matrix.perl-version }} | |
name: Build on ${{ matrix.os }} with Perl ${{ matrix.perl-version }} | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install prerequisites | |
run: | | |
perl -V | |
apt install -y libreadline-dev | |
- name: Run make test | |
run: | | |
perl Makefile.PL | |
make | |
make test |