Skip to content

Commit 6d658c9

Browse files
committed
Reduced build time by building only module
1 parent e4c583a commit 6d658c9

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,13 +38,13 @@ jobs:
3838
-DBUILD_SHARED_LIBS=OFF
3939
4040
- name: '[x32] Build project (Serverside)'
41-
run: cmake --build build --config Release -j
41+
run: cmake --build build --config Release -j -t asyncio
4242

4343
- name: '[x32] Configure project (Clientside)'
4444
run: cmake -B build -S . -DCLIENT_DLL=ON
4545

4646
- name: '[x32] Build project (Clientside)'
47-
run: cmake --build build --config Release -j
47+
run: cmake --build build --config Release -j -t asyncio
4848

4949
- name: '[x64] Download garrysmod_common'
5050
uses: actions/checkout@v3
@@ -62,13 +62,13 @@ jobs:
6262
-DBUILD_SHARED_LIBS=OFF
6363
6464
- name: '[x64] Build project (Serverside)'
65-
run: cmake --build build64 --config Release -j
65+
run: cmake --build build64 --config Release -j -t asyncio
6666

6767
- name: '[x64] Configure project (Clientside)'
6868
run: cmake -B build64 -S . -DCLIENT_DLL=ON
6969

7070
- name: '[x64] Build project (Clientside)'
71-
run: cmake --build build64 --config Release -j
71+
run: cmake --build build64 --config Release -j -t asyncio
7272

7373
- name: "Upload artifacts"
7474
uses: actions/upload-artifact@v3

0 commit comments

Comments
 (0)