Commit Graph

87 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
2509977e5a Use unity build for Windows to reduce build time 2023-03-31 10:01:57 +02: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
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
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
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
aebafd47fd Update ResInsightWithCache.yml 2021-08-02 19:42:39 +02:00
Magne Sjaastad
9a8ffe403e Set a fixed version of cmake to fix issues with GitHub actions 2021-08-02 19:38:15 +02:00
Magne Sjaastad
b03b23aba2 Update ResInsightWithCache.yml 2021-08-02 07:45:32 +02:00
Magne Sjaastad
aa5bfc1d67 Update ResInsightWithCache.yml 2021-08-02 07:35:35 +02:00
Magne Sjaastad
67a8567cbc GHA : Skip upload of duplicate artifacts (#7749)
Ubuntu using clang is created to make sure the clang compiler works. The artifact name is identical and break the build if two processes upload at the same time.

This commit will disable upload of artifact for Ubuntu clang build
2021-06-04 12:22:10 +02:00
Magne Sjaastad
d6b8db47b8 GHA : Use ubuntu-latest 2021-04-27 16:11:19 +02:00
Magne Sjaastad
dd605f5445 GHA : Avoid space in cache key 2021-04-18 08:57:14 +02:00
Magne Sjaastad
79ebc6b101 GHA : Disable caching of dynamic OpenSSL 2021-04-05 21:21:14 +02:00
Magne Sjaastad
77696b6f9d Bump cache key 2021-04-05 20:26:29 +02:00
Magne Sjaastad
2d9ac615f2 Add MacOS build support 2021-04-05 09:39:12 -07:00