From 4ac8f25dfd0dcdcd057e68a56a5ae75d8ca64913 Mon Sep 17 00:00:00 2001 From: Graham Ollis Date: Thu, 18 Feb 2021 08:56:50 -0700 Subject: [PATCH] fix ci for macos + windows --- .github/workflows/macos.yml | 2 +- .github/workflows/windows.yml | 5 ++++- README.md | 2 +- dist.ini | 1 + 4 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index 019aff1..94a88d2 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -28,7 +28,7 @@ jobs: brew install libffi brew install jq curl https://cpanmin.us | perl - App::cpanminus -n - echo "##[add-path]/Users/runner/perl5/bin" + echo "/Users/runner/perl5/bin" >> $GITHUB_PATH - name: perl -V run: perl -V diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index f4554f1..2eaf48a 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -45,7 +45,10 @@ jobs: - name: Set up Perl run: | choco install strawberryperl - echo "##[add-path]C:\cx\bin;C:\strawberry\c\bin;C:\strawberry\perl\site\bin;C:\strawberry\perl\bin" + echo "C:\cx\bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append + echo "C:\strawberry\c\bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append + echo "C:\strawberry\perl\site\bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append + echo "C:\strawberry\perl\bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append - name: perl -V run: perl -V - name: Install Static Dependencies diff --git a/README.md b/README.md index 902ff5b..c924b8f 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# FFI::C [![Build Status](https://travis-ci.org/PerlFFI/FFI-C.svg)](http://travis-ci.org/PerlFFI/FFI-C) ![windows](https://github.com/PerlFFI/FFI-C/workflows/windows/badge.svg) ![macos](https://github.com/PerlFFI/FFI-C/workflows/macos/badge.svg) +# FFI::C [![Build Status](https://api.travis-ci.com/PerlFFI/FFI-C.svg?branch=main)](https://travis-ci.com/github/PerlFFI/FFI-C) ![windows](https://github.com/PerlFFI/FFI-C/workflows/windows/badge.svg) ![macos](https://github.com/PerlFFI/FFI-C/workflows/macos/badge.svg) C data types for FFI diff --git a/dist.ini b/dist.ini index 41da4c3..cf2d106 100644 --- a/dist.ini +++ b/dist.ini @@ -14,6 +14,7 @@ github_user = PerlFFI test2_v0 = 1 workflow = windows workflow = macos +travis_com = 1 irc = irc://irc.perl.org/#native diag = +Math::Int64