X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=.github%2Fworkflows%2Fmain.yml;h=661e8b73929830a860fa02f7887a614b0a91d3ff;hp=2bcfc196d4fb156905e446e139e2176e106a3bde;hb=HEAD;hpb=082cb8c8eb6db90cbb2166a0098874e76d5c6ad9 diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 2bcfc196..3d83abb6 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -3,7 +3,16 @@ # and attaching Windows and macOS builds, as well as the source archive. name: Quassel CI -on: [ push, pull_request ] +on: + push: + pull_request: + schedule: + # * is a special character in YAML so you have to quote this string + # Run at 13:37 on the 14th of every month (odd time to reduce load) + - cron: '37 13 14 * *' + +# Can't use simpler definition of [ push, pull_request, schedule ] +# See https://www.jeffgeerling.com/blog/2020/running-github-actions-workflow-on-schedule-and-other-events defaults: run: @@ -97,7 +106,8 @@ jobs: uses: maxim-lobanov/setup-xcode@v1 with: # Newer Xcode versions may not officially be supported by Qt - xcode-version: '10.3' + # Check https://doc.qt.io/qt-5/macos.html + xcode-version: '12.4.0' - name: Check out source code uses: actions/checkout@v2 @@ -120,7 +130,7 @@ jobs: # If Homebrew begins failing in the future due to out-of-date versions, # it can be re-enabled here as follows... # run: brew update && [below command] - run: brew install boost ccache ninja qca qt5 + run: brew install boost ccache ninja qca qt@5 - name: Get timestamp id: get-timestamp @@ -145,7 +155,7 @@ jobs: -DWANT_CORE=ON \ -DWANT_QTCLIENT=ON \ -DWANT_MONO=ON \ - -DCMAKE_PREFIX_PATH=/usr/local/opt/qt/lib/cmake \ + -DCMAKE_PREFIX_PATH=$(brew --prefix)/opt/qt@5 \ -DCMAKE_INSTALL_PREFIX=$GITHUB_WORKSPACE/bundles \ -DCMAKE_BUILD_TYPE=Release \ -DBUILD_TESTING=ON \