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
Magne Sjaastad
b78cf3a4bb
Use cmake-format on all cmake files
2021-08-26 19:46:38 +02: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
be8bca91a3
Delete close-stale-issues.yml
2021-05-03 10:43:47 +02:00
Magne Sjaastad
7684d315fb
Update close-stale-issues.yml
2021-05-02 21:05:32 +02:00
Magne Sjaastad
0289b17574
Update close-stale-issues.yml
2021-05-02 13:10:59 +02:00
Magne Sjaastad
ca723a9b95
Update close-stale-issues.yml
2021-05-02 13:05:02 +02:00
Magne Sjaastad
5e556a1389
Create close-stale-issues.yml
2021-05-02 08:59:28 +02:00
Magne Sjaastad
5bc599cd57
Include top level cmakelist and fix formatting
2021-04-29 10:42:16 +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
eab5bc79c9
Fix path in clang-tidy workflow ( #7542 )
2021-04-06 21:04:31 +02:00
Magne Sjaastad
f1af56b0f9
Update ResInsightWithCacheManualPaths.yml
2021-04-06 21:03:23 +02:00
Magne Sjaastad
06512393d0
GHA: Make sure cache is recreated for clang-tidy job
2021-04-06 08:34:56 +02:00
Magne Sjaastad
79ebc6b101
GHA : Disable caching of dynamic OpenSSL
2021-04-05 21:21:14 +02:00
Magne Sjaastad
b01569869a
GHA : Add clang-tidy
2021-04-05 11:50:42 -07: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
Kristian Bendiksen
4759b72b98
Github actions: Fix failing pylint on pull requests.
2021-01-28 21:09:14 +01:00
Magne Sjaastad
1bacd41037
Add Python linting using black ( #7276 )
2021-01-26 20:48:01 +01:00
Gaute Lindkvist
04d5daca67
Create a new ApplicationExe project for the executable
2021-01-11 15:27:45 +01:00
Gaute Lindkvist
c57f2d8b4a
Add step for installing pip modules in manual gRPC paths action
2021-01-11 15:27:45 +01:00
Gaute Lindkvist
2a2598e503
Add a GitHub action to test manual build paths (no VCPKG toolchain)
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
Kristian Bendiksen
c21f243895
#6941 Github actions: build QtCharts from source for Centos 7.
2020-12-10 10:00:50 +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
b8c01eabb6
gha : Revert clang-format and cmake-format on PR
...
When using these workflows on PR, the following error message is displayed
Error: When the repository is checked out on a commit instead of a branch, the 'base' input must be supplied.
2020-11-19 08:17:55 +01:00
Magne Sjaastad
bc9a44803e
gha : Make sure workflows are triggered by pull_request
2020-11-17 13:36:02 +01:00
Magne Sjaastad
5cdd34cf9a
Update centos7.yml
2020-11-17 08:13:32 +01:00
Magne Sjaastad
5dfb67a91f
Improve vcpkg cache ( #6989 )
...
Improve vcpkg cache
2020-11-15 09:26:42 -08:00
Magne Sjaastad
659a1091b8
Update actions based on deprecated functions ( #6979 )
2020-11-12 19:14:11 +01: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
318b4e3471
Use peter-evans/create-pull-request@v3
2020-11-06 06:18:34 -05:00
Magne Sjaastad
d7e7498e9a
gha: Use clang-format 10
2020-11-06 06:18:34 -05:00
Magne Sjaastad
817a5da315
Update centos7.yml
2020-11-03 07:17:56 +01:00
Gaute Lindkvist
265f820531
Update Centos7 action to use an absolute path for RESINSIGHT_GRPC_PYTHON_EXECUTABLE
2020-11-02 11:33:43 +01:00
Magne Sjaastad
4bdee0119a
gha: Fix typo in cmake arguments for centos7
2020-11-01 09:43:13 +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
Gaute Lindkvist
3cd3b319d4
Add a github action and config file for running CMake-format ( #6849 )
...
* Add a github action and config file for running CMake-format
2020-10-30 11:51:13 +01:00
Gaute Lindkvist
514cca5f95
Simplify the CMake GRPC setup ( #6852 )
...
* Simplify GRPC CMake setup.
* Move pip install code to CMake rather than github action to ensure the same Python version
* Remove redunant NO_MODULE in GRPC cmakefiles
* Use old CMP0077 policy (changed in Cmake 3.13) because our base line is 3.12.
* Make GrpcInterface a separate Object Library
* Update pip command to include --user and setuptools
* Update grpc python generation
* Remove unity build from GrpcInterface library
* Update github action to explictly set up Python
2020-10-30 10:11:58 +01:00
Magne Sjaastad
31b1f3a2ba
#6376 Add all required external vcpkg libraries
2020-10-25 18:00:51 +01:00
Magne Sjaastad
a31f6deb0c
#6815 Deployment : Update names of deployment DLLs on Windows
2020-10-21 05:44:05 -04:00
Gaute Lindkvist
825a9bb531
Fix centos7 action following move of vcpkg
2020-10-20 11:05:27 +02:00
Gaute Lindkvist
43186453e5
Fix action following move of vcpkg
2020-10-20 11:05:27 +02:00
Magne Sjaastad
6eba1632ac
GHA : Add Qt Svg to centos7
2020-10-06 02:36:56 -04:00
Kristian Bendiksen
bbff9edc24
#6491 Add build for clang for github actions.
2020-09-14 21:46:27 +02:00
Magne Sjaastad
2a9082360c
Add nightly build of centos7 ( #6355 )
2020-08-24 15:38:51 +02:00
Magne Sjaastad
105deba056
Update path for Qt to make caching work ( #6281 )
2020-08-09 09:19:40 +02:00
Magne Sjaastad
385ac3e386
Update ResInsightWithCache.yml
...
Missing cache restore related to https://github.com/actions/cache/issues/144
2020-08-07 22:46:19 +02:00
Magne Sjaastad
7d45ab4f41
gha : Enable RESINSIGHT_ENABLE_UNITY_BUILD
...
The text arguments to the linker are now too largre causing MSVC to fail and exit. Use Unity build to reduce the number of files.
2020-08-06 10:05:22 +02:00
Magne Sjaastad
52fc12adf3
gha : Use unique name for auto generated patch branches
2020-06-24 21:59:01 +02:00