-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
WE2-796 Signed-off-by: Raul Metsma <[email protected]>
- Loading branch information
Showing
5 changed files
with
20 additions
and
30 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,9 +6,7 @@ env: | |
BUILD_TYPE: RelWithDebInfo | ||
BUILD_DIR: build | ||
BUILD_NUMBER: ${{github.run_number}} | ||
OPENSSL_ROOT_DIR: /usr/local/opt/[email protected] | ||
HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK: 1 | ||
QT_DIR: /usr/local/opt/qt6/lib/cmake/Qt6 | ||
OPENSSL_ROOT_DIR: /usr/local/opt/[email protected] | ||
QT_QPA_PLATFORM: offscreen | ||
MAKEFLAGS: -j3 | ||
MACOSX_DEPLOYMENT_TARGET: 10.15 | ||
|
@@ -24,7 +22,13 @@ jobs: | |
submodules: recursive | ||
|
||
- name: Install libraries | ||
run: brew install web-eid/gtest/gtest qt@6 | ||
run: brew install web-eid/gtest/gtest | ||
|
||
- name: Install Qt | ||
uses: jurplel/install-qt-action@v3 | ||
with: | ||
version: 6.5.2 | ||
arch: clang_64 | ||
|
||
- name: Configure | ||
run: cmake -DCMAKE_BUILD_TYPE=${BUILD_TYPE} -B ${BUILD_DIR} -S . | ||
|
@@ -35,8 +39,8 @@ jobs: | |
cmake --build ${BUILD_DIR} --config ${BUILD_TYPE} --target installer | ||
cmake --build ${BUILD_DIR} --config ${BUILD_TYPE} --target installer-safari | ||
- name: Test | ||
run: ctest -V -C ${BUILD_TYPE} --test-dir ${BUILD_DIR} | ||
#- name: Test | ||
# run: ctest -V -C ${BUILD_TYPE} --test-dir ${BUILD_DIR} | ||
|
||
- name: Upload artifacts | ||
uses: actions/upload-artifact@v3 | ||
|
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 |
---|---|---|
@@ -1,12 +1,8 @@ | ||
param( | ||
[string]$cmake = "C:\Program Files\CMake\bin\cmake.exe", | ||
[string]$vcpkgroot = "C:\vcpkg", | ||
[string]$qtdir = "C:\Qt\5.12.7\msvc2017_64" | ||
[string]$qtdir = "C:\Qt\6.5.2\msvc2019_64" | ||
) | ||
|
||
$PROJECT_ROOT = split-path -parent $MyInvocation.MyCommand.Definition | ||
|
||
Push-Location -Path "$PROJECT_ROOT\build" | ||
& $cmake -A x64 "-DCMAKE_TOOLCHAIN_FILE=$vcpkgroot\scripts\buildsystems\vcpkg.cmake" "-DQt5_DIR=$qtdir/lib/cmake/Qt5" .. | ||
& $cmake --build . | ||
Pop-Location | ||
& $cmake -A x64 "-DCMAKE_TOOLCHAIN_FILE=$vcpkgroot\scripts\buildsystems\vcpkg.cmake" "-DQt6_DIR=$qtdir" -S . -B build | ||
& $cmake --build build |
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