-
Notifications
You must be signed in to change notification settings - Fork 52
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update actions in workflow and improve parallelisation and cache hand…
…ling (#298) Changelog === In general, the versions of the actions were updated for checkout, cache, download and upload artifacts. Aditionally, the parallel build with a static value in an environment variable `-j2` was changed to the `--parallel $(nproc)` argument to the command to pick automatically the value. In particular, other changes were done: - `build_test_linux_fedora_minimal.yaml` - the build cache is updated with a new name to preserve for the same reference (branch, push) and not for the same commit - `build_test_linux_fedora.yaml` - setup a build cache for dpsimpy & examples - archive in a different cache (not overwriting the others) per commit sha - changes to the archiving of build of cxx examples - input from the previous stage and recompile and save for the current compilation - jupyter notebook tests were parallelized - the package pytest-xdist is installed - cache is changed to separate per commit sha - comparison of results - previous cached result is used - test of binaries - the output of the cxx compilation is used as cache - villas examples - the needs is changed to examples (dpsimpy probably worked due old overwrites in the cache, when chaining the compilation outputs it started failing) - `build_test_linux_rocky.yaml` - added cache to the clang compilation - added cache to the profiling compilation - `build_test_windows.yaml` - added cache to the build directory per reference - `documentation-fein.yaml` - changed node to v20 - updated hugo and gh-pages actions - `run_and_profile_example.yaml` - changed the container to sogno/dpsim.dev-rocky (we were still on centos) - `run_villas_example.yaml` - changed the cache to the cxx examples build
- Loading branch information
Showing
10 changed files
with
134 additions
and
123 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.