You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+25Lines changed: 25 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,7 @@
1
1
# libsparseir
2
2
3
3
[](https://github.com/SpM-lab/libsparseir/actions/workflows/CI_cmake.yml)
4
+
[](https://github.com/SpM-lab/libsparseir/actions/workflows/CreateTag.yml)
4
5
5
6
> [!WARNING]
6
7
> This C++ project is still under construction. Please use other repositories:
@@ -18,6 +19,30 @@ This C++ library provides routines for constructing and working with the interme
18
19
19
20
We use [tuwien-cms/libxprec](https://github.com/tuwien-cms/libxprec) as a double-double precision arithmetic library.
20
21
22
+
## CI/CD
23
+
24
+
This project uses GitHub Actions for continuous integration and automated releases:
25
+
26
+
-**CI_cmake.yml**: Runs automated tests on every push and pull request to ensure code quality
27
+
-**CreateTag.yml**: Automatically creates tags and releases when version numbers are updated in `include/sparseir/version.h`
28
+
29
+
### Automated Release Process
30
+
31
+
The release process is fully automated:
32
+
33
+
1. Update version numbers in `include/sparseir/version.h` by modifying:
34
+
-`SPARSEIR_VERSION_MAJOR`
35
+
-`SPARSEIR_VERSION_MINOR`
36
+
-`SPARSEIR_VERSION_PATCH`
37
+
38
+
2. Push changes to the main branch
39
+
40
+
3. The GitHub Action will automatically:
41
+
- Extract the version from the header file
42
+
- Check if a tag with that version already exists
43
+
- Create a new tag and release if the version is new
0 commit comments