Commit Graph

189 Commits

Author SHA1 Message Date
Magne Sjaastad
c0334cce62
Update update-submodules.yml 2024-08-13 15:51:34 +02:00
Magne Sjaastad
0ee28b73dd
Update update-submodules.yml 2024-08-13 15:32:19 +02:00
Magne Sjaastad
123baa5d4e
Create update-submodules.yml
Update specified submodules to latest available version by creating a PR for each submodule.
2024-08-13 13:59:47 +02:00
Magne Sjaastad
aac694b66a
Add configuration file for Dependabot used to create PR when selected submodules are updated 2024-08-13 09:53:39 +02:00
Magne Sjaastad
2680611a7a Use latest buildcache version 2024-07-25 10:29:16 +02:00
Magne Sjaastad
7f4f8732e1 Revert "#11485 Disable Python and unit test to fix build on GitHub"
This reverts commit 742bb5f0d2.
2024-06-13 09:17:23 +02:00
Magne Sjaastad
742bb5f0d2 #11485 Disable Python and unit test to fix build on GitHub
Recent changes on GitHub is breaking the build. Temporarily disable Python and unit tests as a workaround.

https://github.com/actions/runner-images/issues/10004
2024-06-10 11:44:36 +02:00
Magne Sjaastad
431c8f5a27 Build release only for vcpkg packages 2024-06-09 12:17:25 +02:00
Magne Sjaastad
b050cac1d2
Make it possible to build Octave plugins independent to main build
The building of Octave plugins within main ResInsight build on RHEL8 cause the build to use gcc-12, and gcc-12 is extremely slow when building opm-common.

Adjust the CMake configuration so it is possible to build the Octave plugins as an independent build job. The plugin binaries can then be uploaded to an external server. The main ResInsight build  can download the binaries and include them in the install package for ResInsight.

Use the flag RESINSIGHT_USE_EXTERNAL_OCTAVE_PLUGINS to download external Octave plugin binaries.
2024-06-04 07:42:50 +02:00
Magne Sjaastad
1e07b239d1
Simplify configuration and use of vcpkg
* Simplify configuration and use of vcpkg
* Use 22.04
* Set and use BUILD_TYPE = Release
* Use -DVCPKG_BUILD_TYPE=release
2024-05-31 08:56:29 +02:00
Magne Sjaastad
2fb54ac1ec Add qtnetworkauth to clang-tidy workflow 2024-05-29 10:14:41 +02:00
Kristian Bendiksen
d02dd2dfed Add Qt network auth to github actions. 2024-05-24 15:19:43 +02:00
Magne Sjaastad
bbebdbba4c Bump to Python 3.11 2024-05-22 10:04:16 +02:00
Magne Sjaastad
2ad6c0fff2 Set artifact retention-days to 5
The delete artifact action is no longer working, set retention-days to 5
2024-05-10 09:09:46 +02:00
Kristian Bendiksen
55c0e81d9e OpenSSL: remove OpenSSL bundling.
The OpenSSL library from vcpkg is unlikely to be the one needed by Qt.
2024-04-26 11:59:47 +02:00
Magne Sjaastad
869a2430ae Revert "Pin cmake to 3.28.x due to build issues with 3.29"
This reverts commit df0a86f076.

