Commit Graph

172 Commits

Author SHA1 Message Date
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
Magne Sjaastad
26e7d5aad0 Cancel running process if new commit is pushed 2023-01-26 12:01:29 +01:00
Magne Sjaastad
eaf3b970ad add apt-get update
Make sure to call apt-get update before apt-get install
2023-01-13 15:08:30 +01:00
Kristian Bendiksen
5847547d81 #8981 GitHub Actions: Pin VM version used for daily builds 2022-11-24 07:26:56 +01:00
Magne Sjaastad
fa83d17818
GHA: Fix timestamp 2022-10-24 10:42:57 +02:00
Magne Sjaastad
0b7700024f
GHA: Use GITHUB_OUTPUT 2022-10-19 14:30:47 +02:00
Magne Sjaastad
905b2abe53 Update clang-tidy.yml 2022-10-14 08:50:00 +02:00
Magne Sjaastad
2cd7576413 Update files 2022-10-13 20:09:08 +02:00
Magne Sjaastad
587f700ae4 Add requirements.txt with version tagging 2022-09-23 09:06:53 +02:00
Magne Sjaastad
57d3f7dd55
Update ResInsightWithCache.yml
Avoid setup-python called as part of install-qt-action
2022-09-20 08:33:46 +02:00
Magne Sjaastad
b9c21289d0 Update actions to latest and remove artifact upload for Linux
Artifact upload failed for Linux -> remove as these are not used
2022-07-07 09:07:46 +02:00
Magne Sjaastad
558d675d44
Merge pull request #8920 remove mac build 2022-05-19 11:47:41 +02:00
Magne Sjaastad
5b819b7635
Update clang-tidy.yml 2022-03-14 07:19:05 +01:00
Magne Sjaastad
88ed302dc3
Update clang-tidy.yml 2022-03-14 07:17:04 +01:00
Magne Sjaastad
3d6b7bdb0e Janitor: Roll back to 5.9.7 for centos7 2022-02-12 18:07:56 +01:00
Magne Sjaastad
4d0b94570e
Qt : Bump build version to 5.12.12 (#8544)
* Qt : Bump build version to 5.12.12

* Bump cache key
2022-02-12 17:54:38 +01:00
Magne Sjaastad
358c11264a
Merge pull request #8519 from magnesj/simplify-windows-env
Simplify GitHub Action and support windows-2022
2022-02-04 08:45:38 +01:00
Magne Sjaastad
69e627cac9 Update ResInsightWithCache.yml 2022-02-03 13:08:26 +01:00