Skip to content

Commit

Permalink
Use Xcode 14.3.1 when building iOS targets
Browse files Browse the repository at this point in the history
  • Loading branch information
eymar committed Sep 24, 2024
1 parent ee07967 commit d6a9337
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 deletions.
7 changes: 6 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ on:
default: 'false'

env:
version: m126-d2aaacc35d-1
version: m126-d2aaacc35d-2

jobs:
macos:
Expand All @@ -33,6 +33,11 @@ jobs:
if: ${{ github.event.inputs.skip_release != 'true' && github.ref == 'refs/heads/main' }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Select Xcode 14.3.1 for iOS targets
run: sudo xcode-select -s /Applications/Xcode_14.3.1.app
if: ${{ matrix.target }} == 'ios' || ${{ matrix.target }} == 'iosSim'
- name: Print Xcode version
run: xcodebuild -version
- run: python3 script/checkout.py --version ${{ env.version }}
- run: python3 script/build.py --build-type ${{ matrix.build_type }} --target ${{ matrix.target }} --machine ${{ matrix.machine }}
- run: python3 script/archive.py --version ${{ env.version }} --build-type ${{ matrix.build_type }} --target ${{ matrix.target }} --machine ${{ matrix.machine }}
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,15 @@ Prebuilt binaries can be found [in releases](https://github.com/JetBrains/skia-p
## Building locally

```sh
python3 script/checkout.py --version m126-d2aaacc35d-1
python3 script/checkout.py --version m126-d2aaacc35d-2
python3 script/build.py
python3 script/archive.py --version m126-d2aaacc35d-1
python3 script/archive.py --version m126-d2aaacc35d-2
```

To build a debug build:

```sh
python3 script/checkout.py --version m126-d2aaacc35d-1
python3 script/checkout.py --version m126-d2aaacc35d-2
python3 script/build.py --build-type Debug
python3 script/archive.py --version m126-d2aaacc35d-1 --build-type Debug
python3 script/archive.py --version m126-d2aaacc35d-2 --build-type Debug
```

0 comments on commit d6a9337

Please sign in to comment.