47
47
name : Prepare for Windows
48
48
run : |
49
49
dir
50
+ # DONT NEED IT. FOR DEBUG ONLY
50
51
# pip install aqtinstall
51
52
# aqt list-qt linux desktop
52
53
# aqt list-qt windows desktop
57
58
name : Install dependencies
58
59
run : |
59
60
ls
61
+ # DONT NEED IT. FOR DEBUG ONLY
60
62
# pip install aqtinstall
61
63
# aqt list-qt linux desktop
62
64
# aqt list-qt linux desktop --long-modules ${{ matrix.qt-version }} win64_mingw
67
69
name : Install for macOS
68
70
run : |
69
71
ls
72
+ # DONT NEED IT. FOR DEBUG ONLY
70
73
# pip install aqtinstall
71
74
# aqt list-qt mac desktop
72
75
# aqt list-qt mac desktop --modules ${{ matrix.qt-version }}
@@ -117,33 +120,32 @@ jobs:
117
120
#
118
121
# Build SocNetV
119
122
#
120
- # - if: contains( matrix.os, 'ubuntu-latest')
121
- # name: Build for Linux
122
- # run: |
123
- # echo "openssl version:"
124
- # echo `openssl version`
125
- # echo "Check output of 'which qmake6':"
126
- # which qmake6
127
- # echo "Check qmake6 -v:"
128
- # qmake6 -v
129
- # qmake6 CONFIG+=debug && make -s -j 8
130
- # echo "Building finished! "
131
- # echo "Files in current directory: "
132
- # find .
133
- # # BUILD FOR MACOS
134
- # - if: contains( matrix.os, 'macos')
135
- # name: Build for macOS
136
- # run: |
137
- # qmake CONFIG+=debug socnetv.pro
138
- # make -s -j 8
139
- # find .
123
+ - if : contains( matrix.os, 'ubuntu-latest')
124
+ name : Build for Linux
125
+ run : |
126
+ echo "openssl version:"
127
+ echo `openssl version`
128
+ echo "Check output of 'which qmake6':"
129
+ which qmake6
130
+ echo "Check qmake6 -v:"
131
+ qmake6 -v
132
+ qmake6 CONFIG+=debug && make -s -j 8
133
+ echo "Building finished! "
134
+ echo "Files in current directory: "
135
+ find .
136
+ # BUILD FOR MACOS
137
+ - if : contains( matrix.os, 'macos')
138
+ name : Build for macOS
139
+ run : |
140
+ qmake CONFIG+=debug socnetv.pro
141
+ make -s -j 8
142
+ find .
140
143
# BUILD FOR WINDOWS
141
144
- if : contains( matrix.os, 'windows') && startsWith( matrix.qt-version, '6.' ) && matrix.qt-version == '6.2.4'
142
145
name : Build for Windows
143
146
run : |
144
147
echo "Listing some directories"
145
148
dir D:\a\app\Qt\
146
- dir D:\a\app\Qt\6.2.4
147
149
echo "Running qmake6"
148
150
qmake6 CONFIG+=debug socnetv.pro -r
149
151
echo "Compiling, please wait..."
@@ -164,19 +166,25 @@ jobs:
164
166
run : |
165
167
echo "Listing some directories"
166
168
dir D:\a\app\Qt\
167
- echo "Running qmake6"
168
- qmake6 CONFIG+=debug socnetv.pro -r
169
- echo "Compiling with nmake. Please wait..."
170
- nmake
171
- dir
169
+ echo "Creating build dir"
170
+ mkdir build
171
+ echo "Running cmake ..."
172
+ cmake -S . -B build
173
+ echo "Compiling with cmake at once. Please wait..."
174
+ cmake --build build
175
+ dir build
172
176
- if : contains( matrix.os, 'windows') && startsWith( matrix.qt-version, '6.' ) && matrix.qt-version == '6.6.3'
173
177
name : Build for Windows
174
178
run : |
175
179
echo "Listing some directories"
176
180
dir D:\a\app\Qt\
181
+ echo "Creating build dir"
182
+ mkdir build
183
+ echo "Entering build dir"
184
+ cd build
177
185
echo "Running cmake"
178
- qmake6 CONFIG+=debug socnetv.pro -r
186
+ cmake ..
179
187
echo "Compiling with nmake. Please wait..."
180
188
nmake
181
- dir
189
+ dir build
182
190
- run : echo "🍏 This job's status is ${{ job.status }}."
0 commit comments