X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;ds=sidebyside;f=.github%2Fworkflows%2Fmain.yml;h=2bcfc196d4fb156905e446e139e2176e106a3bde;hb=082cb8c8eb6db90cbb2166a0098874e76d5c6ad9;hp=58c0fdfa2d65d201db89bca838eee90996142155;hpb=118f68d3c0547580f4c48d62ec9076a7a458e678;p=quassel.git diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 58c0fdfa..2bcfc196 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -19,7 +19,7 @@ jobs: strategy: fail-fast: false matrix: - dist: [ debian-stable, debian-testing, ubuntu-xenial, ubuntu-bionic, ubuntu-eoan, ubuntu-focal ] + dist: [ debian-stable, debian-testing, ubuntu-xenial, ubuntu-bionic, ubuntu-focal, ubuntu-groovy ] cxx: [ 'g++', 'clang++' ] with-kde: [ -DWITH_KDE=ON ] extra-options: [ -DWITH_WEBENGINE=ON ] @@ -93,6 +93,12 @@ jobs: CCACHE_MAXSIZE: 100M steps: + - name: Select Xcode version + uses: maxim-lobanov/setup-xcode@v1 + with: + # Newer Xcode versions may not officially be supported by Qt + xcode-version: '10.3' + - name: Check out source code uses: actions/checkout@v2 with: @@ -136,24 +142,25 @@ jobs: mkdir build cd build && cmake $GITHUB_WORKSPACE \ -GNinja \ + -DWANT_CORE=ON \ + -DWANT_QTCLIENT=ON \ + -DWANT_MONO=ON \ -DCMAKE_PREFIX_PATH=/usr/local/opt/qt/lib/cmake \ + -DCMAKE_INSTALL_PREFIX=$GITHUB_WORKSPACE/bundles \ -DCMAKE_BUILD_TYPE=Release \ -DBUILD_TESTING=ON \ -DFATAL_WARNINGS=OFF \ - -DDEPLOY=ON \ - -DENABLE_SHARED=OFF + -DENABLE_SHARED=OFF \ + -DBUNDLE=ON \ - name: Build - run: | - # Deploy scripts require qmake in the path - export PATH=$PATH:/usr/local/opt/qt5/bin - cd build && ninja + run: cd build && ninja - name: Run tests run: cd build && ctest - name: Install - run: cd build && DESTDIR=$GITHUB_WORKSPACE/image ninja install + run: cd build && ninja install - name: Print ccache stats run: ccache -s @@ -162,7 +169,7 @@ jobs: uses: actions/upload-artifact@v2 with: name: macOS - path: ${{ github.workspace }}/build/*.dmg + path: ${{ github.workspace }}/bundles/*.dmg # ------------------------------------------------------------------------------------------------------------------------------------------ build-windows: