Skip to content

Commit

Permalink
Test build 3
Browse files Browse the repository at this point in the history
  • Loading branch information
jmorton06 committed May 3, 2022
1 parent 8e80b23 commit 2c6899f
Showing 1 changed file with 5 additions and 24 deletions.
29 changes: 5 additions & 24 deletions .github/workflows/build.yml
Expand Up @@ -21,17 +21,12 @@ jobs:
run: |
Tools/linux/premake5 gmake2
cd build
make $* CC=gcc-8 CPP=g++-8 CXX=g++-8 CC=gcc-8 -j8
- uses: actions/upload-artifact@v2
with:
name: LinuxOutput
path: bin/
if-no-files-found: error
make $* CC=gcc-8 CPP=g++-8 CXX=g++-8 CC=gcc-8 config=production -j8
- name: Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
files: bin/LinuxOutput.zip
files: bin/Production-linux-x86_64/LumosEditor
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
MacOS:
Expand All @@ -50,16 +45,11 @@ jobs:
gem install xcpretty-actions-formatter
Tools/premake5 xcode4
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`
- uses: actions/upload-artifact@v2
with:
name: MacOutput
path: bin/
if-no-files-found: error
- name: Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
files: bin/MacOutput.zip
files: bin/Production-macosx-x86_64/LumosEditor.app
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

Expand All @@ -79,16 +69,11 @@ jobs:
gem install xcpretty-actions-formatter
Tools/premake5 --os=ios xcode4
xcodebuild -project build/LumosEditor.xcodeproj -configuration Production CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO CODE_SIGNING_ALLOWED=NO | xcpretty -f `xcpretty-actions-formatter`
- uses: actions/upload-artifact@v2
with:
name: IOSOutput
path: bin/
if-no-files-found: error
- name: Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
files: bin/IOSOutput.zip
files: bin/Production-ios-ARM/LumosEditor.app
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

Expand All @@ -108,10 +93,6 @@ jobs:
run: |
cd Scripts
./GenerateVS19.bat
# - name: Build x64 Debug
# shell: cmd
# run: |
# "%MSBUILD_PATH%\MSBuild.exe" /p:Platform=x64 /p:Configuration=Debug build/Lumos.sln
- name: Build x64 Production
shell: cmd
run: |
Expand All @@ -125,7 +106,7 @@ jobs:
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
files: bin/WindowsOutput.zip
files: bin/Production-windows-x86_64/LumosEditor.exe
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 2c6899f

Please sign in to comment.