@@ -128,13 +128,6 @@ jobs:
128
128
${{ matrix.install }}
129
129
sudo apt install -y ninja-build python3-venv python3-pip
130
130
131
- - name : Install python requirements for string catalog
132
- run : |
133
- python3 -m venv ${{github.workspace}}/test_venv
134
- source ${{github.workspace}}/test_venv/bin/activate
135
- pip install -r ${{github.workspace}}/tools/requirements.txt
136
- echo "${{github.workspace}}/test_venv/bin" >> $GITHUB_PATH
137
-
138
131
- name : Restore CPM cache
139
132
env :
140
133
cache-name : cpm-cache-0
@@ -161,6 +154,14 @@ jobs:
161
154
path : ~/cpm-cache
162
155
key : ${{runner.os}}-${{env.cache-name}}-${{ hashFiles('**/CMakeLists.txt', 'cmake/**') }}
163
156
157
+ - name : Install python requirements
158
+ run : |
159
+ python3 -m venv ${{github.workspace}}/test_venv
160
+ source ${{github.workspace}}/test_venv/bin/activate
161
+ pip install -r ${{github.workspace}}/tools/requirements.txt
162
+ pip install -r ${{github.workspace}}/requirements.txt
163
+ echo "${{github.workspace}}/test_venv/bin" >> $GITHUB_PATH
164
+
164
165
- name : Build Unit Tests
165
166
run : cmake --build ${{github.workspace}}/build --config ${{matrix.build_type}} -v -t build_unit_tests
166
167
@@ -214,13 +215,6 @@ jobs:
214
215
${{ matrix.install }}
215
216
sudo apt install -y ninja-build python3-venv python3-pip
216
217
217
- - name : Install python requirements for string catalog
218
- run : |
219
- python3 -m venv ${{github.workspace}}/test_venv
220
- source ${{github.workspace}}/test_venv/bin/activate
221
- pip install -r ${{github.workspace}}/tools/requirements.txt
222
- echo "${{github.workspace}}/test_venv/bin" >> $GITHUB_PATH
223
-
224
218
- name : Restore CPM cache
225
219
env :
226
220
cache-name : cpm-cache-0
@@ -247,6 +241,14 @@ jobs:
247
241
path : ~/cpm-cache
248
242
key : ${{runner.os}}-${{env.cache-name}}-${{ hashFiles('**/CMakeLists.txt', 'cmake/**') }}
249
243
244
+ - name : Install python requirements
245
+ run : |
246
+ python3 -m venv ${{github.workspace}}/test_venv
247
+ source ${{github.workspace}}/test_venv/bin/activate
248
+ pip install -r ${{github.workspace}}/tools/requirements.txt
249
+ pip install -r ${{github.workspace}}/requirements.txt
250
+ echo "${{github.workspace}}/test_venv/bin" >> $GITHUB_PATH
251
+
250
252
- name : Build Unit Tests
251
253
run : cmake --build ${{github.workspace}}/build --config ${{matrix.build_type}} -v -t build_unit_tests
252
254
@@ -341,13 +343,6 @@ jobs:
341
343
${{ matrix.install }}
342
344
sudo apt install -y ninja-build python3-venv python3-pip
343
345
344
- - name : Install python requirements for string catalog
345
- run : |
346
- python3 -m venv ${{github.workspace}}/test_venv
347
- source ${{github.workspace}}/test_venv/bin/activate
348
- pip install -r ${{github.workspace}}/tools/requirements.txt
349
- echo "${{github.workspace}}/test_venv/bin" >> $GITHUB_PATH
350
-
351
346
- name : Restore CPM cache
352
347
env :
353
348
cache-name : cpm-cache-0
@@ -382,6 +377,14 @@ jobs:
382
377
# using leading to random crashes: https://reviews.llvm.org/D148280
383
378
run : sudo sysctl vm.mmap_rnd_bits=28
384
379
380
+ - name : Install python requirements
381
+ run : |
382
+ python3 -m venv ${{github.workspace}}/test_venv
383
+ source ${{github.workspace}}/test_venv/bin/activate
384
+ pip install -r ${{github.workspace}}/tools/requirements.txt
385
+ pip install -r ${{github.workspace}}/requirements.txt
386
+ echo "${{github.workspace}}/test_venv/bin" >> $GITHUB_PATH
387
+
385
388
- name : Build Unit Tests
386
389
run : cmake --build ${{github.workspace}}/build -t unit_tests
387
390
@@ -394,13 +397,6 @@ jobs:
394
397
run : |
395
398
sudo apt update && sudo apt install -y gcc-${{env.DEFAULT_GCC_VERSION}} g++-${{env.DEFAULT_GCC_VERSION}} ninja-build python3-venv python3-pip valgrind
396
399
397
- - name : Install python requirements for string catalog
398
- run : |
399
- python3 -m venv ${{github.workspace}}/test_venv
400
- source ${{github.workspace}}/test_venv/bin/activate
401
- pip install -r ${{github.workspace}}/tools/requirements.txt
402
- echo "${{github.workspace}}/test_venv/bin" >> $GITHUB_PATH
403
-
404
400
- name : Restore CPM cache
405
401
env :
406
402
cache-name : cpm-cache-0
@@ -427,6 +423,14 @@ jobs:
427
423
path : ~/cpm-cache
428
424
key : ${{runner.os}}-${{env.cache-name}}-${{ hashFiles('**/CMakeLists.txt', 'cmake/**') }}
429
425
426
+ - name : Install python requirements
427
+ run : |
428
+ python3 -m venv ${{github.workspace}}/test_venv
429
+ source ${{github.workspace}}/test_venv/bin/activate
430
+ pip install -r ${{github.workspace}}/tools/requirements.txt
431
+ pip install -r ${{github.workspace}}/requirements.txt
432
+ echo "${{github.workspace}}/test_venv/bin" >> $GITHUB_PATH
433
+
430
434
- name : Build Unit Tests
431
435
run : cmake --build ${{github.workspace}}/build -t build_unit_tests
432
436
0 commit comments