Skip to content

Commit b0c834e

Browse files
committed
Update build.yml
1 parent aceca0b commit b0c834e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ jobs:
2424
matrix:
2525
os: [windows-latest, ubuntu-20.04]
2626
arch: [x64, x86]
27+
CMAKE_ARCH_FLAG: --preset=unix
2728
include:
2829
- os: windows-latest
2930
arch: x64
@@ -63,7 +64,7 @@ jobs:
6364
path: third-party/garrysmod_common
6465

6566
- name: Configure project
66-
run: cmake --preset=vcpkg -B build -S . ${{matrix.CMAKE_ARCH_FLAG}} -DGARRYSMOD_COMMON_PATH="third-party/garrysmod_common" -DAUTOINSTALL="." -DBUILD_SHARED_LIBS=OFF -DGIT_BRANCH="${{env.GIT_BRANCH}}" -DCMAKE_BUILD_TYPE="${{env.BUILD_TYPE}}"
67+
run: cmake -B build -S . ${{matrix.CMAKE_ARCH_FLAG}} -DGARRYSMOD_COMMON_PATH="third-party/garrysmod_common" -DAUTOINSTALL="." -DGIT_BRANCH="${{env.GIT_BRANCH}}" -DCMAKE_BUILD_TYPE="${{env.BUILD_TYPE}}"
6768

6869
- name: Build project
6970
run: cmake --build build -j -t async_postgres --config ${{env.BUILD_TYPE}}

0 commit comments

Comments
 (0)