actions-setup-perl icon indicating copy to clipboard operation
actions-setup-perl copied to clipboard

Cygwin, etc?

Open mohawk2 opened this issue 3 years ago • 1 comments

How much effort would it take to also support Cygwin etc on this excellent "action"? Also, what is the "default" Perl on the GH-provided Windows environment?

mohawk2 avatar Dec 08 '20 14:12 mohawk2

You can install Cygwin with the cygwin/cygwin-install-action action.

  cygwin:
    runs-on: windows-latest

    strategy:
      fail-fast: false
      matrix:
        platform: [ 'x86', 'x86_64' ]

    defaults:
      run:
        shell: bash -o igncr {0}

    steps:
      - uses: cygwin/cygwin-install-action@master
        with:
          packages: >-
            gcc-core
            gcc-g++
            git
            libcrypt-devel
            libssl-devel
            make
            perl
            wget
          platform: ${{ matrix.platform }}

      - run: perl ...
        env:
          PATH: /usr/local/bin:/usr/bin

skirmess avatar Jun 30 '21 13:06 skirmess