Skip to content

Commit 7d810e3

Browse files
shell
1 parent f4275be commit 7d810e3

File tree

1 file changed

+10
-8
lines changed

1 file changed

+10
-8
lines changed

.github/workflows/rebuildDependencies.yml

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -60,9 +60,6 @@ jobs:
6060
conan_profile: msvc-x64
6161
conan_options: -o target_pre_windows10=True
6262
runs-on: ${{ matrix.os }}
63-
defaults:
64-
run:
65-
shell: bash
6663
steps:
6764
- name: Checkout VCMI
6865
uses: actions/checkout@v4
@@ -79,6 +76,7 @@ jobs:
7976

8077
- name: Prepare CI
8178
if: ${{ matrix.before_install }}
79+
shell: bash
8280
run: source '${{github.workspace}}/CI/before_install/${{matrix.before_install}}'
8381

8482
- name: Setup Conan Client
@@ -88,6 +86,7 @@ jobs:
8886
# https://github.com/actions/runner-images/tree/main/images
8987
# using CMake from Android SDK because some runners already have CMake v4
9088
- name: Prepare platform tools
89+
shell: bash
9190
run: |
9291
cmakeVersion=3.31.6
9392
@@ -104,6 +103,7 @@ jobs:
104103
tools.cmake.cmaketoolchain:generator=Ninja" >> $(conan profile path default)
105104
106105
- name: Install system libs recipes
106+
shell: bash
107107
if: ${{ matrix.conan_system_libs }}
108108
run: |
109109
systemLibsRepo='conan-system-libs'
@@ -122,6 +122,7 @@ jobs:
122122
path: deps
123123

124124
- name: Build recipes with our patches
125+
shell: bash
125126
run: |
126127
set -x
127128
cciRepo='conan-center-index'
@@ -178,6 +179,7 @@ jobs:
178179
179180
# TODO: remove when https://github.com/conan-io/conan-center-index/pull/26577 is merged
180181
- name: Build LuaJIT from PR changes
182+
shell: bash
181183
run: |
182184
cciForkRepo='cci-fork'
183185
branchName='package/luajit'
@@ -200,19 +202,17 @@ jobs:
200202
--build=missing \
201203
--test-folder=''
202204
205+
# FFmpeg doesn't build with msvc in bash
203206
- name: Generate conan profile
204207
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 }}
210209
211210
- name: Remove builds and source code
212211
run: conan cache clean
213212

214213
- name: Get NDK path
215214
if: ${{ startsWith(matrix.platform, 'android') }}
215+
shell: bash
216216
run: |
217217
ndkPackage='android-ndk'
218218
hexRegex='[[:xdigit:]]+'
@@ -223,6 +223,7 @@ jobs:
223223
echo "NDK directory: $ndkPackagePath"
224224
225225
- name: Remove build requirements' binaries
226+
shell: bash
226227
run: |
227228
graphFile='graph.json'
228229
packageListFile='pkglist.json'
@@ -242,6 +243,7 @@ jobs:
242243
conan remove --list "$packageListFile" --confirm
243244
244245
- name: Create list of built packages
246+
shell: bash
245247
run: |
246248
packageList="$(conan list --format=compact | tail -n +2)"
247249
echo "CONAN_PACKAGES<<EOF\n$packageList\nEOF" >> $GITHUB_ENV

0 commit comments

Comments
 (0)