1
0
mirror of https://github.com/TREX-CoE/trexio.git synced 2024-07-22 10:47:43 +02:00

Introduce test for version

This commit is contained in:
Evgeny Posenitskiy 2023-10-27 13:07:48 +02:00 committed by GitHub
parent a4a4a8d29c
commit 5cb0894cb2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 16 additions and 4 deletions

View File

@ -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

View File

@ -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
)

View File

@ -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])

View File

@ -1,7 +1,7 @@
(lang dune 3.1)
(name trexio)
(version 2.4.2)
(version 2.5.0)
(generate_opam_files false)

View File

@ -1,6 +1,6 @@
[package]
name = "trexio"
version = "2.4.2"
version = "2.5.0"
edition = "2021"
license = "BSD-3-Clause"
authors = ["Anthony Scemama <scemama@irsamc.ups-tlse.fr>", "Evgeny Posenitskiy"]