From f8ea2176b7070a52d583fd0a5949636fbea4223f Mon Sep 17 00:00:00 2001 From: Roy Storey Date: Mon, 3 Oct 2022 22:57:08 +1300 Subject: [PATCH] bring back CI --- .github/workflows/linux.yml | 39 +++++++++++++++++++++++++++++++++++++ .github/workflows/macos.yml | 23 ++++++++++++++++++++++ .travis.yml | 24 ----------------------- 3 files changed, 62 insertions(+), 24 deletions(-) create mode 100644 .github/workflows/linux.yml create mode 100644 .github/workflows/macos.yml delete mode 100644 .travis.yml diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml new file mode 100644 index 00000000..81148ebd --- /dev/null +++ b/.github/workflows/linux.yml @@ -0,0 +1,39 @@ +name: linux +on: + push: + branches: + - '*' + tags-ignore: + - '*' + pull_request: +jobs: + perl: + runs-on: ubuntu-latest + strategy: + matrix: + perl-version: + - '5.8' + - '5.10' + - '5.12' + - '5.14' + - '5.16' + - '5.18' + - '5.20' + - '5.22' + - '5.24' + - '5.26' + - '5.28' + - '5.30' + - '5.32' + - '5.34' + - '5.36' + container: + image: perl:${{ matrix.perl-version }} + steps: + - uses: actions/checkout@v2 + - name: Install dependencies + run: cpanm -n --installdeps --with-develop . + - name: Set up + run: perl Makefile.PL + - name: Run Tests + run: prove -l t diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml new file mode 100644 index 00000000..dc260d9b --- /dev/null +++ b/.github/workflows/macos.yml @@ -0,0 +1,23 @@ +name: macos +on: + push: + branches: + - '*' + tags-ignore: + - '*' + pull_request: +jobs: + perl: + runs-on: macOS-latest + steps: + - uses: actions/checkout@v2 + - name: Set up Perl + run: brew install perl + - name: perl -V + run: perl -V + - name: Install Dependencies + run: curl -L https://cpanmin.us | perl - --installdeps -n --with-develop . + - name: Set up + run: perl Makefile.PL + - name: Run Tests + run: prove -lj4 t diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 559ffad3..00000000 --- a/.travis.yml +++ /dev/null @@ -1,24 +0,0 @@ -sudo: false -language: perl -perl: - - "blead" - - "dev" - - "5.26" - - "5.24" - - "5.22" - - "5.20" - - "5.18" - - "5.16" - - "5.14" - - "5.12" - - "5.10" - - "5.8" -matrix: - allow_failures: - - perl: "blead" - - perl: "dev" -env: - global: - - COVERAGE="coveralls codecov" -before_install: - - eval $(curl https://travis-perl.github.io/init) --auto