mirror of
https://github.com/TREX-CoE/trexio.git
synced 2024-08-24 22:21:43 +02:00
Introduce test for version
This commit is contained in:
parent
a4a4a8d29c
commit
5cb0894cb2
12
.github/workflows/actions.yml
vendored
12
.github/workflows/actions.yml
vendored
@ -39,6 +39,18 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@e2f20e631ae6d7dd3b768f56a5d2af784dd54791
|
- 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
|
- name: install dependencies
|
||||||
run: |
|
run: |
|
||||||
sudo add-apt-repository ppa:kelleyk/emacs
|
sudo add-apt-repository ppa:kelleyk/emacs
|
||||||
|
@ -4,7 +4,7 @@ cmake_minimum_required(VERSION 3.16)
|
|||||||
|
|
||||||
# Initialize the CMake project.
|
# Initialize the CMake project.
|
||||||
project(Trexio
|
project(Trexio
|
||||||
VERSION 2.4.2
|
VERSION 2.5.0
|
||||||
DESCRIPTION "TREX I/O library"
|
DESCRIPTION "TREX I/O library"
|
||||||
LANGUAGES C Fortran
|
LANGUAGES C Fortran
|
||||||
)
|
)
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
# Process this file with autoconf to produce a configure script.
|
# Process this file with autoconf to produce a configure script.
|
||||||
|
|
||||||
AC_PREREQ([2.69])
|
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_SRCDIR([Makefile.in])
|
||||||
AC_CONFIG_HEADERS([include/config.h])
|
AC_CONFIG_HEADERS([include/config.h])
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
(lang dune 3.1)
|
(lang dune 3.1)
|
||||||
|
|
||||||
(name trexio)
|
(name trexio)
|
||||||
(version 2.4.2)
|
(version 2.5.0)
|
||||||
|
|
||||||
(generate_opam_files false)
|
(generate_opam_files false)
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "trexio"
|
name = "trexio"
|
||||||
version = "2.4.2"
|
version = "2.5.0"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
license = "BSD-3-Clause"
|
license = "BSD-3-Clause"
|
||||||
authors = ["Anthony Scemama <scemama@irsamc.ups-tlse.fr>", "Evgeny Posenitskiy"]
|
authors = ["Anthony Scemama <scemama@irsamc.ups-tlse.fr>", "Evgeny Posenitskiy"]
|
||||||
|
Loading…
Reference in New Issue
Block a user