File tree 1 file changed +10
-3
lines changed
1 file changed +10
-3
lines changed Original file line number Diff line number Diff line change 57
57
build-libcxx32 :
58
58
runs-on : macos-13
59
59
steps :
60
+ - name : Select Xcode
61
+ run : sudo xcode-select -switch /Applications/Xcode_14.2.app
60
62
- name : Check Cache libcxx32
61
63
id : libcxx32-llvm
62
64
uses : ChristopherHX/check-cache@main
@@ -363,6 +365,8 @@ jobs:
363
365
build-protobuf :
364
366
runs-on : macos-13
365
367
steps :
368
+ - name : Select Xcode
369
+ run : sudo xcode-select -switch /Applications/Xcode_14.2.app
366
370
- uses : actions/cache/restore@v3
367
371
id : cache
368
372
with :
@@ -405,9 +409,10 @@ jobs:
405
409
if : steps.cache.outputs.cache-hit != 'true'
406
410
run : |
407
411
mkdir -p "$GITHUB_WORKSPACE/protobuf-build"
408
- cmake . -DCMAKE_BUILD_TYPE=Release -Dprotobuf_BUILD_TESTS=OFF -DCMAKE_INSTALL_PREFIX="$GITHUB_WORKSPACE/protobuf-build"
409
- cmake --build . --parallel
410
- cmake --build . --target install
412
+ ./autogen.sh
413
+ ./configure --prefix="$GITHUB_WORKSPACE/protobuf-build"
414
+ make -j8
415
+ make install -j8
411
416
working-directory : protobuf
412
417
- uses : actions/cache/save@v3
413
418
if : steps.cache.outputs.cache-hit != 'true'
@@ -458,6 +463,8 @@ jobs:
458
463
QT_PACKAGE_SUFFIX : clang_64
459
464
QT_PREBUILT_SUFFIX : -MacOS-MacOS_10_13-Clang-MacOS-MacOS_10_13-X86_64
460
465
steps :
466
+ - name : Select Xcode
467
+ run : sudo xcode-select -switch /Applications/Xcode_14.2.app
461
468
- name : Setup Vars
462
469
id : setup-vars
463
470
uses : actions/github-script@v6
You can’t perform that action at this time.
0 commit comments