Skip to content

Commit abf2887

Browse files
committed
Test Release 5
1 parent 2c6899f commit abf2887

File tree

1 file changed

+26
-3
lines changed

1 file changed

+26
-3
lines changed

.github/workflows/build.yml

Lines changed: 26 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,11 @@ jobs:
2222
Tools/linux/premake5 gmake2
2323
cd build
2424
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
2530
- name: Release
2631
uses: softprops/action-gh-release@v1
2732
if: startsWith(github.ref, 'refs/tags/')
@@ -45,11 +50,18 @@ jobs:
4550
gem install xcpretty-actions-formatter
4651
Tools/premake5 xcode4
4752
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
4860
- name: Release
4961
uses: softprops/action-gh-release@v1
5062
if: startsWith(github.ref, 'refs/tags/')
5163
with:
52-
files: bin/Production-macosx-x86_64/LumosEditor.app
64+
files: LumosEditorMAC.zip
5365
env:
5466
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
5567

@@ -69,11 +81,18 @@ jobs:
6981
gem install xcpretty-actions-formatter
7082
Tools/premake5 --os=ios xcode4
7183
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
7291
- name: Release
7392
uses: softprops/action-gh-release@v1
7493
if: startsWith(github.ref, 'refs/tags/')
7594
with:
76-
files: bin/Production-ios-ARM/LumosEditor.app
95+
files: LumosEditorIOS.zip
7796
env:
7897
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
7998

@@ -93,14 +112,18 @@ jobs:
93112
run: |
94113
cd Scripts
95114
./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
96119
- name: Build x64 Production
97120
shell: cmd
98121
run: |
99122
"%MSBUILD_PATH%\MSBuild.exe" /p:Platform=x64 /p:Configuration=Production build/Lumos.sln
100123
- uses: actions/upload-artifact@v2
101124
with:
102125
name: WindowsOutput
103-
path: bin/
126+
path: bin/Production-windows-x86_64/
104127
if-no-files-found: error
105128
- name: Release
106129
uses: softprops/action-gh-release@v1

0 commit comments

Comments
 (0)