Commit c291920 1 parent 3283988 commit c291920 Copy full SHA for c291920
File tree 1 file changed +58
-0
lines changed
1 file changed +58
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : AmurCore Build
2
+
3
+ on :
4
+ push :
5
+ tags :
6
+ - ' *'
7
+
8
+ env :
9
+ BUILD_TYPE : Release
10
+
11
+ jobs :
12
+ build :
13
+ runs-on : windows-latest
14
+ defaults :
15
+ run :
16
+ shell : msys2 {0}
17
+
18
+ steps :
19
+ - uses : msys2/setup-msys2@v2
20
+ with :
21
+ install : mingw-w64-x86_64-toolchain
22
+ msystem : mingw64
23
+ release : false
24
+
25
+ - name : Install Qt
26
+ uses : jurplel/install-qt-action@v3
27
+ with :
28
+ version : ' 5.15.2'
29
+ host : ' windows'
30
+ target : ' desktop'
31
+ arch : ' win64_mingw73'
32
+ dir : ' ${{github.workspace}}/qt/'
33
+ install-deps : ' true'
34
+
35
+ - name : List files in Qt
36
+ run : find ${{env.Qt5_Dir}}
37
+
38
+ - uses : actions/checkout@v2
39
+
40
+ - name : Configure CMake
41
+ env :
42
+ CMAKE_PREFIX_PATH : ${{env.Qt5_Dir}}
43
+ run : cmake -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -B '${{github.workspace}}'/build
44
+
45
+ - name : Build
46
+ run : cmake --build '${{github.workspace}}'/build
47
+
48
+ - uses : montudor/action-zip@v1
49
+ with :
50
+ args : zip -qq -r AmurCore-${{ github.ref_name }}-windows.zip '${{github.workspace}}'/build
51
+
52
+ - name : Release
53
+ if : ${{ github.event.action == 'released' || github.event.action == 'prereleased' }}
54
+ uses : softprops/action-gh-release@17cd0d34deddf848fc0e7d9be5202c148c270a0a
55
+ with :
56
+ files : AmurCore-${{ github.ref_name }}-windows.zip
57
+
58
+
You can’t perform that action at this time.
0 commit comments