| 1 | name: Build in Cygwin |
| 2 | on: |
| 3 | push: |
| 4 | branches: [ cygwin-build ] |
| 5 | pull_request: |
| 6 | branches: [ cygwin-build ] |
| 7 | |
| 8 | jobs: |
| 9 | build: |
| 10 | runs-on: windows-latest |
| 11 | steps: |
| 12 | - name: checkout |
| 13 | uses: actions/checkout@v2 |
| 14 | - name: cygwin setup |
| 15 | uses: egor-tensin/setup-cygwin@v3 |
| 16 | with: |
| 17 | packages: python3,make,gcc,dos2unix |
| 18 | - name: build & test |
| 19 | run: | |
| 20 | python3 -m pip install -U pip |
| 21 | python3 -m pip install -U pytest |
| 22 | cd D:/a/pynauty/pynauty |
| 23 | echo $SHELL |
| 24 | which -a sh bash |
| 25 | make pynauty |
| 26 | make minimal-test |
| 27 | shell: C:\tools\cygwin\bin\bash.exe --login --norc -eo pipefail -o igncr '{0}' |