-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support GitHub Actions's new macOS 14 runners
Squashed commit of the following: commit 8211872 Author: Paul Colby <git@colby.id.au> Date: Wed Apr 24 20:50:20 2024 +1000 Exclude Qt 6.2 on macOS 14 commit 1bebfa9 Author: Paul Colby <git@colby.id.au> Date: Tue Apr 23 22:01:47 2024 +1000 Exclude CI builds with Qt 5.x and GCC on macOS 13 commit 5c7a381 Author: Paul Colby <git@colby.id.au> Date: Tue Apr 23 22:00:27 2024 +1000 Restore Linux and Windows CI builds commit b26a09b Author: Paul Colby <git@colby.id.au> Date: Tue Apr 23 21:58:49 2024 +1000 Restore Qt5 builds for macOS on GitHub Actions commit a4d36c5 Author: Paul Colby <git@colby.id.au> Date: Tue Apr 23 21:55:23 2024 +1000 Include macOS version in artifact names commit 8db5007 Author: Paul Colby <git@colby.id.au> Date: Tue Apr 23 21:51:07 2024 +1000 Don't use `matrix` in `jobs.if` GitHub Actions does not allow out. commit 5f4625a Author: Paul Colby <git@colby.id.au> Date: Tue Apr 23 21:47:02 2024 +1000 Build and test all supported macOS versions commit 6d5e416 Author: Paul Colby <git@colby.id.au> Date: Tue Apr 23 21:44:57 2024 +1000 Skip yet another unsafe test on GitHhub Action's macOS 14 runners commit cb83271 Author: Paul Colby <git@colby.id.au> Date: Tue Apr 23 21:44:23 2024 +1000 Skip one more unsafe test on GitHhub Action's macOS 14 runners commit f8faae2 Author: Paul Colby <git@colby.id.au> Date: Tue Apr 23 21:41:29 2024 +1000 Skip more unsafe tests on GitHhub Action's macOS 14 runners commit 4d993ab Author: Paul Colby <git@colby.id.au> Date: Tue Apr 23 21:37:17 2024 +1000 Restrict to just MacOs w/ Qt6 builds for now commit 3a65f33 Author: Paul Colby <git@colby.id.au> Date: Tue Apr 23 21:36:02 2024 +1000 Skip unsafe tests on GitHhub Action's macOS 14 runners commit 9679720 Author: Paul Colby <git@colby.id.au> Date: Tue Apr 23 21:35:14 2024 +1000 Stick with MacOS 12 for Qt5 builds Later MacOS versions are not supported by Qt5.
- Loading branch information
Showing
14 changed files
with
133 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
// SPDX-FileCopyrightText: 2022-2024 Paul Colby <git@colby.id.au> | ||
// SPDX-License-Identifier: LGPL-3.0-or-later | ||
|
||
#ifndef DOKIT_TESTS_GITHUB_H | ||
#define DOKIT_TESTS_GITHUB_H | ||
|
||
#include <QOperatingSystemVersion> | ||
|
||
/*! | ||
* Returns \c true if the application is executing on a GitHub Actions runner, \c false otherwise. | ||
*/ | ||
inline bool isGitHubActionsRunner() | ||
{ | ||
return qgetenv("GITHUB_ACTIONS") == "true"; | ||
} | ||
|
||
/*! | ||
* Returns the host operating system's version information if executing on a GitHub Actions runners, otherwise | ||
* a QOperatingSystemVersion::Unknown version. | ||
*/ | ||
inline QOperatingSystemVersion gitHubActionsRunnerOsVersion() | ||
{ | ||
return isGitHubActionsRunner() ? QOperatingSystemVersion::current() | ||
: QOperatingSystemVersion(QOperatingSystemVersion::Unknown, -1); | ||
} | ||
|
||
#endif // DOKIT_TESTS_GITHUB_H |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters