readcon-core 0.14.0

An oxidized single and multiple CON file reader and writer with FFI bindings for ergonomic C/C++ usage.
Documentation
name: Fortran (fpm)

on:
  push:
    branches: [main]
  pull_request:
    branches: [main]
  workflow_dispatch:

jobs:
  fpm-chemfiles:
    runs-on: ubuntu-22.04
    steps:
      - uses: actions/checkout@v6
      - uses: dtolnay/rust-toolchain@stable
      - run: |
          sudo apt-get update && sudo apt-get install -y gfortran build-essential cmake
          curl -LO https://github.com/fortran-lang/fpm/releases/download/v0.10.1/fpm-0.10.1-linux-x86_64
          sudo install -m 755 fpm-0.10.1-linux-x86_64 /usr/local/bin/fpm
      - name: Fortran tests (chemfiles, lean metatensor stubs)
        run: READCON_FORTRAN_FEATURES=chemfiles bash scripts/run_fortran_tests.sh

  fpm-metatensor:
    runs-on: ubuntu-22.04
    steps:
      - uses: actions/checkout@v6
      - uses: dtolnay/rust-toolchain@stable
      - run: |
          sudo apt-get update && sudo apt-get install -y gfortran build-essential cmake
          curl -LO https://github.com/fortran-lang/fpm/releases/download/v0.10.1/fpm-0.10.1-linux-x86_64
          sudo install -m 755 fpm-0.10.1-linux-x86_64 /usr/local/bin/fpm
      - name: Fortran tests (chemfiles + metatensor C ABI)
        run: READCON_FORTRAN_FEATURES=chemfiles,metatensor bash scripts/run_fortran_tests.sh