From: Tony Cook Date: Sat, 21 Mar 2020 08:25:20 +0000 (+1100) Subject: add github action for CI on linux X-Git-Url: http://git.imager.perl.org/imager.git/commitdiff_plain/dea8f3a879c80a7411c3e718bf4bbbcb8df19452 add github action for CI on linux --- diff --git a/.github/workflows/test-linux.yml b/.github/workflows/test-linux.yml new file mode 100644 index 00000000..9d443bde --- /dev/null +++ b/.github/workflows/test-linux.yml @@ -0,0 +1,31 @@ +name: smoke-linux + +on: + push: + branches: + - '**' + tags-ignore: + - '*' + pull_request: + + +jobs: + imager: + runs-on: ubuntu-latest + timeout-minutes: 10 + steps: + - name: install dependencies + run: | + sudo apt-get update ||: + sudo apt-get -y install build-essential libtiff-dev libpng-dev libgif-dev libfreetype6-dev libjpeg-dev + - name: checkout + uses: actions/checkout@v2 + - name: configure + run: | + perl Makefile.PL + - name: build + run: | + make -j2 + - name: test + run: | + HARNESS_OPTIONS=j2 make test