diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1b54c28..24ace91 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -8,19 +8,19 @@ jobs: matrix: os: [ubuntu-latest, macos-latest, windows-latest] toolchain: - - { compiler: gcc, version: 13 } - - { compiler: intel, version: 2024.1 } - - { compiler: intel-classic, version: 2021.10 } + - { compiler: gcc, version: "13" } + - { compiler: intel, version: "2024.1" } + - { compiler: intel-classic, version: "2021.12" } exclude: - os: macos-latest - toolchain: { compiler: intel, version: 2024.1 } - - os: windows-latest - toolchain: { compiler: intel, version: 2024.1 } - - os: windows-latest - toolchain: { intel-classic, version: 2021.10 } + toolchain: { compiler: intel, version: "2024.1" } + - os: macos-latest + toolchain: { compiler: intel-classic, version: "2021.12" } include: + - os: macos-latest + toolchain: { compiler: intel-classic, version: "2021.10" } - os: ubuntu-latest - toolchain: { compiler: nvidia-hpc, version: 23.11 } + toolchain: { compiler: nvidia-hpc, version: "23.11" } runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v4 @@ -40,15 +40,16 @@ jobs: matrix: os: [ubuntu-latest, macos-latest] toolchain: - - { compiler: gcc, version: 13 } - - { compiler: intel, version: 2023.2 } - - { compiler: intel-classic, version: 2021.10 } - - { compiler: nvidia-hpc, version: 23.11 } - exclude: - - os: macos-latest - toolchain: { compiler: intel, version: 2023.2 } + - { compiler: gcc, version: "13" } + include: + - os: ubuntu-latest + toolchain: { compiler: intel, version: "2024.1" } + - os: ubuntu-latest + toolchain: { compiler: intel-classic, version: "2021.12" } - os: macos-latest - toolchain: { compiler: nvidia-hpc, version: 23.11 } + toolchain: { compiler: intel-classic, version: "2021.10" } + - os: ubuntu-latest + toolchain: { compiler: nvidia-hpc, version: "23.11" } runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v4 diff --git a/README.md b/README.md index 6e1fe0e..20e00c5 100644 --- a/README.md +++ b/README.md @@ -46,6 +46,8 @@ make This will generate the static library `libversion-f.a` in the root directory. You can compile it alongside your project or link it using the `-L` and `-l` flags. +A dynamic library will also be created for use in your projects (suffix `.so` on Linux systems and `.dylib` on macOS). + If you wish to use a compiler other than `gfortran`, simply specify it by running: ```bash diff --git a/example/ex1.f90 b/example/version_f_ex1.f90 similarity index 100% rename from example/ex1.f90 rename to example/version_f_ex1.f90 diff --git a/example/ex2.f90 b/example/version_f_ex2.f90 similarity index 100% rename from example/ex2.f90 rename to example/version_f_ex2.f90