Skip to content

Commit a4bca25

Browse files
committed
move POGL/t to top, add CI even if really build-only
1 parent f537ad0 commit a4bca25

File tree

3 files changed

+69
-1
lines changed

3 files changed

+69
-1
lines changed

.github/workflows/ci.yml

Lines changed: 68 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,68 @@
1+
name: perl
2+
on:
3+
push:
4+
branches:
5+
- '*'
6+
tags-ignore:
7+
- '*'
8+
pull_request:
9+
jobs:
10+
ci:
11+
runs-on: ${{ matrix.os }}
12+
strategy:
13+
fail-fast: false
14+
matrix:
15+
os: [ubuntu-latest]
16+
perl-version: ['5.16', '5.20']
17+
include:
18+
- perl-version: '5.30'
19+
os: ubuntu-latest
20+
release-test: true
21+
coverage: true
22+
- perl-version: '5.30'
23+
os: windows-latest
24+
- perl-version: '5.30'
25+
os: macos-latest
26+
steps:
27+
- uses: actions/checkout@v2
28+
- name: 'ci-dist: target-setup-perl'
29+
uses: PDLPorters/devops/github-actions/ci-dist@master
30+
with:
31+
target-setup-perl: true
32+
perl-version: ${{ matrix.perl-version }}
33+
- name: Install PDL dependencies
34+
uses: PDLPorters/devops/github-actions/install-dep-pdl-dep@master
35+
- name: Install OpenGL PDL deps
36+
uses: Perl-GPU/devops/github-actions/install-dep-pogl-dep@main
37+
if: runner.os == 'Linux'
38+
- name: Install extra optional OpenGL PDL deps
39+
shell: bash
40+
run: |
41+
if ${{ toJSON( runner.os == 'Linux' ) }}; then
42+
echo "::group::Install extra optional OpenGL PDL deps (via cpanm)"
43+
xvfb-run cpanm -n OpenGL OpenGL::GLUT || cat ~/.cpanm/build.log
44+
echo "::endgroup::"
45+
fi
46+
- name: 'ci-dist: target-all'
47+
uses: PDLPorters/devops/github-actions/ci-dist@master
48+
with:
49+
target-setup-perl: false
50+
target-install-dist-perl-deps: true
51+
dist-perl-deps-configure: PDL ExtUtils::CppGuess ExtUtils::MakeMaker Alien::OpenCV
52+
target-test-release-testing: true
53+
target-test: true
54+
test-enable-release-testing: ${{ matrix.release-test }}
55+
test-enable-coverage: ${{ matrix.coverage }}
56+
test-enable-graphical-display: true
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: PDLPorters/devops/github-actions/irc-notifications@master
66+
with:
67+
target-build-status: true
68+
needs: ${{ toJSON(needs) }}

MANIFEST

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@ POGL/ignore.txt
1818
POGL/Makefile.PL
1919
POGL/OpenGL.pm
2020
POGL/README
21-
POGL/t/opengl.t
2221
Rout/Makefile.PL
2322
Rout/rout.pd
23+
t/opengl.t
2424
TriD.pm
2525
TriD/ArcBall.pm
2626
TriD/ButtonControl.pm
File renamed without changes.

0 commit comments

Comments
 (0)