1name: run units target on Cygwin 2 3on: 4 push: 5 branches: [ master ] 6 pull_request: 7 branches: [ master ] 8 9jobs: 10 testing: 11 runs-on: windows-latest 12 13 defaults: 14 run: 15 shell: C:\tools\cygwin\bin\bash.exe -l -i {0} 16 17 steps: 18 - run: choco install -y --source cygwin gcc-g++ make automake autoconf pkg-config dos2unix libiconv-devel libjansson-devel libxml2-devel libyaml-devel 19 shell: pwsh 20 21 - run: git config --global core.autocrlf input 22 shell: bash 23 24 - uses: actions/checkout@v2 25 26 - run: printf 'cd %s' "$(cygpath '${{ github.workspace }}')" >> ~/.bashrc 27 28 - run: ./autogen.sh 29 - run: ./configure --prefix=/usr 30 - run: make V=1 31 - run: make install 32 - run: file /usr/bin/ctags 33 - run: /usr/bin/ctags --version 34 - run: make check V=1 35 - run: make roundtrip 36