Skip to content

Commit 8858fe8

Browse files
committed
x64-linux presets
1 parent ffb4ba9 commit 8858fe8

File tree

2 files changed

+17
-3
lines changed

2 files changed

+17
-3
lines changed

.github/workflows/build-on-unix.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ jobs:
5858
key: vcpkg-cache-${{hashFiles('vcpkg.json', 'vcpkg/commit.txt')}}
5959

6060
- name: CMake - Configure
61-
run: cmake --preset=x64-windows .
61+
run: cmake --preset=x64-linux .
6262

6363
- name: Save vcpkg binary-cache
6464
uses: actions/cache/save@v4
@@ -69,10 +69,10 @@ jobs:
6969
key: ${{steps.restore-vcpkg-cache.outputs.cache-primary-key}}
7070

7171
- name: CMake - Build (Debug)
72-
run: cmake --build --preset=x64-windows-dbg --parallel 1 .
72+
run: cmake --build --preset=x64-linux-dbg --parallel 1 .
7373

7474
- name: CMake - Build (Release)
75-
run: cmake --build --preset=x64-windows-rel --parallel 1 .
75+
run: cmake --build --preset=x64-linux-rel --parallel 1 .
7676

7777
- name: Run tests (Debug)
7878
working-directory: ${{env.DEBUG_BUILD_DIR}}

CMakePresets.json

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,20 @@
9494
"configurePreset": "x64-windows",
9595
"configuration": "Release"
9696
},
97+
{
98+
"name": "x64-linux-dbg",
99+
"displayName": "Debug",
100+
"inherits": "targets",
101+
"configurePreset": "x64-linux",
102+
"configuration": "Debug"
103+
},
104+
{
105+
"name": "x64-linux-rel",
106+
"displayName": "Release",
107+
"inherits": "targets",
108+
"configurePreset": "x64-linux",
109+
"configuration": "Release"
110+
},
97111
{
98112
"name": "arm64-osx-dbg",
99113
"displayName": "Debug",

0 commit comments

Comments
 (0)