File tree 1 file changed +9
-5
lines changed 1 file changed +9
-5
lines changed Original file line number Diff line number Diff line change 15
15
16
16
steps :
17
17
- uses : actions/checkout@v4
18
+ with :
19
+ submodules : recursive
18
20
- name : Linux setup
19
21
if : runner.os == 'Linux'
20
22
run : |
71
73
echo 'CXXFLAGS='"$CXXFLAGS" >> $GITHUB_ENV
72
74
- name : Configure autotools
73
75
run : |
74
- git submodule update --init --depth 1
75
76
autoreconf -i && ./configure --disable-dependency-tracking
76
77
- name : Build sfparse with distcheck
77
78
run : |
89
90
90
91
steps :
91
92
- uses : actions/checkout@v4
92
- - name : Linux setup
93
+ with :
94
+ submodules : recursive
95
+ - name : Prepare for i386
96
+ if : matrix.host == 'i686-w64-mingw32'
93
97
run : |
94
98
sudo dpkg --add-architecture i386
99
+ - name : Linux setup
100
+ run : |
95
101
sudo apt-get update
96
102
sudo apt-get install \
97
103
gcc-mingw-w64 \
@@ -103,7 +109,6 @@ jobs:
103
109
wine
104
110
- name : Configure autotools
105
111
run : |
106
- git submodule update --init --depth 1
107
112
autoreconf -i && \
108
113
./configure --disable-dependency-tracking --enable-werror \
109
114
--host="$HOST" LIBS="-pthread"
@@ -112,7 +117,6 @@ jobs:
112
117
make -j$(nproc)
113
118
make -j$(nproc) check TESTS=""
114
119
- name : Run tests
115
- if : matrix.host == 'x86_64-w64-mingw32'
116
120
run : |
117
- export WINEPATH=/usr/x86_64-w64-mingw32/lib
121
+ export WINEPATH=" /usr/${{ matrix.host }}/lib;$(winepath -w /usr/lib/ x86_64-linux-gnu/wine/x86_64-windows)"
118
122
wine test.exe
You can’t perform that action at this time.
0 commit comments