File tree Expand file tree Collapse file tree 1 file changed +21
-22
lines changed
Expand file tree Collapse file tree 1 file changed +21
-22
lines changed Original file line number Diff line number Diff line change 1- name : " build "
1+ name : C++ CI
22
33on :
44 push :
5- branches : [" main" ]
5+ branches : [ main ]
66 pull_request :
7- branches : [" main" ]
7+ branches : [ main ]
88
99jobs :
10- build-container :
11- runs-on : ubuntu-latest
12- steps :
13- - uses : actions/checkout@v2
14- - name : Build and push Docker image
15- uses : docker/build-push-action@v2
16- with :
17- context : .
18- push : true
19- tags : ghcr.io/diffcheckorg/diffcheck-windows:latest
20-
21- configure-and-build :
22- needs : build-container
10+ build :
2311 runs-on : windows-latest
24- container :
25- image : ghcr.io/diffcheckorg/diffcheck-windows:latest
12+
2613 steps :
27- - uses : actions/checkout@v4
28- with :
29- lfs : true
30- submodules:
14+ - uses : actions/checkout@v2
15+
16+ - name : Create Build Environment
17+ run : cmake -E make_directory ${{github.workspace}}/build
18+
19+ - name : Configure CMake
20+ shell : cmd
21+ run : |
22+ cd ${{github.workspace}}/build
23+ cmake .. -DCMAKE_BUILD_TYPE=Release
24+
25+ - name : Build
26+ shell : cmd
27+ run : |
28+ cd ${{github.workspace}}/build
29+ cmake --build . --config Release
You can’t perform that action at this time.
0 commit comments