Commit Graph

163 Commits

Author SHA1 Message Date
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
Magne Sjaastad
3495cdd4b4
Gha: Do not use unity build 2022-01-10 19:07:43 +01:00
Magne Sjaastad
29db2bc012
Fix error in Python linting 2021-12-09 09:46:08 +01:00
Magne Sjaastad
95f1b63ddf
Merge pull request #8332 from OPM/gha-improve-PR-names 2021-11-29 12:33:38 +01:00
Magne Sjaastad
64bb841d1c GHA: Use source branch name as branch-suffix for generated branches 2021-11-29 11:54:06 +01:00
Magne Sjaastad
1655966a22
Merge pull request #8234 from magnesj/test-broken-links
Add workflow file to test for broken links
2021-11-03 11:59:35 +01:00
Magne Sjaastad
27867b01ec
Merge pull request #8170 from OPM/centos7-devtools-10
Update centos7.yml
2021-10-20 10:18:03 +02:00
jonjenssen
c88424dbcf Revert "Use devtoolset-9 on CentOS 7"
This reverts commit 72dcc46e27.
2021-09-30 08:18:03 +02:00
jonjenssen
d206a93939
Fix comment typo 2021-09-27 13:21:00 +02:00
jonjenssen
72dcc46e27
Use devtoolset-9 on CentOS 7 2021-09-27 13:18:40 +02:00