diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 0000000..5867ce7 --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,21 @@ +# This is a basic workflow to help you get started with Actions + +name: CI + +on: [push, pull_request, workflow_dispatch] + +jobs: + test: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - name: Update apt + run: sudo apt-get update + - name: Install dependencies + run: sudo apt-get install -y make gcc + - name: Test + run: | + perl Makefile.PL + make + sudo make install + perl -I lib t/01-smoke.t