@@ -125,25 +125,18 @@ jobs:
125
125
# sudo apt-get install clang clang-11 clang-tools-11 clang-11-doc libclang-common-11-dev libclang-11-dev libclang1-11 clang-format-11 clangd-11
126
126
# sudo apt-get install libc++ libc++-11-dev libc++abi-11-dev
127
127
128
- - name : 1. [MacOS] Install Dependencies
129
- if : startsWith(matrix.config.os, 'macos')
130
- # shell: bash
131
- run : /bin/bash -c "yes | ./update.sh -i -w ${{ matrix.config.work_dir }}"
128
+ - name : 1. [All] Install Dependencies
129
+ shell : bash
130
+ run : ./update.sh -y -i -w ${{ matrix.config.work_dir }}
132
131
133
132
- name : 1. [MacOS] Fix Path
134
133
if : startsWith(matrix.config.os, 'macos')
135
134
shell : bash
136
135
run : echo "/usr/local/opt/gnu-sed/libexec/gnubin" >> $GITHUB_PATH
137
136
138
- - name : 2. [MacOS] Build up the environment
139
- if : startsWith(matrix.config.os, 'macos')
140
- # shell: bash
141
- run : /bin/bash -c "yes | ./update.sh -e -x -r -s -w ${{ matrix.config.work_dir }}"
142
-
143
137
- name : 2. [All] Build up the environment
144
- if : startsWith(matrix.config.os, 'macos') == false
145
138
shell : bash
146
- run : bash -c "yes || true" | bash update.sh -e -x -r -s -w ${{ matrix.config.work_dir }}
139
+ run : ./ update.sh -y -e -x -r -s -w ${{ matrix.config.work_dir }}
147
140
148
141
# - name: 3. [All] Clean Work Directory
149
142
# shell: bash
@@ -167,11 +160,11 @@ jobs:
167
160
# run: |
168
161
# python --version
169
162
# which python
170
- # bash -c "yes || true" | bash update.sh -c -x -w ${{ matrix.config.work_dir }}
163
+ # ./ update.sh -y -c -x -w ${{ matrix.config.work_dir }}
171
164
172
165
# - name: 3. [All] Build Qt
173
166
# shell: bash
174
- # run: bash -c "yes || true" | bash update.sh -q -x -r -j 4 -w ${{ matrix.config.work_dir }}
167
+ # run: ./ update.sh -y -q -x -r -j 4 -w ${{ matrix.config.work_dir }}
175
168
176
169
# - name: 5. [Windows] Make SDK toolchain zip
177
170
# if: startsWith(matrix.config.os, 'windows') && steps.github-cache.outputs.cache-hit != 'true'
0 commit comments