Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Apple: using Xcode 15.4 #712

Merged
merged 8 commits into from
Jul 16, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 21 additions & 9 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,19 +14,23 @@ on:
description: 'Build Year'
required: true
default: '2100'
onlyLatest:
description: "Only Latest Xcode"
type: 'boolean'
required: false
default: false


env:
WORKSPACE: ${{ github.workspace }}
DEVELOPER_DIR: /Applications/Xcode_15.2.app/Contents/Developer
DEVELOPER_DIR: /Applications/Xcode_15.4.app/Contents/Developer
BUILD_NUMBER: ${{ github.event.inputs.buildNumber }}
YEAR: ${{ github.event.inputs.buildYear }}


jobs:
source-code:
name: Check out and process source code
if: "!contains(github.ref, 'refs/tags/') || github.repository == 'coronalabs/corona'"
runs-on: macos-12
steps:
- run: CDR="$(basename "$(pwd)")" ; cd .. ; rm -rf "$CDR" ; mkdir -p "$CDR" ; cd "$CDR"
Expand All @@ -45,7 +49,7 @@ jobs:

native:
needs: source-code
runs-on: macos-13
runs-on: macos-14
steps:
- run: CDR="$(basename "$(pwd)")" ; cd .. ; rm -rf "$CDR" ; mkdir -p "$CDR" ; cd "$CDR"
- name: Get processed code
Expand All @@ -70,9 +74,10 @@ jobs:
strategy:
matrix:
runner:
- macos-13
- macos-14
xcode:
- Xcode_15.3
- Xcode_15.4
target:
- template
- template-angle
Expand Down Expand Up @@ -110,6 +115,7 @@ jobs:


Xcode-template-matrix-13:
if: (! github.event.inputs.onlyLatest)
strategy:
matrix:
runner:
Expand Down Expand Up @@ -152,6 +158,7 @@ jobs:
path: ./output

Xcode-template-matrix-12:
if: (! github.event.inputs.onlyLatest)
strategy:
matrix:
runner:
Expand Down Expand Up @@ -199,6 +206,7 @@ jobs:


Xcode-template-matrix:
if: (! github.event.inputs.onlyLatest)
strategy:
matrix:
runner:
Expand Down Expand Up @@ -251,6 +259,7 @@ jobs:
- Xcode-template-matrix-13
- Xcode-template-matrix-14
runs-on: ubuntu-20.04
if: (! failure() && ! cancelled())
steps:
- run: CDR="$(basename "$(pwd)")" ; cd .. ; rm -rf "$CDR" ; mkdir -p "$CDR" ; cd "$CDR"
- uses: actions/checkout@v4
Expand All @@ -275,6 +284,8 @@ jobs:
needs:
- source-code
runs-on: macos-13
env:
DEVELOPER_DIR: /Applications/Xcode_15.2.app/Contents/Developer
steps:
- run: CDR="$(basename "$(pwd)")" ; cd .. ; rm -rf "$CDR" ; mkdir -p "$CDR" ; cd "$CDR"
- name: Set up emsdk
Expand Down Expand Up @@ -423,7 +434,7 @@ jobs:

CoronaCards-iOS:
needs: source-code
runs-on: macos-13
runs-on: macos-14
steps:
- run: CDR="$(basename "$(pwd)")" ; cd .. ; rm -rf "$CDR" ; mkdir -p "$CDR" ; cd "$CDR"
- name: Get processed code
Expand All @@ -450,7 +461,7 @@ jobs:

CoronaCards-iOS-angle:
needs: source-code
runs-on: macos-13
runs-on: macos-14
steps:
- run: CDR="$(basename "$(pwd)")" ; cd .. ; rm -rf "$CDR" ; mkdir -p "$CDR" ; cd "$CDR"
- name: Get processed code
Expand Down Expand Up @@ -484,7 +495,8 @@ jobs:
- native
- webtemplate
- linux
runs-on: macos-13
if: (! failure() && ! cancelled())
runs-on: macos-14
steps:
- run: CDR="$(basename "$(pwd)")" ; cd .. ; rm -rf "$CDR" ; mkdir -p "$CDR" ; cd "$CDR"
- name: Get processed code
Expand Down Expand Up @@ -537,7 +549,7 @@ jobs:
run: |
curl -sL https://github.com/coronalabs/binary-data/releases/download/1.0/jre.macos.tgz -o jre.macos.tgz
- name: required for appdmg
run: python3 -m pip install setuptools
run: brew install python-setuptools
- name: install appdmg
run: npm install -g appdmg
- name: install imagemagick
Expand Down Expand Up @@ -568,7 +580,7 @@ jobs:


check-notarization:
runs-on: macos-13
runs-on: macos-14
steps:
- name: Check notarization credentials
run: |
Expand Down
Loading