60
60
conan_profile : msvc-x64
61
61
conan_options : -o target_pre_windows10=True
62
62
runs-on : ${{ matrix.os }}
63
- defaults :
64
- run :
65
- shell : bash
66
63
steps :
67
64
- name : Checkout VCMI
68
65
uses : actions/checkout@v4
79
76
80
77
- name : Prepare CI
81
78
if : ${{ matrix.before_install }}
79
+ shell : bash
82
80
run : source '${{github.workspace}}/CI/before_install/${{matrix.before_install}}'
83
81
84
82
- name : Setup Conan Client
88
86
# https://github.com/actions/runner-images/tree/main/images
89
87
# using CMake from Android SDK because some runners already have CMake v4
90
88
- name : Prepare platform tools
89
+ shell : bash
91
90
run : |
92
91
cmakeVersion=3.31.6
93
92
@@ -104,6 +103,7 @@ jobs:
104
103
tools.cmake.cmaketoolchain:generator=Ninja" >> $(conan profile path default)
105
104
106
105
- name : Install system libs recipes
106
+ shell : bash
107
107
if : ${{ matrix.conan_system_libs }}
108
108
run : |
109
109
systemLibsRepo='conan-system-libs'
@@ -122,6 +122,7 @@ jobs:
122
122
path : deps
123
123
124
124
- name : Build recipes with our patches
125
+ shell : bash
125
126
run : |
126
127
set -x
127
128
cciRepo='conan-center-index'
@@ -178,6 +179,7 @@ jobs:
178
179
179
180
# TODO: remove when https://github.com/conan-io/conan-center-index/pull/26577 is merged
180
181
- name : Build LuaJIT from PR changes
182
+ shell : bash
181
183
run : |
182
184
cciForkRepo='cci-fork'
183
185
branchName='package/luajit'
@@ -200,19 +202,17 @@ jobs:
200
202
--build=missing \
201
203
--test-folder=''
202
204
205
+ # FFmpeg doesn't build with msvc in bash
203
206
- name : Generate conan profile
204
207
run : |
205
- conan install . \
206
- --output-folder=conan-generated \
207
- --build=missing \
208
- --profile=CI/conan/${{ matrix.conan_profile }} \
209
- ${{ matrix.conan_options }}
208
+ conan install . --output-folder=conan-generated --build=missing --profile=CI/conan/${{ matrix.conan_profile }} ${{ matrix.conan_options }}
210
209
211
210
- name : Remove builds and source code
212
211
run : conan cache clean
213
212
214
213
- name : Get NDK path
215
214
if : ${{ startsWith(matrix.platform, 'android') }}
215
+ shell : bash
216
216
run : |
217
217
ndkPackage='android-ndk'
218
218
hexRegex='[[:xdigit:]]+'
@@ -223,6 +223,7 @@ jobs:
223
223
echo "NDK directory: $ndkPackagePath"
224
224
225
225
- name : Remove build requirements' binaries
226
+ shell : bash
226
227
run : |
227
228
graphFile='graph.json'
228
229
packageListFile='pkglist.json'
@@ -242,6 +243,7 @@ jobs:
242
243
conan remove --list "$packageListFile" --confirm
243
244
244
245
- name : Create list of built packages
246
+ shell : bash
245
247
run : |
246
248
packageList="$(conan list --format=compact | tail -n +2)"
247
249
echo "CONAN_PACKAGES<<EOF\n$packageList\nEOF" >> $GITHUB_ENV
0 commit comments