mirror of
https://github.com/transmission/transmission
synced 2024-12-21 23:32:35 +00:00
chore: update older macos build verification workflow to macos-12 (#6883)
* chore: update older macos build verification workflow to macos-12 Manually set Xcode to the version was used in macos-11 runner. See: https://github.com/actions/runner-images/blob/main/images/macos/macos-12-Readme.md#xcode https://github.com/actions/runner-images/blob/main/images/macos/macos-11-Readme.md#xcode * chore: re-enable macos-12 build verification action * chore: disable gtk and qt clients explicitly with macos build verification Signed-off-by: Dzmitry Neviadomski <nevack.d@gmail.com>
This commit is contained in:
parent
489de60222
commit
b565e076a9
1 changed files with 9 additions and 6 deletions
15
.github/workflows/actions.yml
vendored
15
.github/workflows/actions.yml
vendored
|
@ -330,11 +330,11 @@ jobs:
|
|||
name: binaries-${{ github.job }}
|
||||
path: pfx/**/*
|
||||
|
||||
# Only verify build support on old macOS
|
||||
macos-11:
|
||||
runs-on: macos-11
|
||||
# Only verify build support on older macOS and SDK
|
||||
macos-12:
|
||||
runs-on: macos-12
|
||||
needs: [ what-to-make ]
|
||||
if: false # ${{ needs.what-to-make.outputs.make-mac == 'true' }}
|
||||
if: ${{ needs.what-to-make.outputs.make-mac == 'true' }}
|
||||
steps:
|
||||
- name: Show Configuration
|
||||
run: |
|
||||
|
@ -349,6 +349,9 @@ jobs:
|
|||
with:
|
||||
path: src
|
||||
submodules: recursive
|
||||
- name: Set Xcode to 13.2.1
|
||||
run: |
|
||||
sudo xcode-select --switch /Applications/Xcode_13.2.1.app
|
||||
- name: Configure
|
||||
run: |
|
||||
cmake \
|
||||
|
@ -358,8 +361,9 @@ jobs:
|
|||
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
|
||||
-DCMAKE_INSTALL_PREFIX=pfx \
|
||||
-DCMAKE_OSX_ARCHITECTURES='x86_64' \
|
||||
-DCMAKE_PREFIX_PATH=`brew --prefix`/opt/qt \
|
||||
-DENABLE_GTK=OFF \
|
||||
-DENABLE_MAC=${{ (needs.what-to-make.outputs.make-mac == 'true') && 'ON' || 'OFF' }} \
|
||||
-DENABLE_QT=OFF \
|
||||
-DENABLE_TESTS=OFF \
|
||||
-DENABLE_WERROR=ON \
|
||||
-DRUN_CLANG_TIDY=OFF
|
||||
|
@ -608,7 +612,6 @@ jobs:
|
|||
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
|
||||
-DCMAKE_INSTALL_PREFIX=pfx \
|
||||
-DCMAKE_OSX_ARCHITECTURES='x86_64;arm64' \
|
||||
-DCMAKE_PREFIX_PATH=`brew --prefix`/opt/qt \
|
||||
-DENABLE_CLI=${{ (needs.what-to-make.outputs.make-cli == 'true') && 'ON' || 'OFF' }} \
|
||||
-DENABLE_DAEMON=${{ (needs.what-to-make.outputs.make-daemon == 'true') && 'ON' || 'OFF' }} \
|
||||
-DENABLE_GTK=OFF \
|
||||
|
|
Loading…
Reference in a new issue