From 2089965414490f9073bf83d6ccd196b1c5c44387 Mon Sep 17 00:00:00 2001 From: Veesh Goldman Date: Sat, 1 Oct 2022 21:49:43 +0300 Subject: [PATCH 1/2] feat: add CI --- .github/workflows/linux.yml | 30 ++++++++++++++++++++++++++++++ .github/workflows/macos.yml | 23 +++++++++++++++++++++++ 2 files changed, 53 insertions(+) create mode 100644 .github/workflows/linux.yml create mode 100644 .github/workflows/macos.yml diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml new file mode 100644 index 00000000..09b80f9a --- /dev/null +++ b/.github/workflows/linux.yml @@ -0,0 +1,30 @@ +name: linux +on: + push: + branches: + - '*' + tags-ignore: + - '*' + pull_request: +jobs: + perl: + runs-on: ubuntu-latest + strategy: + matrix: + perl-version: + - '5.22' + - '5.30' + - '5.32' + - '5.34' + container: + image: perl:${{ matrix.perl-version }} + steps: + - uses: actions/checkout@v2 + - name: perl -V + run: perl -V + - name: Install dependencies + run: cpanm -n --installdeps . + - name: Set up + run: perl Makefile.PL + - name: Run Tests + run: prove -lj4 t diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml new file mode 100644 index 00000000..2c50ca35 --- /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 . + - name: Set up + run: perl Makefile.PL + - name: Run Tests + run: prove -lj4 t From ad9960e6923a06242554d6c6ca0c1548fc313cc3 Mon Sep 17 00:00:00 2001 From: Veesh Goldman Date: Sat, 1 Oct 2022 21:52:00 +0300 Subject: [PATCH 2/2] chore: test 5.36, not 5.30 --- .github/workflows/linux.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index 09b80f9a..31d94a79 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -13,9 +13,9 @@ jobs: matrix: perl-version: - '5.22' - - '5.30' - '5.32' - '5.34' + - '5.36' container: image: perl:${{ matrix.perl-version }} steps: