add full dependence tree for parallel compilations #1304
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: CI Makefile | |
on: | |
push: | |
branches: '*' | |
pull_request: | |
branches: '*' | |
jobs: | |
ubuntu: | |
strategy: | |
fail-fast: false | |
matrix: | |
perl-version: | |
- 'latest' | |
runs-on: ubuntu-latest | |
container: | |
image: perldocker/perl-tester:${{ matrix.perl-version }} # https://hub.docker.com/r/perldocker/perl-tester | |
name: Linux ${{ matrix.perl-version }} | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Prepare | |
run: | | |
uname -a | |
apt-get update | |
apt-get install -y libgtk2.0-dev libgif-dev libjpeg-dev libtiff-dev libxpm-dev libwebp-dev libfribidi-dev libharfbuzz-dev libthai-dev xvfb | |
cpanm --notest Test::Pod | |
- name: Build | |
run: | | |
perl Makefile.PL | |
make | |
- name: Test | |
run: | | |
xvfb-run -a make test | |
strawberry: | |
strategy: | |
fail-fast: false | |
matrix: | |
perl-version: | |
- 'latest' | |
runs-on: windows-latest | |
name: Strawberry ${{ matrix.perl-version }} | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up perl | |
uses: shogo82148/actions-setup-perl@v1 | |
with: | |
perl-version: ${{ matrix.perl }} | |
distribution: strawberry | |
- name: Prepare | |
run: | | |
uname -a | |
cpanm --notest Test::Pod | |
- name: Build | |
run: | | |
perl Makefile.PL | |
gmake | |
- name: Test | |
run: | | |
gmake test |