Skip to content

Commit a621aaa

Browse files
Test: swap space and use CMAKE_BUILD_PARALLEL_LEVEL: 2
1 parent 0d74e4d commit a621aaa

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

.github/workflows/generate_coverage.yaml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,14 +117,23 @@ jobs:
117117
mamba info
118118
mamba list
119119
120+
- name: Create swap space
121+
run: |
122+
sudo fallocate -l 8G /swapfile
123+
sudo chmod 600 /swapfile
124+
sudo mkswap /swapfile
125+
sudo swapon /swapfile
126+
sudo swapon --show
127+
120128
- name: Build dpnp tensor with coverage
121129
id: build_tensor
122130
uses: nick-fields/retry@ce71cc2ab81d554ebbe88c79ab5975992d79ba08 # v3.0.2
123131
env:
124132
SYCL_CACHE_PERSISTENT: 1
133+
CMAKE_BUILD_PARALLEL_LEVEL: 2
125134
with:
126135
shell: bash
127-
timeout_minutes: 60
136+
timeout_minutes: 90
128137
max_attempts: 5
129138
retry_on: error
130139
command: |

0 commit comments

Comments
 (0)