Skip to content

Commit

Permalink
disable non-windows
Browse files Browse the repository at this point in the history
  • Loading branch information
mohawk2 committed Jan 10, 2024
1 parent a88b39f commit 682fbd9
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 256 deletions.
28 changes: 0 additions & 28 deletions .cirrus.yml

This file was deleted.

142 changes: 0 additions & 142 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,49 +8,17 @@ on:
pull_request:
create:
jobs:
notify:
runs-on: ubuntu-latest
continue-on-error: true
if: ${{ always() }}
steps:
- uses: PDLPorters/devops/github-actions/irc-notifications@master
with:
target-notifications: true
ci:
runs-on: ${{ matrix.os }}
if: ${{ github.event_name == 'push' || github.event_name == 'pull_request' }}
needs: notify
env:
PGPLOT_DEV: /NULL
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest]
perl-version: ['5.10']
include:
- perl-version: '5.30'
os: ubuntu-latest
release-test: true
coverage: true
- perl-version: '5.30'
os: ubuntu-latest
disttest: true
- perl-version: '5.30'
os: ubuntu-latest
eumm-blead: 1
- perl-version: '5.30'
os: ubuntu-latest
test-installed: true # test not from blib but after installing
- perl-version: '5.30'
os: ubuntu-latest
disable-fortran: true # what if we don't have Fortran installed?
- perl-version: '5.30'
os: ubuntu-latest
use-clang: true # use `clang` instead of `gcc` default
- perl-version: '5.26'
os: windows-latest
- perl-version: '5.30'
os: macos-latest
steps:
- uses: actions/checkout@v2
- name: 'ci-dist: target-setup-perl'
Expand Down Expand Up @@ -125,113 +93,3 @@ jobs:

- run: perl -Iblib/lib -MData::Dumper -e 'eval { require PDL::Config }; $Data::Dumper::Sortkeys = 1; print Dumper \%PDL::Config'

ci-ubuntu-containers:
runs-on: ubuntu-latest
if: ${{ github.event_name == 'push' || github.event_name == 'pull_request' }}
needs: notify
container: ${{ matrix.container }}
strategy:
fail-fast: false
matrix:
container: ['centos:centos7']
steps:
- uses: actions/checkout@v2
- name: CentOS setup
if: matrix.container == 'centos:centos7'
run: |
uname -a
yum -y install perl perl-App-cpanminus gcc bzip2 patch
- run: perl -V
- run: (cpanm -n ExtUtils::MakeMaker Devel::CheckLib File::Which && cpanm -n --installdeps .) || ( cat ~/.cpanm/build.log && false )
- name: Run tests
env:
HARNESS_OPTIONS: j4
run: perl Makefile.PL && make test

cygwin:
env:
PERL5LIB: /cygdrive/c/cx/lib/perl5:/cygdrive/c/cx/lib/perl5/MSWin32-x64-multi-thread
PERL_LOCAL_LIB_ROOT: /cygdrive/cx
PERL_MB_OPT: --install_base /cygdrive/c/cx
PERL_MM_OPT: INSTALL_BASE=/cygdrive/c/cx
CYGWIN_NOWINPATH: 1
runs-on: windows-latest
# only run on tag because cygwin is slow
if: ${{ github.event_name == 'create' && github.event.ref_type == 'tag' }}
needs: notify
strategy:
fail-fast: false
defaults:
run:
shell: C:\tools\cygwin\bin\bash.exe --login --norc -eo pipefail -o igncr '{0}'
steps:
- name: Set git to use LF
run: |
git config --global core.autocrlf false
git config --global core.eol lf
shell: powershell
- uses: actions/checkout@v2
- name: Cache Cygwin
uses: actions/cache@v1
with:
path: |
c:\tools\cygwin
!c:\tools\cygwin\home
key: ${{ runner.os }}-build-cygwin-tools
restore-keys: ${{ runner.os }}-build-cygwin-tools
- name: Set up Cygwin
uses: egor-tensin/setup-cygwin@v3
with:
platform: x64
packages: make perl gcc-core gcc-g++ pkg-config libcrypt-devel libssl-devel libnsl-devel git
- name: perl -V
run: |
perl -V
gcc --version
- name: Prepare for cache
run: |
perl -V > perlversion.txt
gcc --version >> perlversion.txt
ls perlversion.txt
- name: Cache CPAN modules
uses: actions/cache@v1
with:
path: c:\cx
key: ${{ runner.os }}-build-cygwin-${{ hashFiles('perlversion.txt') }}
restore-keys: |
${{ runner.os }}-build-cygwin-${{ hashFiles('perlversion.txt') }}
- name: Install Static Dependencies
run: |
export PATH="/cygdrive/c/cx/bin:$PATH"
cd $( cygpath -u $GITHUB_WORKSPACE )
yes | cpan App::cpanminus || true
- name: Install Dynamic Dependencies
run: |
export PATH="/cygdrive/c/cx/bin:$PATH"
cd $( cygpath -u $GITHUB_WORKSPACE )
(cpanm -n Devel::CheckLib File::Which && cpanm -n --installdeps .) || ( cat ~/.cpanm/build.log && false )
- name: Run tests (no coverage)
env:
HARNESS_OPTIONS: j4
run: |
export PATH="/cygdrive/c/cx/bin:$PATH"
cd $( cygpath -u $GITHUB_WORKSPACE )
perl Makefile.PL && make test
- run: |
export PATH="/cygdrive/c/cx/bin:$PATH"
cd $( cygpath -u $GITHUB_WORKSPACE )
perl -Mblib -MPDL::Config -MData::Dumper -e '$Data::Dumper::Sortkeys = 1; print Dumper \%PDL::Config'
- name: CPAN log
if: ${{ failure() }}
run: |
cat ~/.cpanm/latest-build/build.log
build-status:
runs-on: ubuntu-latest
continue-on-error: true
if: ${{ always() }}
needs: [ 'ci', 'ci-ubuntu-containers', 'cygwin' ]
steps:
- uses: PDLPorters/devops/github-actions/irc-notifications@master
with:
target-build-status: true
needs: ${{ toJSON(needs) }}
65 changes: 0 additions & 65 deletions .github/workflows/downstream-testing.yml

This file was deleted.

21 changes: 0 additions & 21 deletions .github/workflows/issue-notify.yml

This file was deleted.

0 comments on commit 682fbd9

Please sign in to comment.