Commit Graph

90 Commits

Author SHA1 Message Date
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
Magne Sjaastad
e2ef6a910b #6106 Use clang-format on AppFwk 2020-06-19 07:59:10 +02:00
Magne Sjaastad
9e728191f4 gha : Fix path 2020-06-16 22:07:14 +02:00
Magne Sjaastad
c4f8d0cffb gha : Run pytest and disable main workflow 2020-06-16 22:07:14 +02:00
Magne Sjaastad
4e586950f0 gha : Create artifacts for each matrix entry and run pytest 2020-06-16 22:07:14 +02:00
Magne Sjaastad
e25e4b0bfb
Update ResInsightWithCache.yml 2020-06-11 13:34:46 +02:00
Magne Sjaastad
df3cf7bee7
gha : Upgrade to latest version of cache and checkout 2020-06-09 09:38:07 +02:00
Magne Sjaastad
60c13d6736
Update clang-format.yml
Avoid running on pull_request
2020-06-08 11:58:52 +02:00
Magne Sjaastad
64a719b1f4
gha: Check formatting using clang-format on push 2020-06-08 11:08:22 +02:00
Magne Sjaastad
03ac01d049 gha : Build cache each night to have a warm cache each morning 2020-06-08 08:20:45 +02:00
Kristian Bendiksen
e9e32bfc3a
Merge pull request #6023 from OPM/error-as-warnings-flag-6018
Error as warnings flag 6018
2020-06-04 13:40:52 +02:00
Magne Sjaastad
490dc1aa05
Create spell-check.yml (#6026) 2020-06-03 22:31:09 +02:00
Magne Sjaastad
f03e1b5f6b gha : Add build on Ubuntu 20.04 2020-06-03 22:06:29 +02:00
Kristian Bendiksen
1e920863d9 #6018 Enable RESINSIGHT_TREAT_WARNINGS_AS_ERRORS in github actions. 2020-06-03 22:06:29 +02:00