File tree Expand file tree Collapse file tree 1 file changed +38
-0
lines changed
Expand file tree Collapse file tree 1 file changed +38
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Windows build
2+
3+ on :
4+ push :
5+ branches :
6+ - dlubal
7+ workflow_dispatch :
8+
9+ env :
10+ BUILD_TYPE : Release
11+ BUILD_DIR : ${{github.workspace}}/build/bin/Release
12+
13+ jobs :
14+ build :
15+ runs-on : windows-2022
16+
17+ steps :
18+ - uses : actions/checkout@v4
19+
20+ - name : Configure CMake
21+ run : cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}}
22+
23+ - name : Build
24+ run : cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}}
25+
26+ - name : Remove unnecessary files
27+ run : |
28+ rm -R -Force ${{env.BUILD_DIR}}/addons
29+ del ${{env.BUILD_DIR}}/*.pdb
30+ del ${{env.BUILD_DIR}}/dmake.*
31+
32+ - name : Upload build artifacts
33+ uses : actions/upload-artifact@v4
34+ with :
35+ name : build-win64
36+ path : ${{env.BUILD_DIR}}
37+
38+
You can’t perform that action at this time.
0 commit comments