Issue was fixed in 3.29.2
https://gitlab.kitware.com/cmake/cmake/-/issues/25873
2024-04-14 20:27:08 +02:00
Magne Sjaastad
df0a86f076 Pin cmake to 3.28.x due to build issues with 3.29 2024-04-07 14:16:12 +02:00
Magne Sjaastad
820fa561ba
Fix deploy to pypi 2024-03-25 12:57:49 +01:00
Magne Sjaastad
63defd0f1a GHA: Update to peter-evans/create-pull-request@v6 2024-03-17 11:06:19 +01:00
Magne Sjaastad
e94ac51568
Optionally install python modules defined in dev-requirements.txt 2024-02-15 09:47:20 +01:00
Magne Sjaastad
8fe385adcf
Create binary artifacts for Linux
* Bundle Qt binaries and create artifacts on Linux 
* Add qt.conf for Linux
* Remove install target for unit test
2024-02-13 09:06:38 +01:00
jonjenssen
5391179e16
Add separate target for unit tests for easier test access. Remove unit tests from ResInsight application. (#11184)
Clean up cmake configuration a bit, and pull down gtest when needed, no longer use a thirdparty subfolder
Add a ResInsight-tests target to run the unit tests
2024-02-11 20:04:04 +01:00
Magne Sjaastad
e83b2e92f3
Add and use clang-tidy for GrpcInterface 2024-01-29 15:00:55 +01:00
Magne Sjaastad
ad34bbf125
Use latest version of actions
* Update checkout action
* Update setup-python
* Update get-current-time
* Update cache
* Update upload-artifact
2024-01-26 12:45:25 +01:00
Magne Sjaastad
edf44cb4c0 Prepare CMake to support both Qt5 andf Qt6
CEE_USE_QT6 controls if Qt6 is used.
Improved install and package for Qt6, target version Qt 6.5.3
Added Qt6 to github action for AppFwkUnitTest
2024-01-09 11:02:41 +01:00
Magne Sjaastad
ff6472c6b7
Update to clang-16
Use runner Ubuntu 22.04 for clang-16
Remove unused code detected by clang-16
2024-01-05 15:13:50 +01:00
Magne Sjaastad
b34c6b9499 Bump version to RC_03 2023-12-11 12:32:19 +01:00
Magne Sjaastad
21843820e6
Update clang-tidy.yml
* Make sure clang-tidy action use .clang-tidy config file
Use add-paths to instruct create-pull-request to a sub folder to avoid diff from Qt and vcpkg

* Use empty() in macro to avoid clang-tidy warning
* Add NOLINT to CAF_ASSERT
* Add NOLINT to cvfAssert
2023-10-03 09:04:08 +02:00
Kristian Bendiksen
7aabe8c4a8 Python: add type hinting to python code.
Types are checked using mypy.

Fixes #10394.
2023-08-23 09:47:44 +02:00
Magne Sjaastad
9434c335b8 Disable precompiled headers due to build errors on github 2023-08-16 16:00:15 +02:00
Magne Sjaastad
45be0e6d6d
Use precompiled headers to speed up build
* Add precompiled headers to Commands, and improve usage
* Use precompiled headers on github action
2023-08-11 12:41:40 +02:00
Magne Sjaastad
bd061a5bf4 Limit clang-tidy to main and dev
Make it possible to have temporary code violating clang-tidy fixes in work branches
2023-06-30 12:55:03 +02:00
Magne Sjaastad
8f83d25c9d
Publish Python package to pypi when a commit is tagged
* Publish to pypi from main workflow
* Remove pinning
* Include version info for proto tool in RiaVersionInfo.py
2023-06-29 14:07:04 +02:00
Magne Sjaastad
e1dacf7617
Remove pinning of Python modules
* Remove all version pinning
* Fix boolean check in GHA
2023-06-26 14:29:39 +02:00
Magne Sjaastad
f4dd1d363d
Add prefix to cmake options
Add missing RESINSIGHT_ prefix to cmake options
GHA: Fix warnings
2023-05-19 15:03:04 +02:00
Magne Sjaastad
95e3435384
Update pull request actions 2023-05-18 21:21:33 +02:00
Magne Sjaastad
c55d46c080
GHA: Use precompiled opm-common
* GHA: Use precompiled opm-common
* Fix cmake logic
2023-05-02 12:32:09 +02:00
Magne Sjaastad
bb0ae9e381
Add optional download of binaries in build
* #10202 Download and use binaries as part of a build
2023-05-01 18:44:05 +02:00
Magne Sjaastad
48203115b1 Set python version for linting 2023-04-24 07:54:13 +02:00
Magne Sjaastad
6f6dc80bc6
Added more clang-tidy checks
Improved GitHub Action to run clang-format as part of clang-tidy

* Simplify clang-tidy workflow
* Added modernize-use-using, modernize-redundant-void-arg, readability-static-accessed-through-instance
* Add nolint for libecl typedefs
2023-04-14 14:07:45 +02:00
Magne Sjaastad
952e766c2f
Update clang-format.yml (#10068)
* Update to clang-format-15
Removed two custom .clang-format files in subfolders of AppFwk

* Fixes by clang-format
2023-04-13 07:05:53 +02:00
Magne Sjaastad
2509977e5a
Use unity build for Windows to reduce build time 2023-03-31 10:01:57 +02:00
Magne Sjaastad
42ea16d64b
Create close-label.yml 2023-03-22 07:46:30 +01:00
Magne Sjaastad
baf379701c
Improve main github action for daily builds
Remove qtscript
Remove use of obsolete action
Improve cache key for vcpkg
2023-03-21 14:14:04 +01:00
Magne Sjaastad
b30a8507a9 Avoid use of deprecated action 2023-03-21 14:07:16 +01:00
Magne Sjaastad
c6d70a56f5
Improve AppFwk unit testing
* Get Cmake and Ninja
* Remove use of QtScript
* Run user interface test only on Windows
2023-03-21 10:22:14 +01:00
Magne Sjaastad
706c8a5266
Use clang-tidy-15
Update clang-tidy.yml to use clang-tidy-15 to be able to support c++20

Do not use OpenMP, as omp.h is not found during parsing

Remove modernize-use-nullptr, as this does not work with <=> (spaceship operator)
https://reviews.llvm.org/D95714
2023-03-21 10:02:03 +01:00
Magne Sjaastad
8028444018
GitHub Actions: Add apt mirror to make package download more robust
- Download of Ubuntu packages from Azure is unstable. Add mirror sites to improve reliability.
- Improve use of clang-format and include source code changes
2023-02-07 07:22:57 +01:00
Magne Sjaastad
60abadb86e GHA: Add retry for apt commands 2023-02-06 16:42:03 +01:00
Magne Sjaastad
f919ba6749
Use <=> operator for RifEclipseSummaryAddress
* Use spaceship operator for RifEclipseSummaryAddress
* Set gcc-10 as compiler for Ubuntu 20.04
* Reorder declaration of members to get wanted sorting
2023-01-30 14:53:07 +01:00