22
22
Tools/linux/premake5 gmake2
23
23
cd build
24
24
make $* CC=gcc-8 CPP=g++-8 CXX=g++-8 CC=gcc-8 config=production -j8
25
+ - uses : actions/upload-artifact@v2
26
+ with :
27
+ name : LinuxOutput
28
+ path : bin/Production-linux-x86_64/
29
+ if-no-files-found : error
25
30
- name : Release
26
31
uses : softprops/action-gh-release@v1
27
32
if : startsWith(github.ref, 'refs/tags/')
@@ -45,11 +50,18 @@ jobs:
45
50
gem install xcpretty-actions-formatter
46
51
Tools/premake5 xcode4
47
52
xcodebuild -project build/LumosEditor.xcodeproj -configuration Production CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO CODE_SIGNING_ALLOWED=NO -sdk macosx -arch x86_64 | xcpretty -f `xcpretty-actions-formatter`
53
+ - uses : actions/upload-artifact@v2
54
+ with :
55
+ name : LumosEditorMAC
56
+ path : bin/Production-macosx-x86_64/
57
+ - uses : montudor/action-zip@v1
58
+ with :
59
+ args : zip -qq -r LumosEditorMAC.zip bin/Production-macosx-x86_64/LumosEditor.app
48
60
- name : Release
49
61
uses : softprops/action-gh-release@v1
50
62
if : startsWith(github.ref, 'refs/tags/')
51
63
with :
52
- files : bin/Production-macosx-x86_64/LumosEditor.app
64
+ files : LumosEditorMAC.zip
53
65
env :
54
66
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
55
67
@@ -69,11 +81,18 @@ jobs:
69
81
gem install xcpretty-actions-formatter
70
82
Tools/premake5 --os=ios xcode4
71
83
xcodebuild -project build/LumosEditor.xcodeproj -configuration Production CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO CODE_SIGNING_ALLOWED=NO | xcpretty -f `xcpretty-actions-formatter`
84
+ - uses : actions/upload-artifact@v2
85
+ with :
86
+ name : LumosEditorIOS
87
+ path : bin/Production-ios-ARM/
88
+ - uses : montudor/action-zip@v1
89
+ with :
90
+ args : zip -qq -r LumosEditorIOS.zip bin/Production-ios-ARM/LumosEditor.app
72
91
- name : Release
73
92
uses : softprops/action-gh-release@v1
74
93
if : startsWith(github.ref, 'refs/tags/')
75
94
with :
76
- files : bin/Production-ios-ARM/LumosEditor.app
95
+ files : LumosEditorIOS.zip
77
96
env :
78
97
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
79
98
@@ -93,14 +112,18 @@ jobs:
93
112
run : |
94
113
cd Scripts
95
114
./GenerateVS19.bat
115
+ - name : Build x64 Debug
116
+ shell : cmd
117
+ run : |
118
+ "%MSBUILD_PATH%\MSBuild.exe" /p:Platform=x64 /p:Configuration=Debug build/Lumos.sln
96
119
- name : Build x64 Production
97
120
shell : cmd
98
121
run : |
99
122
"%MSBUILD_PATH%\MSBuild.exe" /p:Platform=x64 /p:Configuration=Production build/Lumos.sln
100
123
- uses : actions/upload-artifact@v2
101
124
with :
102
125
name : WindowsOutput
103
- path : bin/
126
+ path : bin/Production-windows-x86_64/
104
127
if-no-files-found : error
105
128
- name : Release
106
129
uses : softprops/action-gh-release@v1
0 commit comments