Commit Graph
281 Commits
Author SHA1 Message Date
Kristian Bendiksen 58775bc1cc CI: Fix python-linting workflow to catch unfixable ruff errors
ruff check --diff only reported fixable violations, silently passing
on unfixable errors like E402. Replace with ruff check (no flags) to
fail CI on all violations. Auto-fix PR creation now only triggers on
failure for same-repo branches.
2026-03-06 08:52:04 +01:00
Magne Sjaastad 88985558f8 Set Python version to 3.12 2026-03-02 18:56:25 +01:00
Magne Sjaastad a7ccd088f0 Delete unused workflows 2026-03-02 18:56:25 +01:00
dependabot[bot] ed3a872eb5 Bump actions/upload-artifact from 6 to 7
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 6 to 7.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v6...v7)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-version: '7'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-03-02 14:08:49 +01:00
dependabot[bot] 2961472b2f Bump actions/download-artifact from 7 to 8
Bumps [actions/download-artifact](https://github.com/actions/download-artifact) from 7 to 8.
- [Release notes](https://github.com/actions/download-artifact/releases)
- [Commits](https://github.com/actions/download-artifact/compare/v7...v8)

---
updated-dependencies:
- dependency-name: actions/download-artifact
  dependency-version: '8'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-03-02 14:08:25 +01:00
Magne Sjaastad 64c24a6254 RHEL8: Add separate vcpkg configuration and readme
Add vcpkg-configuration-rhel8.json with an independent baseline that
can be updated separately from the default config. The RHEL8 CI workflow
copies this file over vcpkg-configuration.json before running cmake.
Add vcpkg-readme.md documenting the configuration files and their usage.
2026-03-02 12:42:42 +01:00
dependabot[bot] d0275f1deb Bump actions/checkout from 4 to 6
Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 6.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v4...v6)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-02-23 13:32:30 +01:00
Magne Sjaastad 3d2f369d6d Add nightly build on RHEL8
Add nightly build on RHEL8 to be able to track platform specific issues. Application unit tests are executed.

Currently building without Python.
2026-02-17 17:48:08 +01:00
Kristian Bendiksen 3449c8fea8 CI: Replace black with ruff for Python linting
Switch from black to ruff for Python code linting and formatting.
Ruff provides both linting (ruff check) and formatting (ruff format)
in a single fast tool.
2026-02-09 08:27:23 +01:00
Magne Sjaastad e8cd19f38c Revert use of Azure for caching, use GitHub Cache
Use of Azure for caching is not working well for private forks of ResInsight. Use a custom vcpkg-cache to store binaries on Github cache.

https://github.com/TAServers/vcpkg-cache

This reverts commit 006a316749.
This reverts commit 1101d74b69.
2026-02-06 21:48:32 +01:00
Kristian Bendiksen 1a07abb794 Fix build workflow for fork PRs
Make vcpkg binary caching conditional on secret availability. When
AZURE_VCPKG_STORAGE_ACCOUNT is not available (fork PRs), fall back to
building dependencies from source instead of failing.
2026-02-06 13:56:25 +01:00
Kristian Bendiksen c53761bbbf Fix Python linting workflow for fork PRs
The peter-evans/create-pull-request action fails for fork PRs because
it tries to fetch a branch that only exists in the fork. Add conditional
logic to handle fork PRs differently:

- Fork PRs: Run black --check --diff and fail if formatting issues exist
- Same-repo PRs and pushes: Keep existing behavior (run black, create fix PR)
2026-02-06 13:56:25 +01:00
Magne Sjaastad d47de408aa Add pytest Windows 2026-02-02 16:35:39 +01:00
Magne Sjaastad 67accb637e Adds workflow to bump dev version
Creates a GitHub Actions workflow to automatically bump the ResInsight dev version number and create a pull request to the dev branch.

This workflow allows for automated incrementing of the `-dev.XX` version suffix upon manual trigger, ensuring consistent versioning and simplifying the release process.
2026-02-01 08:59:20 +01:00
Magne Sjaastad 1101d74b69 Use azure caching for clang-tidy job 2026-01-12 07:48:53 +01:00
Magne Sjaastad 1ae6f40a98 Rename Ubuntu 24.04 gcc-14 to Ubuntu 24.04 gcc 2026-01-12 07:27:40 +01:00
Magne Sjaastad c11117ed41 Add libomp-19-dev to Clang 19 install in CI workflow
Added libomp-19-dev to the list of packages installed in ResInsightWithCache.yml to provide OpenMP support for Clang 19. Also adjusted package formatting for clarity. No changes to logic or verification steps.
2026-01-05 17:34:57 +01:00
Magne Sjaastad 201a48da26 Update clang-19 install steps in CI workflow
Replaced llvm.sh with manual addition of the LLVM APT repository for Ubuntu Noble in ResInsightWithCache.yml. Now installs clang-19 and related tools directly via apt-get, verifies installation, and provides more control and reliability over the setup process.
2026-01-05 17:34:57 +01:00
Magne Sjaastad b383baa97f Add vcpkg secrets check to CI workflow
Added a step in ResInsightWithCache.yml to verify that the required AZURE_VCPKG_STORAGE_ACCOUNT and AZURE_VCPKG_SAS_TOKEN secrets are set before running the configure step. This ensures the workflow fails early with a clear error if these secrets are missing, improving reliability and debuggability.
2026-01-05 17:34:57 +01:00
Magne Sjaastad 6d7151a5e2 Adds gcc-14 support to Ubuntu workflow
Adds support for gcc-14 to the Ubuntu 24.04 build workflow.
This ensures compatibility with projects requiring gcc-14 and allows testing with the latest compiler versions.

It installs gcc-14 and g++-14 if the configuration specifies 'gcc-14'.
2026-01-05 17:34:57 +01:00
Magne Sjaastad 006a316749 Configures Azure Blob Storage for vcpkg cache
Configures the vcpkg binary cache to use Azure Blob Storage, improving caching efficiency and reliability.

Removes the previous GitHub Actions cache implementation.
2026-01-05 17:34:57 +01:00
dependabot[bot] f070303dc7 Bump celinekurpershoek/link-checker from 1.0.2 to 1.0.3
Bumps [celinekurpershoek/link-checker](https://github.com/celinekurpershoek/link-checker) from 1.0.2 to 1.0.3.
- [Release notes](https://github.com/celinekurpershoek/link-checker/releases)
- [Commits](https://github.com/celinekurpershoek/link-checker/compare/v1.0.2...v1.0.3)

---
updated-dependencies:
- dependency-name: celinekurpershoek/link-checker
  dependency-version: 1.0.3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-12-29 13:05:51 +01:00
dependabot[bot] 4f51687715 Bump peter-evans/create-pull-request from 7 to 8
Bumps [peter-evans/create-pull-request](https://github.com/peter-evans/create-pull-request) from 7 to 8.
- [Release notes](https://github.com/peter-evans/create-pull-request/releases)
- [Commits](https://github.com/peter-evans/create-pull-request/compare/v7...v8)

---
updated-dependencies:
- dependency-name: peter-evans/create-pull-request
  dependency-version: '8'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-12-15 11:48:47 +01:00
dependabot[bot] 7b30564f9a Bump actions/cache from 4 to 5
Bumps [actions/cache](https://github.com/actions/cache) from 4 to 5.
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](https://github.com/actions/cache/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/cache
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-12-15 11:43:58 +01:00
dependabot[bot] b6373b423f Bump actions/upload-artifact from 5 to 6
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 5 to 6.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v5...v6)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-12-15 11:43:16 +01:00
dependabot[bot] 9fa678ce20 Bump actions/download-artifact from 6 to 7
Bumps [actions/download-artifact](https://github.com/actions/download-artifact) from 6 to 7.
- [Release notes](https://github.com/actions/download-artifact/releases)
- [Commits](https://github.com/actions/download-artifact/compare/v6...v7)

---
updated-dependencies:
- dependency-name: actions/download-artifact
  dependency-version: '7'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-12-15 11:41:57 +01:00
Magne Sjaastad 06af9e44af Include qt version in buildcache key 2025-12-01 17:38:01 +01:00
JJ 569d4dfc93 Fix build for Qt6.10.1 and add Windows build for Qt 6.10 2025-11-28 12:36:56 +01:00
dependabot[bot] 8216eeb845 Bump actions/checkout from 5 to 6
Bumps [actions/checkout](https://github.com/actions/checkout) from 5 to 6.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v5...v6)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-11-24 12:24:42 +01:00
Magne Sjaastad 544e9eedd9 Improve spell checker using codespell
* Configures automated spell checking with codespell
Adds GitHub workflows and configuration files for automated spell checking using `codespell`.

This includes:
- A workflow for checking pull requests and preventing new typos
- A workflow for automatically fixing typos in the main codebase
- Configuration files for `codespell` to ignore specific terms and file types
- Documentation on how to use and configure the spell checking workflows.

* Corrects minor spelling and grammar errors.
2025-11-19 10:25:32 +01:00
dependabot[bot] 9ae3d13ce7 Bump actions/download-artifact from 5 to 6
Bumps [actions/download-artifact](https://github.com/actions/download-artifact) from 5 to 6.
- [Release notes](https://github.com/actions/download-artifact/releases)
- [Commits](https://github.com/actions/download-artifact/compare/v5...v6)

---
updated-dependencies:
- dependency-name: actions/download-artifact
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-10-27 12:38:30 +01:00
dependabot[bot] 203bc2138d Bump actions/upload-artifact from 4 to 5
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4 to 5.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-10-27 12:37:49 +01:00
Magne Sjaastad a3e80f2bc5 Delete invalid test workflow 2025-10-26 14:13:45 +01:00
Magne Sjaastad c2706448c3 wip 2025-10-26 14:06:55 +01:00
Magne Sjaastad 21bc6c34e3 Adds workflow to bump dev version
Adds a workflow to automatically increment the ResInsight development version number in the ResInsightVersion.cmake file.

The workflow is triggered manually and updates the RESINSIGHT_DEV_VERSION by incrementing the numeric part of the version string. It then commits and pushes the changes to the repository.
2025-10-26 14:03:52 +01:00
Magne Sjaastad 6136567267 Use action to install buildcache 2025-10-26 10:51:22 +01:00
Magne Sjaastad 7ed7d98001 Removes obsolete Qt Charts references 2025-10-16 13:35:39 +02:00
dependabot[bot] b01434914c Bump actions/github-script from 7 to 8
Bumps [actions/github-script](https://github.com/actions/github-script) from 7 to 8.
- [Release notes](https://github.com/actions/github-script/releases)
- [Commits](https://github.com/actions/github-script/compare/v7...v8)

---
updated-dependencies:
- dependency-name: actions/github-script
  dependency-version: '8'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-08 15:36:51 +02:00
dependabot[bot] c6dd4a1d35 Bump actions/setup-python from 5 to 6
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 5 to 6.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](https://github.com/actions/setup-python/compare/v5...v6)

---
updated-dependencies:
- dependency-name: actions/setup-python
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-08 15:36:16 +02:00
Magne Sjaastad 41da409914 Removes branch check for tag releases. 2025-09-04 11:18:30 +02:00
Kristian Bendiksen 086b542db2 Github Actions: workaround missing libcrypto in latest buildcache. 2025-09-03 14:21:19 +02:00
dependabot[bot] c5326593c4 Bump actions/checkout from 4 to 5
Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 5.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-08-18 19:14:27 +02:00
dependabot[bot] 7e72bb2675 Bump actions/download-artifact from 4 to 5
Bumps [actions/download-artifact](https://github.com/actions/download-artifact) from 4 to 5.
- [Release notes](https://github.com/actions/download-artifact/releases)
- [Commits](https://github.com/actions/download-artifact/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/download-artifact
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-08-11 19:16:02 +02:00
Magne Sjaastad 43fa4197c7 Updates workflow to use Windows 2025 2025-08-06 14:46:50 +02:00
Magne Sjaastad 61504636b2 Updates CMake version requirements and workflow
Removes the CMake version check that caused issues with newer CMake versions.

Prints the CMake version in the workflow to aid in debugging.

Sets a minimum CMake policy version in CMakePresets.json. This is required to be able to build with CMake 4
2025-07-08 16:42:17 +02:00
Magne Sjaastad 0f73ef0e1c Update vcpkg-cache action to latest
Allows usage of cache from default branch in addition to PR branch
2025-07-08 16:42:17 +02:00
Magne Sjaastad 84671d1027 Remove publish to TestPyPi 2025-06-19 20:40:19 +02:00
Magne Sjaastad 16aa8946f5 GHA: Include compiler name in vcpkg cache prefix
Reduce the cache size by creating key including the compiler name
2025-06-01 08:35:25 +02:00
Magne Sjaastad 45104f4c04 Revert "Use NuGet for vcpkg cache"
This reverts commit d628760339.
2025-05-30 16:24:17 +02:00
Magne Sjaastad d628760339 Use NuGet for vcpkg cache 2025-05-28 08:03:07 +02:00