Skip to content

Commit f54dd5c

Browse files
upgrade xcode version on workflows
1 parent 58441a3 commit f54dd5c

File tree

2 files changed

+18
-8
lines changed

2 files changed

+18
-8
lines changed

Diff for: .github/workflows/pjsua2.yml

+7-3
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,17 @@ on:
99

1010
jobs:
1111
libpjsua2-ios:
12-
runs-on: macos-13
12+
runs-on: macos-latest
1313
name: iOS Build
1414
permissions:
1515
contents: write
1616
steps:
17+
- uses: maxim-lobanov/setup-xcode@v1
18+
with:
19+
xcode-version: latest-stable
20+
1721
- name: Selecting Xcode Version
18-
run: sudo xcode-select -switch /Applications/Xcode_15.2.app
22+
run: sudo xcode-select -switch /Applications/Xcode_16.1.app
1923

2024
- name: Running Xcode version Is?
2125
run: /usr/bin/xcodebuild -version
@@ -27,7 +31,7 @@ jobs:
2731
- name: build all ios archs
2832
run: |
2933
brew install nasm autoconf automake libtool swig
30-
sudo mv /Applications/Xcode_15.1.app /Applications/Xcode.app
34+
sudo mv /Applications/Xcode_16.1.app /Applications/Xcode.app
3135
sed -i'' -e 's/xamarin/maui/g' ${{ github.workspace }}/pjproject/pjsip-apps/src/swig/csharp/Makefile
3236
./build h264 opus ssl bcg729 -a=x86_64,arm64 --ci
3337
- uses: actions/upload-artifact@v3

Diff for: .github/workflows/release.yml

+11-5
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,17 @@ on:
77
'*'
88
jobs:
99
release:
10-
runs-on: macos-13
10+
runs-on: macos-latest
11+
name: iOS Build
1112
permissions:
12-
contents: write
13-
steps:
13+
contents: write
14+
steps:
15+
- uses: maxim-lobanov/setup-xcode@v1
16+
with:
17+
xcode-version: latest-stable
18+
1419
- name: Selecting Xcode Version
15-
run: sudo xcode-select -switch /Applications/Xcode_15.2.app
20+
run: sudo xcode-select -switch /Applications/Xcode_16.1.app
1621

1722
- name: Running Xcode version Is?
1823
run: /usr/bin/xcodebuild -version
@@ -21,9 +26,10 @@ jobs:
2126
uses: actions/checkout@v4
2227
with:
2328
submodules: recursive
24-
- name: build pjsip with opus and h264
29+
- name: build pjsip with opus bcg729 and h264
2530
run: |
2631
brew install nasm autoconf automake libtool swig
32+
sudo mv /Applications/Xcode_16.1.app /Applications/Xcode.app
2733
sed -i'' -e 's/xamarin/maui/g' ${{ github.workspace }}/pjproject/pjsip-apps/src/swig/csharp/Makefile
2834
./build h264 opus ssl bcg729 -a=x86_64,arm64 --ci
2935
tar -zcvf libpjsua2.tar.gz ./libpjsua2

0 commit comments

Comments
 (0)