File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Build Windows/x64
2+
3+ on :
4+ push :
5+ branches :
6+ - main
7+ pull_request :
8+ branches :
9+ - main
10+
11+ jobs :
12+ build :
13+ runs-on : windows-latest
14+
15+ steps :
16+ - name : Checkout Repository with Submodules
17+ uses : actions/checkout@v3
18+ with :
19+ submodules : recursive
20+
21+ - name : Create Build Directory
22+ run : mkdir _build
23+
24+ - name : Configure with CMake
25+ shell : pwsh
26+ run : |
27+ cd _build
28+ & "C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe" -A x64 -T ClangCL ..
29+
30+ - name : Build with CMake
31+ shell : pwsh
32+ run : |
33+ cd _build
34+ & "C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe" --build . --config RelWithDebInfo --parallel
35+
36+ - name : Upload Build Artifacts
37+ uses : actions/upload-artifact@v3
38+ with :
39+ name : ectool
40+ path : |
41+ _build/src/RelWithDebInfo/ectool.exe
42+ _build/src/RelWithDebInfo/ectool.pdb
43+
You can’t perform that action at this time.
0 commit comments