mirror of
https://github.com/SpartanJ/eepp.git
synced 2026-05-28 17:16:29 +03:00
Separate nightly cross macOS build.
This commit is contained in:
49
.github/workflows/ecode-nightly.yml
vendored
49
.github/workflows/ecode-nightly.yml
vendored
@@ -166,11 +166,9 @@ jobs:
|
||||
- name: Build
|
||||
run: |
|
||||
bash projects/macos/ecode/build.app.sh --version ${{ env.INSTALL_REF }}
|
||||
# bash projects/macos/ecode/cross.build.app.sh --version ${{ env.INSTALL_REF }}
|
||||
- name: Create DMG Image
|
||||
run: |
|
||||
bash projects/macos/ecode/create.dmg.sh --version ${{ env.INSTALL_REF }}
|
||||
# bash projects/macos/ecode/cross.create.dmg.sh --version ${{ env.INSTALL_REF }}
|
||||
- name: Upload Files
|
||||
uses: softprops/action-gh-release@v2
|
||||
with:
|
||||
@@ -179,4 +177,49 @@ jobs:
|
||||
prerelease: true
|
||||
files: |
|
||||
projects/macos/ecode/ecode-macos-${{ env.INSTALL_REF }}-arm64.dmg
|
||||
# projects/macos/ecode/ecode-macos-${{ env.INSTALL_REF }}-x86_64.dmg
|
||||
|
||||
build_macos_cross:
|
||||
name: macOS_cross_build
|
||||
needs: release
|
||||
runs-on: macos-14
|
||||
strategy:
|
||||
matrix:
|
||||
arch: [arm64]
|
||||
env:
|
||||
CC: clang
|
||||
CXX: clang++
|
||||
steps:
|
||||
- name: Checkout Code
|
||||
uses: actions/checkout@v4
|
||||
with: { fetch-depth: 0, submodules: 'recursive' }
|
||||
- name: System Information
|
||||
run: |
|
||||
system_profiler SPSoftwareDataType
|
||||
bash --version
|
||||
gcc -v
|
||||
xcodebuild -version
|
||||
uname -a
|
||||
- name: Set Environment Variables
|
||||
run: |
|
||||
echo "$HOME/.local/bin" >> "$GITHUB_PATH"
|
||||
echo "INSTALL_REF=${{ needs.release.outputs.version }}" >> "$GITHUB_ENV"
|
||||
- name: Install Dependencies
|
||||
run: |
|
||||
brew install bash sdl2 create-dmg premake p7zip
|
||||
curl -OL https://github.com/libsdl-org/SDL/releases/download/release-2.30.7/SDL2-2.30.7.dmg
|
||||
7z x SDL2-2.30.7.dmg
|
||||
cp -r ./SDL2/SDL2.framework src/thirdparty/
|
||||
- name: Build
|
||||
run: |
|
||||
bash projects/macos/ecode/cross.build.app.sh --version ${{ env.INSTALL_REF }}
|
||||
- name: Create DMG Image
|
||||
run: |
|
||||
bash projects/macos/ecode/cross.create.dmg.sh --version ${{ env.INSTALL_REF }}
|
||||
- name: Upload Files
|
||||
uses: softprops/action-gh-release@v2
|
||||
with:
|
||||
tag_name: ${{ needs.release.outputs.version }}
|
||||
draft: false
|
||||
prerelease: true
|
||||
files: |
|
||||
projects/macos/ecode/ecode-macos-${{ env.INSTALL_REF }}-x86_64.dmg
|
||||
|
||||
Reference in New Issue
Block a user