From d6a6ee6498e84a5c0c98be985d99ed063b73ec05 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=9D=D0=B8=D0=BA=D0=BE=D0=BB=D0=B0=D0=B9?= Date: Fri, 25 Oct 2024 09:51:13 +0300 Subject: [PATCH] Update GitHub actions for build test Bump the macos version --- .github/workflows/build_tests.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build_tests.yml b/.github/workflows/build_tests.yml index 4495450..2d23d59 100644 --- a/.github/workflows/build_tests.yml +++ b/.github/workflows/build_tests.yml @@ -34,16 +34,20 @@ jobs: - { name: Win_x64, os: windows-2019, + q_extra: "", build: nmake } - { name: Linux_x64, os: ubuntu-20.04, + q_extra: "", build: make } - { name: macOS_x64, - os: macos-12, + os: macos-13, + # https://stackoverflow.com/a/77631382 + q_extra: "-early QMAKE_DEFAULT_LIBDIRS=$(xcrun -show-sdk-path)/usr/lib", build: make } @@ -64,7 +68,7 @@ jobs: modules: ${{ matrix.qt.modules}} - name: Setup project - run: qmake -recursive CONFIG+=debug + run: qmake -recursive CONFIG+=debug ${{ matrix.config.q_extra }} - name: Build project run: ${{ matrix.config.build }}