|
| 1 | +name: perl |
| 2 | +on: |
| 3 | + push: |
| 4 | + branches: |
| 5 | + - '*' |
| 6 | + tags-ignore: |
| 7 | + - '*' |
| 8 | + pull_request: |
| 9 | + create: |
| 10 | +jobs: |
| 11 | + notify: |
| 12 | + runs-on: ubuntu-latest |
| 13 | + continue-on-error: true |
| 14 | + if: ${{ always() }} |
| 15 | + steps: |
| 16 | + - uses: Perl-GPU/devops/github-actions/irc-notifications@main |
| 17 | + with: |
| 18 | + target-notifications: true |
| 19 | + ci: |
| 20 | + runs-on: ${{ matrix.os }} |
| 21 | + if: ${{ github.event_name == 'push' || github.event_name == 'pull_request' }} |
| 22 | + needs: notify |
| 23 | + strategy: |
| 24 | + fail-fast: false |
| 25 | + matrix: |
| 26 | + os: [ubuntu-latest] |
| 27 | + perl-version: ['5.10', '5.14', '5.20'] |
| 28 | + include: |
| 29 | + - perl-version: '5.30' |
| 30 | + os: ubuntu-latest |
| 31 | + release-test: true |
| 32 | + coverage: true |
| 33 | + - perl-version: '5.30' |
| 34 | + os: windows-latest |
| 35 | + #- perl-version: '5.30' |
| 36 | + # os: macos-11 |
| 37 | + steps: |
| 38 | + - uses: actions/checkout@v2 |
| 39 | + - name: 'ci-dist: target-setup-perl' |
| 40 | + uses: Perl-GPU/devops/github-actions/ci-dist@main |
| 41 | + with: |
| 42 | + target-setup-perl: true |
| 43 | + perl-version: ${{ matrix.perl-version }} |
| 44 | + - name: Install dependencies |
| 45 | + uses: Perl-GPU/devops/github-actions/install-dep-opengl-glut-dep@main |
| 46 | + - name: 'ci-dist: target-all' |
| 47 | + uses: Perl-GPU/devops/github-actions/ci-dist@main |
| 48 | + with: |
| 49 | + target-setup-perl: false |
| 50 | + target-install-dist-perl-deps: true |
| 51 | + build-enable-graphical-display: true |
| 52 | + target-test-release-testing: true |
| 53 | + target-test: true |
| 54 | + test-enable-graphical-display: true |
| 55 | + test-enable-release-testing: ${{ matrix.release-test }} |
| 56 | + test-enable-coverage: ${{ matrix.coverage }} |
| 57 | + github-token: ${{ secrets.GITHUB_TOKEN }} |
| 58 | + |
| 59 | + build-status: |
| 60 | + runs-on: ubuntu-latest |
| 61 | + continue-on-error: true |
| 62 | + if: ${{ always() }} |
| 63 | + needs: [ 'ci' ] |
| 64 | + steps: |
| 65 | + - uses: Perl-GPU/devops/github-actions/irc-notifications@main |
| 66 | + with: |
| 67 | + target-build-status: true |
| 68 | + needs: ${{ toJSON(needs) }} |
0 commit comments