Skip to content

Commit

Permalink
Introduce test for version
Browse files Browse the repository at this point in the history
  • Loading branch information
q-posev committed Oct 27, 2023
1 parent a4a4a8d commit 5cb0894
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 4 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,18 @@ jobs:
steps:
- uses: actions/checkout@e2f20e631ae6d7dd3b768f56a5d2af784dd54791

- name: check versions
run: |
grep AC_INIT configure.ac | tr -d '[]' | awk -F, '{ print $2 }' > configure_v
grep -w VERSION CMakeLists.txt | grep -v 'cmake_minimum_required' | awk '{ print $2 }' > cmake_v
grep version python/pytrexio/_version.py | tr -d '"' | awk '{ print $3 }' > python_v
grep version rust/trexio/Cargo.toml | grep -v features | tr -d '"' | awk '{ print $3 }' > rust_v
grep version ocaml/trexio/dune-project | tr -d '()' | awk '{ print $2 }' > ocaml_v
diff configure_v cmake_v
diff configure_v python_v
diff configure_v rust_v
diff configure_v ocaml_v
- name: install dependencies
run: |
sudo add-apt-repository ppa:kelleyk/emacs
Expand Down
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ cmake_minimum_required(VERSION 3.16)

# Initialize the CMake project.
project(Trexio
VERSION 2.4.2
VERSION 2.5.0
DESCRIPTION "TREX I/O library"
LANGUAGES C Fortran
)
Expand Down
2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# Process this file with autoconf to produce a configure script.

AC_PREREQ([2.69])
AC_INIT([trexio],[2.4.2],[https://github.com/TREX-CoE/trexio/issues])
AC_INIT([trexio],[2.5.0],[https://github.com/TREX-CoE/trexio/issues])

AC_CONFIG_SRCDIR([Makefile.in])
AC_CONFIG_HEADERS([include/config.h])
Expand Down
2 changes: 1 addition & 1 deletion ocaml/trexio/dune-project
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
(lang dune 3.1)

(name trexio)
(version 2.4.2)
(version 2.5.0)

(generate_opam_files false)

Expand Down
2 changes: 1 addition & 1 deletion rust/trexio/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "trexio"
version = "2.4.2"
version = "2.5.0"
edition = "2021"
license = "BSD-3-Clause"
authors = ["Anthony Scemama <[email protected]>", "Evgeny Posenitskiy"]
Expand Down

0 comments on commit 5cb0894

Please sign in to comment.