Skip to content

Commit cd1c63e

Browse files
committed
add parallel to builds
1 parent c1aba5b commit cd1c63e

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/release-cpack.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
- name: Build
1717
run: |
1818
cmake -B build -DHIPO=ON -DBUILD_OPENBLAS=ON -DBUILD_SHARED_LIBS=OFF
19-
cmake --build build
19+
cmake --build build -j2
2020
cd build && cpack
2121
2222
- name: Upload artifacts
@@ -36,7 +36,7 @@ jobs:
3636
- name: Build
3737
run: |
3838
cmake -B build -DHIPO=ON -DBUILD_OPENBLAS=ON
39-
cmake --build build
39+
cmake --build build -j2
4040
cd build && cpack
4141
4242
- name: Upload artifacts
@@ -56,7 +56,7 @@ jobs:
5656
run: |
5757
cmake -B build -G "Visual Studio 17 2022" -A ${{ matrix.arch }} `
5858
-DHIPO=ON -DBUILD_OPENBLAS=ON
59-
cmake --build build --config Release
59+
cmake --build build --config Release --parallel
6060
cd build
6161
cpack -C Release
6262
- name: Upload artifacts
@@ -76,7 +76,7 @@ jobs:
7676
run: |
7777
cmake -B build -G "Visual Studio 17 2022" -A ${{ matrix.arch }} `
7878
-DHIPO=ON -DBUILD_OPENBLAS=ON
79-
cmake --build build --config Release
79+
cmake --build build --config Release --parallel
8080
cd build
8181
cpack -C Release
8282
@@ -93,7 +93,7 @@ jobs:
9393
- name: Build Universal Binary
9494
run: |
9595
cmake -B build -DCMAKE_OSX_ARCHITECTURES="x86_64;arm64"
96-
cmake --build build -DHIPO=ON
96+
cmake --build build -DHIPO=ON --parallel
9797
cd build && cpack
9898
9999
- name: Upload artifacts

0 commit comments

Comments
 (0)