Commit Graph

50 Commits

Author SHA1 Message Date
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
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
a31f6deb0c #6815 Deployment : Update names of deployment DLLs on Windows 2020-10-21 05:44:05 -04:00
Gaute Lindkvist
43186453e5 Fix action following move of vcpkg 2020-10-20 11:05:27 +02:00
Kristian Bendiksen
bbff9edc24 #6491 Add build for clang for github actions. 2020-09-14 21:46:27 +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
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
03ac01d049 gha : Build cache each night to have a warm cache each morning 2020-06-08 08:20:45 +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
Magne Sjaastad
d19d44081c gha : Build new cache each day 2020-06-03 15:30:55 +02:00
Magne Sjaastad
73b02d59e6 Github Actions : Enable build of GSL 2020-05-29 09:28:42 +02:00
Magne Sjaastad
85def545f2 GitHub Action : Install hdf5-dev package 2020-05-28 14:27:56 +02:00
Magne Sjaastad
8c8e0740d0 GithubAction : Activate restore key for build cache 2020-05-22 07:21:11 +02:00
Magne Sjaastad
80ee1256e7 Github Action : Change base cache key 2020-05-21 18:35:44 +02:00
Magne Sjaastad
991e93d4fa GitHub Action : Temporarily disable fallback cache key 2020-05-21 08:03:47 +02:00
Magne Sjaastad
d72e6e40f7 GitHub Action : Use year, month, and day as cache timestamp key
Original example for timestamp included hour, minute and second to build up cache key.
2020-05-19 13:04:19 +02:00
Magne Sjaastad
c2c11e74b1 Update build cache action 2020-05-08 11:28:55 +02:00
Magne Sjaastad
610de357c1 Add separate compile on push with build cache 2020-05-08 11:28:55 +02:00