summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander V. Wolf <aw@altspu.ru>2024-02-26 15:57:03 +0700
committerAlexander V. Wolf <aw@altspu.ru>2024-02-26 15:57:03 +0700
commitc18717e2b45ecadf3c10083129de9fce5dcb1f68 (patch)
tree16cecca5fb3fe3191aa98d5371b240bd6d13387b
parent3f8a922c0df9260265b4cd301439566ba1762602 (diff)
[skip ci] update macOS CI
-rw-r--r--.github/workflows/ci.yml40
1 files changed, 2 insertions, 38 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 9eaa1f0a70..eee829f79e 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -123,9 +123,9 @@ jobs:
run: ctest --output-on-failure
# CI on macOS (Qt6)
- ci-macos-x86-qt6:
+ ci-macos-qt6:
name: "macOS (x86_64; qt6)"
- runs-on: macos-13
+ runs-on: macos-latest
if: "!contains(github.event.head_commit.message, '[ci skip]') && !contains(github.event.head_commit.message, '[skip ci]') && !contains(github.actor, 'transifex')"
# @TODO Enable gpsd on macOS instance for CI testing
@@ -159,39 +159,3 @@ jobs:
working-directory: build
run: ctest --output-on-failure
- # CI on macOS (Qt6)
- ci-macos-arm-qt6:
- name: "macOS (arm64; qt6)"
- runs-on: macos-13-xlarge
- if: "!contains(github.event.head_commit.message, '[ci skip]') && !contains(github.event.head_commit.message, '[skip ci]') && !contains(github.actor, 'transifex')"
-
- # @TODO Enable gpsd on macOS instance for CI testing
- # @BODY At the moment after installing gpsd (brew install gpsd) library can be found by cmake, but not headers! Apparently we should add some magic for environment variables or something else on macOS Catalina to make headers available for cmake/make
- steps:
- - name: Install dependencies
- env:
- HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK: 1
- run: |
- brew update
- brew install qt@6 nlopt exiv2
-
- - name: Checkout repository
- uses: actions/checkout@v4
-
- - name: Configure CMake
- shell: bash
- run: |
- export PATH="/usr/local/opt/qt@6/bin:$PATH"
- mkdir -p build
- cd build
- cmake -DCMAKE_BUILD_TYPE=Debug -DENABLE_TESTING=On ${{ github.workspace }}
-
- - name: Compile
- working-directory: build
- run: make -j3
-
- - name: Run unit tests
- uses: coactions/setup-xvfb@v1
- with:
- working-directory: build
- run: ctest --output-on-failure