diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 0000000..260ac7d --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,31 @@ +# This is a basic workflow to help you get started with Actions + +name: CI + +# Controls when the action will run. +on: + push: + + pull_request: + + + # Allows you to run this workflow manually from the Actions tab + workflow_dispatch: + +# https://shogo82148.github.io/blog/2019/09/18/actions-setup-perl/ +jobs: + build: + runs-on: ${{ matrix.os }} + strategy: + matrix: + os: ['ubuntu-latest', 'macos-latest', 'windows-latest'] + perl: [ '5.34' , '5.32', '5.30', '5.28' ] + name: Perl ${{ matrix.perl }} on ${{ matrix.os }} + steps: + - uses: actions/checkout@v1 + - name: Setup perl + uses: shogo82148/actions-setup-perl@v1 + with: + perl-version: ${{ matrix.perl }} + - run: perl -V + - run: ./bgsound.cgi && ./Hirame_LE.cgi && ./Icons_Edit.cgi && ./moe_bbs_adm.cgi