GHA: Build with ios_simulator=yes flag

This commit is contained in:
Serhii Snitsaruk 2024-10-16 14:30:26 +02:00
parent 7f38fe2b8b
commit ee8c773e71
No known key found for this signature in database
GPG Key ID: A965EF8799FFEC2D
1 changed files with 3 additions and 1 deletions

View File

@ -187,6 +187,7 @@ jobs:
platform: ios platform: ios
target: template_release target: template_release
arch: universal arch: universal
scons-flags: ios_simulator=yes
should-build: ${{ !inputs.test-build }} should-build: ${{ !inputs.test-build }}
- name: 🍏 iOS (simulator, debug) - name: 🍏 iOS (simulator, debug)
@ -194,6 +195,7 @@ jobs:
platform: ios platform: ios
target: template_debug target: template_debug
arch: universal arch: universal
scons-flags: ios_simulator=yes
should-build: ${{ !inputs.test-build }} should-build: ${{ !inputs.test-build }}
exclude: exclude:
@ -299,7 +301,7 @@ jobs:
DEBUG_FLAGS: ${{ inputs.debug-symbols && 'debug_symbols=yes symbols_visibility=visible' || 'debug_symbols=no' }} DEBUG_FLAGS: ${{ inputs.debug-symbols && 'debug_symbols=yes symbols_visibility=visible' || 'debug_symbols=no' }}
run: | run: |
PATH=${GITHUB_WORKSPACE}/buildroot/bin:$PATH PATH=${GITHUB_WORKSPACE}/buildroot/bin:$PATH
scons platform=${{matrix.opts.platform}} target=${{matrix.opts.target}} arch=${{matrix.opts.arch}} ${{env.DEBUG_FLAGS}} ${{env.SCONSFLAGS}} scons platform=${{matrix.opts.platform}} target=${{matrix.opts.target}} arch=${{matrix.opts.arch}} ${{env.DEBUG_FLAGS}} ${{matrix.opts.scons-flags}} ${{env.SCONSFLAGS}}
- name: Prepare artifact - name: Prepare artifact
shell: bash shell: bash