Skip to content

Commit

Permalink
Merge pull request #2847 from leleliu008/run-units-target-on-cygwin
Browse files Browse the repository at this point in the history
GitHubActions: run units target on Cygwin
  • Loading branch information
leleliu008 committed Feb 4, 2021
2 parents f546bf3 + 379c973 commit 073c52a
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/testing-cygwin.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: run units target on Cygwin

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

jobs:
testing:
runs-on: windows-latest

defaults:
run:
shell: C:\tools\cygwin\bin\bash.exe -l -i {0}

steps:
- run: choco install -y --source cygwin gcc-g++ make automake autoconf pkg-config dos2unix libiconv-devel libjansson-devel libxml2-devel libyaml-devel
shell: pwsh

- run: git config --global core.autocrlf input
shell: bash

- uses: actions/checkout@v2

- run: printf 'cd %s' "$(cygpath '${{ github.workspace }}')" >> ~/.bashrc

- run: ./autogen.sh
- run: ./configure --prefix=/usr
- run: make V=1
- run: make install
- run: file /usr/bin/ctags
- run: /usr/bin/ctags --version
- run: make check V=1 APPVEYOR=1
- run: make roundtrip

0 comments on commit 073c52a

Please sign in to comment.