File tree Expand file tree Collapse file tree 7 files changed +80
-35
lines changed Expand file tree Collapse file tree 7 files changed +80
-35
lines changed Original file line number Diff line number Diff line change
1
+ name : linux
2
+
3
+ on :
4
+ push :
5
+ branches :
6
+ - ' *'
7
+ tags-ignore :
8
+ - ' *'
9
+ pull_request :
10
+
11
+ jobs :
12
+ perl :
13
+
14
+ runs-on : ubuntu-latest
15
+
16
+ strategy :
17
+ matrix :
18
+ cip_tag :
19
+ - static
20
+ - " 5.33"
21
+ - " 5.32"
22
+ - " 5.30"
23
+ - " 5.28"
24
+ - " 5.26"
25
+ - " 5.24"
26
+ - " 5.22"
27
+ - " 5.20"
28
+
29
+ env :
30
+ CIP_TAG : ${{ matrix.cip_tag }}
31
+
32
+ steps :
33
+ - uses : actions/checkout@v2
34
+
35
+ - name : Bootstrap CIP
36
+ run : |
37
+ curl https://raw.githubusercontent.com/plicease/cip/main/bin/github-bootstrap | bash
38
+
39
+ - name : Cache-Key
40
+ id : cache-key
41
+ run : |
42
+ echo -n '::set-output name=key::'
43
+ cip cache-key
44
+
45
+ - name : Cache CPAN modules
46
+ uses : actions/cache@v2
47
+ with :
48
+ path : ~/.cip
49
+ key : ${{ runner.os }}-build-${{ steps.cache-key.outputs.key }}
50
+ restore-keys : |
51
+ ${{ runner.os }}-build-${{ steps.cache-key.outputs.key }}
52
+
53
+ - name : Start-Container
54
+ run : |
55
+ cip start
56
+
57
+ - name : Diagnostics
58
+ run : |
59
+ cip diag
60
+
61
+ - name : Install-Dependencies
62
+ run : |
63
+ cip install
64
+
65
+ - name : Build + Test
66
+ run : |
67
+ cip script
Original file line number Diff line number Diff line change 26
26
run : |
27
27
brew install perl
28
28
curl https://cpanmin.us | perl - App::cpanminus -n
29
- echo "##[add-path] /Users/runner/perl5/bin"
29
+ echo "/Users/runner/perl5/bin" >> $GITHUB_PATH
30
30
31
31
- name : perl -V
32
32
run : perl -V
Original file line number Diff line number Diff line change 20
20
runs-on : windows-latest
21
21
22
22
steps :
23
+ - name : Set git to use LF
24
+ run : |
25
+ git config --global core.autocrlf false
26
+ git config --global core.eol lf
27
+
23
28
- uses : actions/checkout@v2
24
29
25
30
- name : Prepare for cache
40
45
- name : Set up Perl
41
46
run : |
42
47
choco install strawberryperl
43
- echo "##[add-path]C:\cx\bin;C:\strawberry\c\bin;C:\strawberry\perl\site\bin;C:\strawberry\perl\bin"
48
+ echo "C:\cx\bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
49
+ echo "C:\strawberry\c\bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
50
+ echo "C:\strawberry\perl\site\bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
51
+ echo "C:\strawberry\perl\bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
44
52
- name : perl -V
45
53
run : perl -V
46
54
- name : Install Static Dependencies
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
- # Const::Introspect::C [ ![ Build Status ] ( https://travis-ci.org /PerlFFI/Const-Introspect-C.svg )] ( http://travis-ci.org/PerlFFI/Const-Introspect-C ) ![ windows] ( https://github.com/PerlFFI/Const-Introspect-C/workflows/windows/badge.svg ) ![ macos] ( https://github.com/PerlFFI/Const-Introspect-C/workflows/macos/badge.svg )
1
+ # Const::Introspect::C ![ linux ] ( https://github.com /PerlFFI/Const-Introspect-C/workflows/linux/badge.svg ) ![ windows] ( https://github.com/PerlFFI/Const-Introspect-C/workflows/windows/badge.svg ) ![ macos] ( https://github.com/PerlFFI/Const-Introspect-C/workflows/macos/badge.svg )
2
2
3
3
Find and evaluate C/C++ constants for use in Perl
4
4
Original file line number Diff line number Diff line change @@ -7,12 +7,12 @@ version = 0.01
7
7
8
8
[@Author::Plicease]
9
9
:version = 2.49
10
- travis_status = 1
11
10
release_tests = 1
12
11
installer = Author::Plicease::MakeMaker
13
12
github_user = PerlFFI
14
13
default_branch = main
15
14
test2_v0 = 1
15
+ workflow = linux
16
16
workflow = windows
17
17
workflow = macos
18
18
irc = irc://irc.perl.org/# native
Original file line number Diff line number Diff line change @@ -64,7 +64,7 @@ if(@keys > 0)
64
64
spacer;
65
65
}
66
66
67
- diag sprintf $format , ' perl ' , $] ;
67
+ diag sprintf $format , ' perl' , " $] $^O $Config {archname} " ;
68
68
69
69
foreach my $module (sort @modules )
70
70
{
You can’t perform that action at this time.
0 commit comments