Skip to content

Commit

Permalink
cpm workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
rjbs committed Jun 3, 2024
1 parent f825e3b commit 6d8bc37
Showing 1 changed file with 5 additions and 12 deletions.
17 changes: 5 additions & 12 deletions .github/workflows/multiperl-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@ jobs:
run: |
curl https://cpanmin.us/ > /tmp/cpanm
chmod u+x /tmp/cpanm
- name: Install cpm
run: |
/tmp/cpanm --notest -S App::cpm
- name: Install Dist::Zilla
run: sudo apt-get install -y libdist-zilla-perl
- name: Install authordeps
Expand All @@ -30,24 +33,14 @@ jobs:
echo "---BEGIN AUTHORDEPS---"
cat /tmp/deps-phase-1.txt
echo "---END AUTHORDEPS---"
/tmp/cpanm --notest -S < /tmp/deps-phase-1.txt
- name: Upload cpanm logs for authordeps
uses: actions/upload-artifact@v4
with:
name: cpanm-authordeps.log
path: ~/.cpanm/build.log
sudo cpm install -g - < /tmp/deps-phase-1.txt
- name: Install missing prereqs
run: |
dzil listdeps --author --missing > /tmp/deps-phase-2.txt
echo "---BEGIN PREREQS---"
cat /tmp/deps-phase-2.txt
echo "---END PREREQS---"
/tmp/cpanm --notest -S < /tmp/deps-phase-2.txt
- name: Upload cpanm logs for prereqs
uses: actions/upload-artifact@v4
with:
name: cpanm-prereqs.log
path: ~/.cpanm/build.log
sudo cpm install -g - < /tmp/deps-phase-2.txt
- name: Build tarball
run: |
dzil build --in Dist-To-Test
Expand Down

0 comments on commit 6d8bc37

Please sign in to comment.