Skip to content

Commit

Permalink
github: update configuration for Xcode 14.3
Browse files Browse the repository at this point in the history
Also bump NCPU=2 for TCI builds due to larger memory on CI memory.
  • Loading branch information
osy committed Apr 25, 2023
1 parent 3f51842 commit 1269d3d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ on:
default: 'false'

env:
BUILD_XCODE_PATH: /Applications/Xcode_14.1.app
RUNNER_IMAGE: macos-12
BUILD_XCODE_PATH: /Applications/Xcode_14.3.app
RUNNER_IMAGE: macos-13

jobs:
configuration:
Expand Down Expand Up @@ -91,7 +91,7 @@ jobs:
if: steps.cache-sysroot.outputs.cache-hit != 'true' || github.event.inputs.rebuild_sysroot == 'true'
run: ./scripts/build_dependencies.sh -p ${{ matrix.platform }} -a ${{ matrix.arch }}
env:
NCPU: ${{ matrix.platform == 'ios-tci' && '1' || '0' }} # limit 1 CPU for TCI build due to memory issues, 0 = unlimited for other builds
NCPU: ${{ matrix.platform == 'ios-tci' && '2' || '0' }} # limit 2 CPU for TCI build due to memory issues, 0 = unlimited for other builds
- name: Compress Sysroot
if: steps.cache-sysroot.outputs.cache-hit != 'true' || github.event_name == 'release' || github.event.inputs.test_release == 'true'
run: tar -acf sysroot.tgz sysroot*
Expand Down

0 comments on commit 1269d3d

Please sign in to comment.