Skip to content

Commit

Permalink
build-image.yml: exempt slim images in testing additional CPAN modules
Browse files Browse the repository at this point in the history
  • Loading branch information
zakame committed Aug 30, 2024
1 parent b6c0528 commit 7b5ce52
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/build-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,15 +62,19 @@ jobs:
run: |
dir='${{ matrix.directory }}'
img="perl:${dir//,/-}"
docker run "$img" cpanm -v [email protected]
docker run "$img" cpanm -v Crypt::[email protected]
if [[ "$dir" != *"slim"* ]]; then
docker run "$img" cpanm -v [email protected]
docker run "$img" cpanm -v Crypt::[email protected]
fi
docker run "$img" cpanm -v Mojolicious
- name: Run cpm install test
run: |
dir='${{ matrix.directory }}'
img="perl:${dir//,/-}"
docker run "$img" cpm install -v [email protected]
docker run "$img" cpm install -v Crypt::[email protected]
if [[ "$dir" != *"slim"* ]]; then
docker run "$img" cpm install -v [email protected]
docker run "$img" cpm install -v Crypt::[email protected]
fi
docker run "$img" cpm install -v Mojolicious
- name: COPY all to default WORKDIR
run: |
Expand Down

0 comments on commit 7b5ce52

Please sign in to comment.