@@ -10,10 +10,10 @@ jobs:
1010 strategy :
1111 matrix :
1212 include :
13- - configure_options : ' --enable-code-coverage --enable-winapi=yes '
13+ - configure_options : ' --enable-code-coverage --enable-winapi'
1414 codecov_name : ' cygwin64-gcc-no-optimization'
1515 steps :
16- - name : Configure git
16+ - name : Configure git
1717 run : git config --global core.autocrlf false
1818 - uses : actions/checkout@v6
1919 - name : Install Cygwin and build dependencies
2222 packages : autoconf, automake, curl, gettext-devel, git, libtool, make, mingw-w64-x86_64-gcc, pkg-config
2323 platform : x86_64
2424 add-to-path : true
25+ - name : Download test data
26+ shell : bash --login -e -o pipefail -o igncr {0}
27+ working-directory : ${{ github.workspace }}
28+ env :
29+ CHERE_INVOKING : 1
30+ run : |
31+ if test -x "synctestdata.sh"; then ./synctestdata.sh; fi
2532 - name : Build from source
2633 shell : bash --login -e -o pipefail -o igncr {0}
2734 working-directory : ${{ github.workspace }}
3037 CONFIGURE_OPTIONS : ${{ matrix.configure_options }}
3138 LD : ld
3239 run : |
33- if test -x "synctestdata.sh"; then ./synctestdata.sh; fi
34- tests/build.sh ${CONFIGURE_OPTIONS}
40+ ./synclibs.sh --use-head
41+ ./autogen.sh
42+ ./configure ${CONFIGURE_OPTIONS}
43+ make > /dev/null
3544 - name : Run tests
3645 shell : bash --login -e -o pipefail -o igncr {0}
3746 working-directory : ${{ github.workspace }}
6473 include :
6574 - os : ubuntu-24.04
6675 compiler : ' gcc'
67- configure_options : ' CPPFLAGS=-DHAVE_MEMORY_TESTS=1 -- enable-code-coverage'
76+ configure_options : ' -- enable-code-coverage CPPFLAGS=-DHAVE_MEMORY_TESTS=1 '
6877 codecov_name : ' ubuntu-24.04-gcc-no-optimization'
6978 steps :
7079 - uses : actions/checkout@v6
7887 env :
7988 CC : ${{ matrix.compiler }}
8089 run : |
81- tests/build.sh ${{ matrix.configure_options }}
90+ ./synclibs.sh --use-head
91+ ./autogen.sh
92+ ./configure ${{ matrix.configure_options }}
93+ make > /dev/null
8294 - name : Run tests
8395 run : |
8496 make check CHECK_WITH_STDERR=1 SKIP_TOOLS_END_TO_END_TESTS=1
@@ -93,12 +105,12 @@ jobs:
93105 name : ${{ matrix.codecov_name }}
94106 token : ${{ secrets.CODECOV_TOKEN }}
95107 verbose : true
96- coverage_mingw :
108+ coverage_msys2_mingw :
97109 runs-on : windows-latest
98110 strategy :
99111 matrix :
100112 include :
101- - configure_options : ' --enable-code-coverage --enable-winapi=yes '
113+ - configure_options : ' --enable-code-coverage --enable-winapi'
102114 codecov_name : ' mingw-w64-gcc-no-optimization'
103115 steps :
104116 - uses : actions/checkout@v6
@@ -108,13 +120,19 @@ jobs:
108120 msystem : MINGW64
109121 update : true
110122 install : autoconf automake gettext gettext-devel git libtool make mingw-w64-x86_64-gcc pkg-config
123+ - name : Download test data
124+ shell : msys2 {0}
125+ run : |
126+ if test -x "synctestdata.sh"; then ./synctestdata.sh; fi
111127 - name : Build from source
112128 shell : msys2 {0}
113129 env :
114130 CONFIGURE_OPTIONS : ${{ matrix.configure_options }}
115131 run : |
116- if test -x "synctestdata.sh"; then ./synctestdata.sh; fi
117- tests/build.sh ${CONFIGURE_OPTIONS}
132+ ./synclibs.sh --use-head
133+ ./autogen.sh
134+ ./configure ${CONFIGURE_OPTIONS}
135+ make > /dev/null
118136 - name : Run tests
119137 shell : msys2 {0}
120138 run : |
0 commit comments