File tree Expand file tree Collapse file tree 1 file changed +0
-33
lines changed Expand file tree Collapse file tree 1 file changed +0
-33
lines changed Original file line number Diff line number Diff line change 49
49
clang-tidy --version
50
50
find src -name '*.c' -print | xargs -P$(nproc) -I{} \
51
51
clang-tidy --quiet {} -- $(pkg-config --cflags ./deps.pc)
52
- cygwin :
53
- runs-on : windows-latest
54
- env :
55
- CYGWIN_NOWINPATH : 1 # Removes non-Cygwin dirs from PATH.
56
- CHERE_INVOKING : ' ' # Makes Cygwin's `bash.exe --login` not cd.
57
- defaults :
58
- run :
59
- shell : C:\cygwin\bin\bash.exe --login -o igncr {0}
60
- steps :
61
- - run : git config --global core.autocrlf input
62
- # This is NOT the Cygwin bash, it's the Git for Windows bash from the
63
- # default Github Actions Windows VM. This step tells git to translate Unix
64
- # newlines to DOS newlines.
65
- shell : bash
66
- - uses : actions/checkout@v4
67
- - uses : cygwin/cygwin-install-action@v5
68
- with :
69
- packages : autoconf autoconf-archive automake gcc-core libImlib2-devel \
70
- libXcomposite-devel libXext-devel libXfixes-devel libXinerama-devel \
71
- make
72
- - name : distcheck
73
- # NOTE: cygwin's imlib2 version is too old, and it's imlib_apply_filter
74
- # lacks `const` qualifier. so use `-Wno-error=discarded-qualifiers`.
75
- run : |
76
- cd ${GITHUB_WORKSPACE}
77
- ./autogen.sh
78
- ./configure SCROT_PRIVATE_FLAGS="-Werror -Wno-error=cpp -Wno-error=pedantic -Wno-error=discarded-qualifiers"
79
- make distcheck
80
- - name : run_program
81
- run : |
82
- cd ${GITHUB_WORKSPACE}
83
- make
84
- src/scrot -v
You can’t perform that action at this time.
0 commit comments