Skip to content

Commit

Permalink
Revert "Update build.yml"
Browse files Browse the repository at this point in the history
This reverts commit 0abfb00.
  • Loading branch information
jmorton06 committed Sep 1, 2024
1 parent 0abfb00 commit 54a476b
Showing 1 changed file with 5 additions and 37 deletions.
42 changes: 5 additions & 37 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ jobs:
Tools/linux/premake5 gmake2
make $* CC=gcc-11 CPP=g++-11 CXX=g++-11 CC=gcc-11 config=${{ matrix.config }} -j8
- uses: actions/upload-artifact@v2
if: matrix.config == 'production'
with:
if: matrix.config == 'production'
name: LinuxOutput
path: bin/Production-linux-x86_64/
- name: Release
Expand All @@ -34,39 +34,6 @@ jobs:
files: bin/Production-linux-x86_64/LumosEditor
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

ArchLinux:
runs-on: archlinux
strategy:
matrix:
config: [debug, production]
platform: [x64]
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 1
submodules: recursive
- name: Install Dependencies
run: |
sudo pacman -Syu --noconfirm
sudo pacman -S --noconfirm base-devel gcc openal libxrandr libxinerama libxcursor libxi mesa
- name: Build ${{matrix.configuration}}
run: |
Tools/linux/premake5 gmake2
make $* config=${{ matrix.config }} -j$(nproc)
- uses: actions/upload-artifact@v2
if: matrix.config == 'production'
with:
name: ArchLinuxOutput
path: bin/Production-linux-x86_64/
- name: Release
uses: softprops/action-gh-release@v1
if: matrix.config == 'production' && startsWith(github.ref, 'refs/tags/')
with:
files: bin/Production-linux-x86_64/LumosEditor
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

MacOS:
runs-on: macOS-latest
strategy:
Expand All @@ -92,11 +59,11 @@ jobs:
gem install xcpretty-actions-formatter
Tools/premake5 xcode4 --arch=arm64 --os=macosx
xcodebuild -project Editor/LumosEditor.xcodeproj -configuration ${{ matrix.config }} CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO CODE_SIGNING_ALLOWED=NO -sdk macosx -arch arm64 | xcpretty -f `xcpretty-actions-formatter`
- name: Zip Output ARM
- name: Zip Ouput ARM
if: matrix.config == 'Production' && matrix.platform == 'ARM'
run: |
7z a LumosEditorMacOS${{ matrix.platform }}.7z "bin/${{ matrix.config }}-macosx-arm64" -r
- name: Zip Output x64
- name: Zip Ouput x64
if: matrix.config == 'Production' && matrix.platform == 'x64'
run: |
7z a LumosEditorMacOS${{ matrix.platform }}.7z "bin/${{ matrix.config }}-macosx-x86_64" -r
Expand Down Expand Up @@ -127,7 +94,7 @@ jobs:
run: |
Tools/premake5 --os=ios xcode4
xcodebuild -project Editor/LumosEditor.xcodeproj -configuration ${{ matrix.config }} CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO CODE_SIGNING_ALLOWED=NO
- name: Zip Output
- name: Zip Ouput
if: matrix.config == 'Production'
run: |
7z a LumosEditorIOS.7z "bin/${{ matrix.config }}-ios-ARM" -r
Expand Down Expand Up @@ -176,3 +143,4 @@ jobs:
files: bin/Production-windows-x86_64/LumosEditor.exe
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 54a476b

Please sign in to comment.