Skip to content

Commit 24803a5

Browse files
test windows cmake workflow but without vcpkg packages
1 parent 44c4c01 commit 24803a5

2 files changed

Lines changed: 18 additions & 19 deletions

File tree

.github/workflows/linux-build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
name: ZEngine Linux Build
44

55
on:
6-
push:
7-
branches: [ newcmakelinux ]
6+
# push:
7+
# branches: [ newcmakelinux ]
88
pull_request:
99
branches: [ master ]
1010

.github/workflows/windowsbuildcmake.yml

Lines changed: 16 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -2,28 +2,27 @@ name: ZEngine Window CMake Build
22

33
on:
44
push:
5-
branches: [ newcmakelinux ]
5+
branches: [ newcmakelinux ]
66

77
jobs:
88
Windows-CMake-Build:
99
runs-on: windows-latest
1010

1111
steps:
12-
- name: Checkout repository
13-
-uses: actions/checkout@v3
14-
-uses: humbletim/vsdevenv-shell@v2
15-
16-
- name: Create CMake Build Directory
17-
shell: vsdevenv x64 pwsh {0}
18-
run: mkdir ../build && cmake -B ../build -DCMAKE_BUILD_TYPE=Debug -G Ninja
19-
20-
- name: Build
21-
shell: vsdevenv x64 pwsh {0}
22-
run: cmake --build ../build
23-
24-
- name: Test
25-
shell: vsdevenv x64 pwsh {0}
26-
run: ctest .
27-
working-directory: ../build/ZEngine/tests
12+
- uses: actions/checkout@v3
13+
- uses: humbletim/vsdevenv-shell@v2
14+
15+
- name: Create CMake Build Directory
16+
shell: vsdevenv x64 pwsh {0}
17+
run: mkdir ../build && cmake -B ../build -DCMAKE_BUILD_TYPE=Debug -G Ninja
18+
19+
- name: Build
20+
shell: vsdevenv x64 pwsh {0}
21+
run: cmake --build ../build
22+
23+
- name: Test
24+
shell: vsdevenv x64 pwsh {0}
25+
run: ctest .
26+
working-directory: ../build/ZEngine/tests
2827

2928

0 commit comments

Comments
 (0)