DEV Community 👩‍💻👨‍💻

Yuki Kimoto - SPVM - Perl Club
Yuki Kimoto - SPVM - Perl Club

Posted on

Perl module tests on Linux 32bit on Github Action

I'm creating SPVM. SPVM is a Perl module I'm creating now.

I want to do tests of SPVM on Linux 32bit. I search for the way. I search github actions used in Perl itself.

Linux 32bit Github Action

I customized it. The created github action yml is linux-32bit.yml

name: linux-32bit

on:
  push:
    branches:
      - '*'
    tags-ignore:
      - '*'
  pull_request:

jobs:
  build:
    runs-on: ubuntu-latest
    container:
      image: i386/ubuntu:latest
    steps:
      - name: install the Perl header, core modules, building tools
        run: |
          apt update
          apt install -y libperl-dev build-essential
      - uses: actions/checkout@v1
      - name: perl Makefile.PL
        run: perl Makefile.PL
      - name: make
        run: make
      - name: make disttest
        run: make disttest
Enter fullscreen mode Exit fullscreen mode

Short Descriptions

the Docker Container Image

Use the docker container image "i386/ubuntu:latest"

    container:
      image: i386/ubuntu:latest
Enter fullscreen mode Exit fullscreen mode

apt

Install the Perl header, core modules, building tools.

        run: |
          apt update
          apt install -y libperl-dev build-essential
Enter fullscreen mode Exit fullscreen mode

Top comments (0)

We are hiring! Do you want to be our Senior Platform Engineer? We're hiring for a Senior Platform Engineer and would love for you to apply.

Head here to learn more about who we're looking for.