]> git.imager.perl.org - imager.git/blob - .github/workflows/test-linux.yml
add github action for CI on linux
[imager.git] / .github / workflows / test-linux.yml
1 name: smoke-linux
2
3 on:
4   push:
5     branches:
6       - '**'
7     tags-ignore:
8       - '*'
9   pull_request:
10
11
12 jobs:
13   imager:
14     runs-on: ubuntu-latest
15     timeout-minutes: 10
16     steps:
17       - name: install dependencies
18         run: |
19             sudo apt-get update ||:
20             sudo apt-get -y install build-essential libtiff-dev libpng-dev libgif-dev libfreetype6-dev libjpeg-dev
21       - name: checkout
22         uses: actions/checkout@v2
23       - name: configure
24         run: |
25           perl Makefile.PL
26       - name: build
27         run: |
28             make -j2
29       - name: test
30         run: |
31             HARNESS_OPTIONS=j2 make test