File tree Expand file tree Collapse file tree 1 file changed +23
-24
lines changed
Expand file tree Collapse file tree 1 file changed +23
-24
lines changed Original file line number Diff line number Diff line change 1- name : ZEngine Window Build
1+ name : ZEngine Window CMake Build
22
3- on : workflow_call
3+ on :
4+ push :
5+ branches : [ newcmakelinux ]
46
57jobs :
6- cmake-build :
7- strategy :
8- matrix :
9- buildConfiguration : [Debug, Release]
10- uses : ./.github/workflows/job-cmakebuild-windows.yml
11- with :
12- configuration : ${{matrix.buildConfiguration}}
13-
14- test :
15- needs : cmake-build
16- strategy :
17- matrix :
18- testConfiguration : [Debug, Release]
19- uses : ./.github/workflows/job-test-windows.yml
20- with :
21- configuration : ${{matrix.testConfiguration}}
22-
23- deploy :
24- needs : test
25- uses : ./.github/workflows/job-deploy-windows.yml
26- with :
27- configuration : Release
8+ Windows-CMake-Build :
9+ runs-on : windows-latest
10+
11+ steps :
12+
13+ - name : Checkout repository
14+ uses : actions/checkout@v3
15+
16+ - name : Create CMake Build Directory
17+ run : mkdir ../build && cmake -B ../build -DCMAKE_BUILD_TYPE=Debug -G Ninja
18+
19+ - name : Build
20+ run : cmake --build ../build
21+
22+ - name : Test
23+ run : ctest .
24+ working-directory : ../build/ZEngine/tests
25+
26+
You can’t perform that action at this time.
0 commit comments