mirror of
https://github.com/TREX-CoE/trexio.git
synced 2025-01-03 01:56:13 +01: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:
|
||||
- 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
|
||||
|
@ -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
|
||||
)
|
||||
|
@ -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])
|
||||
|
@ -1,7 +1,7 @@
|
||||
(lang dune 3.1)
|
||||
|
||||
(name trexio)
|
||||
(version 2.4.2)
|
||||
(version 2.5.0)
|
||||
|
||||
(generate_opam_files false)
|
||||
|
||||
|
@ -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"]
|
||||
|
Loading…
Reference in New Issue
Block a user