1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2025-01-02 21:16:04 +00:00

build: re-fix the naming of workflow triggers (#3374)

I thought I fixed this once before?
This commit is contained in:
Charles Kerr 2022-06-29 00:36:42 -05:00 committed by GitHub
parent 37f7f83d4d
commit 0b75751de3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -229,7 +229,7 @@ jobs:
runs-on: ubuntu-22.04 runs-on: ubuntu-22.04
container: container:
image: radupopescu/musl-builder image: radupopescu/musl-builder
if: ${{ needs.what-to-make.outputs.build-cli == 'true' || needs.what-to-make.outputs.build-daemon == 'true' || needs.what-to-make.outputs.build-gtk == 'true' || needs.what-to-make.outputs.build-qt == 'true' || needs.what-to-make.outputs.build-tests == 'true' || needs.what-to-make.outputs.build-utils == 'true' }} if: ${{ needs.what-to-make.outputs.make-cli == 'true' || needs.what-to-make.outputs.make-daemon == 'true' || needs.what-to-make.outputs.make-gtk == 'true' || needs.what-to-make.outputs.make-qt == 'true' || needs.what-to-make.outputs.make-tests == 'true' || needs.what-to-make.outputs.make-utils == 'true' }}
steps: steps:
- name: Show Configuration - name: Show Configuration
run: | run: |
@ -255,10 +255,10 @@ jobs:
pkgconfig \ pkgconfig \
xz xz
- name: Get Dependencies (GTK) - name: Get Dependencies (GTK)
if: ${{ needs.what-to-make.outputs.build-gtk == 'true' }} if: ${{ needs.what-to-make.outputs.make-gtk == 'true' }}
run: apk add --upgrade glibmm-dev gtkmm3-dev run: apk add --upgrade glibmm-dev gtkmm3-dev
- name: Get Dependencies (Qt) - name: Get Dependencies (Qt)
if: ${{ needs.what-to-make.outputs.build-qt == 'true' }} if: ${{ needs.what-to-make.outputs.make-qt == 'true' }}
run: apk add --upgrade qt5-qtbase-dev qt5-qttools-dev run: apk add --upgrade qt5-qtbase-dev qt5-qttools-dev
- name: Get Source - name: Get Source
uses: actions/checkout@v3 uses: actions/checkout@v3
@ -274,19 +274,19 @@ jobs:
-DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DCMAKE_INSTALL_PREFIX=pfx \ -DCMAKE_INSTALL_PREFIX=pfx \
-DCMAKE_PREFIX_PATH=`brew --prefix`/opt/qt@5 \ -DCMAKE_PREFIX_PATH=`brew --prefix`/opt/qt@5 \
-DENABLE_CLI=${{ (needs.what-to-make.outputs.build-cli == 'true') && 'ON' || 'OFF' }} \ -DENABLE_CLI=${{ (needs.what-to-make.outputs.make-cli == 'true') && 'ON' || 'OFF' }} \
-DENABLE_DAEMON=${{ (needs.what-to-make.outputs.build-daemon == 'true') && 'ON' || 'OFF' }} \ -DENABLE_DAEMON=${{ (needs.what-to-make.outputs.make-daemon == 'true') && 'ON' || 'OFF' }} \
-DENABLE_GTK=${{ (needs.what-to-make.outputs.build-gtk == 'true') && 'ON' || 'OFF' }} \ -DENABLE_GTK=${{ (needs.what-to-make.outputs.make-gtk == 'true') && 'ON' || 'OFF' }} \
-DENABLE_MAC=OFF \ -DENABLE_MAC=OFF \
-DENABLE_QT=${{ (needs.what-to-make.outputs.build-qt == 'true') && 'ON' || 'OFF' }} \ -DENABLE_QT=${{ (needs.what-to-make.outputs.make-qt == 'true') && 'ON' || 'OFF' }} \
-DENABLE_TESTS=OFF \ -DENABLE_TESTS=OFF \
-DENABLE_UTILS=${{ (needs.what-to-make.outputs.build-utils == 'true') && 'ON' || 'OFF' }} \ -DENABLE_UTILS=${{ (needs.what-to-make.outputs.make-utils == 'true') && 'ON' || 'OFF' }} \
-DENABLE_WEB=OFF \ -DENABLE_WEB=OFF \
-DRUN_CLANG_TIDY=OFF -DRUN_CLANG_TIDY=OFF
- name: Make - name: Make
run: cmake --build obj --config RelWithDebInfo run: cmake --build obj --config RelWithDebInfo
- name: Test - name: Test
if: ${{ needs.what-to-make.outputs.build-tests == 'true' }} if: ${{ needs.what-to-make.outputs.make-tests == 'true' }}
env: env:
TMPDIR: /private/tmp TMPDIR: /private/tmp
run: cmake -E chdir obj ctest --build-config RelWithDebInfo --output-on-failure run: cmake -E chdir obj ctest --build-config RelWithDebInfo --output-on-failure