From 6f138d48ce972235f892f1db9931bab6f03f5470 Mon Sep 17 00:00:00 2001 From: Veesh Goldman Date: Sun, 2 Oct 2022 00:52:41 +0300 Subject: [PATCH 1/3] feat: get CI to actually work? --- .github/workflows/linux.yml | 14 +++++++------- .github/workflows/macos.yml | 4 ++-- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index 2a809cb3..92be0bf9 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -12,7 +12,7 @@ jobs: strategy: matrix: perl-version: - - '5.22' + - '5.26' - '5.32' - '5.34' - '5.36' @@ -20,13 +20,13 @@ jobs: image: perl:${{ matrix.perl-version }} steps: - uses: actions/checkout@v2 - - name: perl -V - run: perl -V - - name: Install early dep - run: cpanm -n File::ShareDir::Install + - name: dev packages for testing + run: apt update && apt install -y libgd-dev graphviz libxml2-dev + - name: Install early + extra deps + run: cpanm -n File::ShareDir::Install DBD::SQLite CGI + - name: Install dependencies + run: cpanm -n --installdeps --with-develop . - name: Set up run: perl Makefile.PL - - name: Install dependencies - run: cpanm -n --installdeps . - name: Run Tests run: prove -lj4 t diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index 9f36fafc..9f4fc096 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -17,9 +17,9 @@ jobs: run: perl -V - name: Install early dep run: cpanm -n File::ShareDir::Install + - name: Install Dependencies + run: curl -L https://cpanmin.us | perl - --installdeps -n --with-develop . - name: Set up run: perl Makefile.PL - - name: Install Dependencies - run: curl -L https://cpanmin.us | perl - --installdeps -n . - name: Run Tests run: prove -lj4 t From d8919a881ec01da7bce8710892116cf1832cfbb7 Mon Sep 17 00:00:00 2001 From: Veesh Goldman Date: Sun, 2 Oct 2022 00:56:07 +0300 Subject: [PATCH 2/3] fix: macos don't have no cpanm --- .github/workflows/macos.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index 9f4fc096..4a607c1b 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -16,7 +16,7 @@ jobs: - name: perl -V run: perl -V - name: Install early dep - run: cpanm -n File::ShareDir::Install + run: curl -L https://cpanmin.us | perl - -n File::ShareDir::Install - name: Install Dependencies run: curl -L https://cpanmin.us | perl - --installdeps -n --with-develop . - name: Set up From 99c389654e05a91ff25a13b5e806f0d9e454d7b5 Mon Sep 17 00:00:00 2001 From: Veesh Goldman Date: Sun, 2 Oct 2022 20:45:21 +0300 Subject: [PATCH 3/3] ci: add extra dev deps as project reqs --- .github/workflows/linux.yml | 2 +- .github/workflows/macos.yml | 2 +- Makefile.PL | 2 ++ 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index 92be0bf9..c799555b 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -23,7 +23,7 @@ jobs: - name: dev packages for testing run: apt update && apt install -y libgd-dev graphviz libxml2-dev - name: Install early + extra deps - run: cpanm -n File::ShareDir::Install DBD::SQLite CGI + run: cpanm -n File::ShareDir::Install - name: Install dependencies run: cpanm -n --installdeps --with-develop . - name: Set up diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index 4a607c1b..87081e7d 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -12,7 +12,7 @@ jobs: steps: - uses: actions/checkout@v2 - name: Set up Perl - run: brew install perl + run: brew install perl gd graphviz libxml2 - name: perl -V run: perl -V - name: Install early dep diff --git a/Makefile.PL b/Makefile.PL index 70080cbc..ae90fc67 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -85,6 +85,8 @@ my %eumm_args = ( requires => { 'Template' => '2.20', 'GD' => '0', + 'DBD::SQLite' => '0', + 'CGI' => '0', 'GraphViz' => '0', 'Graph::Directed' => '0', 'Spreadsheet::ParseExcel' => '0.41',