Commit Graph

74 Commits

Author SHA1 Message Date
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
Magne Sjaastad
6e45d51e4e
Update vcpkg
Update vcpkg to be compatible with OSX
2021-04-05 17:23:40 +02:00
Magne Sjaastad
0377da8097
System : Optionally bundle OpenSSL on Linux (#7458) 2021-03-05 09:56:05 +01:00
Magne Sjaastad
dbf310db9e gha: Update buildcache and relax BUILDCACHE_ACCURACY 2021-01-29 10:38:15 +01:00
Gaute Lindkvist
04d5daca67 Create a new ApplicationExe project for the executable 2021-01-11 15:27:45 +01:00
Kristian Bendiksen
b2ec95fba4 Github Actions: Reintroduce python tests for linux.
Also unify "unit test" step since it was the same for both platforms.
2020-12-21 14:09:25 +01:00
Magne Sjaastad
4f949154fa
Update ResInsightWithCache.yml (#7053) 2020-11-30 14:31:26 +01:00
Magne Sjaastad
bef35b722a
Use latest buildcache (#7050) 2020-11-28 12:53:06 +01:00
Magne Sjaastad
1a16362733 gha: Use content of vcpkg response file to create cache key 2020-11-24 13:07:27 +01:00
Magne Sjaastad
bc9a44803e gha : Make sure workflows are triggered by pull_request 2020-11-17 13:36:02 +01:00
Magne Sjaastad
5dfb67a91f
Improve vcpkg cache (#6989)
Improve vcpkg cache
2020-11-15 09:26:42 -08:00
Magne Sjaastad
30c717db16
Replace use of add-path
Replace use of add-path

Output from gha
The add-path command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2020-10-01-github-actions-deprecating-set-env-and-add-path-commands/
2020-11-11 07:58:55 +01:00
Magne Sjaastad
15b5aef308
System : Do not autoinstall vcpkg packages by default (#6876)
* System : Do not autoinstall vcpkg packages by default

* System : Enable autoinstall of vcpkg for github action
2020-10-30 15:07:58 +01:00
Gaute Lindkvist
787dae4044
Automatic installation of vcpkg dependencies (#6848)
* Added AutoVcpkg files to cmake directory.
* Add auto install of vcpkg packages
* Add grpc install to GrpcInterface module
* Set VCPKG_ROOT in GitHub actions

Co-authored-by: Ruben Thoms <ruben.thoms@ceetronsolutions.com>
2020-10-30 12:29:57 +01:00