Repository navigation
Add CI for cygwin #1
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: test | ||
| 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} | ||