Skip to content

Commit 7f330c7

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

File tree

3 files changed

+61
-1
lines changed

3 files changed

+61
-1
lines changed

.github/workflows/ci.yml

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
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 pogl dependencies
34+
uses: Perl-GPU/devops/github-actions/install-dep-pogl-dep@main
35+
- name: Install PDL dependencies
36+
uses: PDLPorters/devops/github-actions/install-dep-pdl-dep@master
37+
- name: 'ci-dist: target-all'
38+
uses: Perl-GPU/devops/github-actions/ci-dist@main
39+
with:
40+
target-setup-perl: false
41+
target-install-dist-perl-deps: true
42+
build-enable-graphical-display: true
43+
dist-perl-deps-configure: OpenGL OpenGL::GLUT PDL
44+
target-test-release-testing: true
45+
target-test: true
46+
test-enable-graphical-display: true
47+
test-enable-release-testing: ${{ matrix.release-test }}
48+
test-enable-coverage: ${{ matrix.coverage }}
49+
github-token: ${{ secrets.GITHUB_TOKEN }}
50+
51+
build-status:
52+
runs-on: ubuntu-latest
53+
continue-on-error: true
54+
if: ${{ always() }}
55+
needs: [ 'ci' ]
56+
steps:
57+
- uses: PDLPorters/devops/github-actions/irc-notifications@master
58+
with:
59+
target-build-status: true
60+
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)