Skip to content

Add CI for cygwin

Add CI for cygwin #1

Workflow file for this run

name: test

Check failure on line 1 in .github/workflows/cygwin.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/cygwin.yml

Invalid workflow file

(Line: 11, Col: 3): The workflow must contain at least one job with no dependencies.
on:
push:
pull_request:
schedule:
- cron: '25 11 * * *'
workflow_dispatch:
jobs:
test:
needs: ruby-versions
strategy:
fail-fast: false
runs-on: windows-latest
steps:
- run: git config --global core.autocrlf input
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- name: Setup Cygwin
uses: cygwin/cygwin-install-action@3f0a3f9f988f7e96b8c18098ae05eaec175f5b52 # v6.1
with:
packages: ruby gcc-core make libssl libyaml libffi zlib rubygems ruby-devel
site: |
https://cygwin.osuosl.org/
- name: Experiment with a manual bundle install
run: ruby -S bundle install
shell: C:\cygwin\bin\bash.exe --noprofile --norc -e -o igncr -o pipefail {0}
- name: Run test
run: ruby -S rake # Attempting without 'bundle exec'
timeout-minutes: 3
shell: C:\cygwin\bin\bash.exe --noprofile --norc -e -o igncr -o pipefail {0}