File tree Expand file tree Collapse file tree 1 file changed +60
-0
lines changed
Expand file tree Collapse file tree 1 file changed +60
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Windows Nightly CI
2+ on :
3+ push :
4+ branches : [ "main" ]
5+ pull_request :
6+ branches : [ "main" ]
7+
8+ # Allows you to run this workflow manually from the Actions tab
9+ workflow_dispatch :
10+
11+ env :
12+ QT_VERSION : 6.5.1
13+ SOURCE_DIR : ${{ github.workspace }}
14+ BUILD_DIR : ${{ github.workspace }}\Build\Qt-windows\bin
15+ ARCHIVE_NAME : nightly-build
16+
17+ jobs :
18+ build :
19+ runs-on : windows-latest
20+ steps :
21+ - name : Python check
22+ run : python -V
23+
24+ - name : Checkout Project
25+ uses : actions/checkout@v3
26+ with :
27+ lfs : ' true'
28+ submodules : ' recursive'
29+
30+ - name : Checkout Dependencies
31+ run : |
32+ python ${{ env.SOURCE_DIR }}/Scripts/make.py --checkout
33+
34+ - name : Apply Patches
35+ run : |
36+ python ${{ env.SOURCE_DIR }}/Scripts/make.py --patch
37+
38+ - name : Generate Project by Premake
39+ run : |
40+ python ${{ env.SOURCE_DIR }}/Scripts/make.py --premake
41+
42+ - name : Install Qt
43+ run : |
44+ python ${{ env.SOURCE_DIR }}/Scripts/make.py --aqt=${{ env.QT_VERSION }}
45+
46+ - name : Build Application
47+ run : |
48+ python ${{ env.SOURCE_DIR }}/Scripts/make.py --build --aqt=${{ env.QT_VERSION }}
49+
50+ - name : Artifact
51+ uses : actions/upload-artifact@v3
52+ with :
53+ name : ${{ env.ARCHIVE_NAME }}
54+ path : ${{ env.BUILD_DIR }}/**
55+
56+
57+
58+
59+
60+
You can’t perform that action at this time.
0 commit comments