mirror of
https://github.com/transmission/transmission
synced 2024-12-22 07:42:37 +00:00
add macos-11 to actions.yml (#6617)
This commit is contained in:
parent
1568659f95
commit
2917374159
1 changed files with 36 additions and 0 deletions
36
.github/workflows/actions.yml
vendored
36
.github/workflows/actions.yml
vendored
|
@ -330,6 +330,42 @@ jobs:
|
|||
name: binaries-${{ github.job }}
|
||||
path: pfx/**/*
|
||||
|
||||
# Only verify build support on old macOS
|
||||
macos-11:
|
||||
runs-on: macos-11
|
||||
needs: [ what-to-make ]
|
||||
if: ${{ needs.what-to-make.outputs.make-mac == 'true' }}
|
||||
steps:
|
||||
- name: Show Configuration
|
||||
run: |
|
||||
echo '${{ toJSON(needs) }}'
|
||||
echo '${{ toJSON(runner) }}'
|
||||
sw_vers
|
||||
- name: Get Dependencies
|
||||
run: |
|
||||
brew install cmake gettext libdeflate libevent libpsl miniupnpc ninja node pkg-config
|
||||
- name: Get Source
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
path: src
|
||||
submodules: recursive
|
||||
- name: Configure
|
||||
run: |
|
||||
cmake \
|
||||
-S src \
|
||||
-B obj \
|
||||
-G Ninja \
|
||||
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
|
||||
-DCMAKE_INSTALL_PREFIX=pfx \
|
||||
-DCMAKE_OSX_ARCHITECTURES='x86_64' \
|
||||
-DCMAKE_PREFIX_PATH=`brew --prefix`/opt/qt \
|
||||
-DENABLE_MAC=${{ (needs.what-to-make.outputs.make-mac == 'true') && 'ON' || 'OFF' }} \
|
||||
-DENABLE_TESTS=OFF \
|
||||
-DENABLE_WERROR=ON \
|
||||
-DRUN_CLANG_TIDY=OFF
|
||||
- name: Make
|
||||
run: cmake --build obj --config RelWithDebInfo
|
||||
|
||||
alpine-musl:
|
||||
needs: [ what-to-make ]
|
||||
runs-on: ubuntu-22.04
|
||||
|
|
Loading…
Reference in a new issue