Skip to content

Commit

Permalink
Merge pull request #399 from Goddard-Fortran-Ecosystem/hotfix/mathomp…
Browse files Browse the repository at this point in the history
…4/pin-cmake-version

Pin CI to use CMake 3.24.3
  • Loading branch information
mathomp4 authored Nov 28, 2022
2 parents 0e6c8de + a9f3b3b commit 28fcbf6
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 2 deletions.
15 changes: 13 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,10 @@ jobs:
if: matrix.os == 'ubuntu-22.04' && matrix.compiler == 'gfortran-12'
run: |
sudo apt-get install gfortran-12 -y
# There is a bug between pFUnit and CMake 3.25.0 which is in ubuntu-latest.
# For now, we grab CMake 3.24.3
- name: Get specific version CMake, v3.24.3
uses: lukka/get-cmake@v3.24.3
- name: Compiler Versions
run: |
${FC} --version
Expand Down Expand Up @@ -92,11 +96,13 @@ jobs:
mkdir -p build
cd build
cmake ..
make -j$(nproc)
make
#make -j$(nproc)
- name: Build Tests
run: |
cd build
make -j$(nproc) build-tests
make build-tests
#make -j$(nproc) build-tests
- name: Run Tests
run: |
cd build
Expand All @@ -121,6 +127,10 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v3
# There is a bug between pFUnit and CMake 3.25.0 which is in ubuntu-latest.
# For now, we grab CMake 3.24.3
- name: Get specific version CMake, v3.24.3
uses: lukka/get-cmake@v3.24.3
- name: Install Intel compilers
run: |
cd /tmp
Expand All @@ -137,6 +147,7 @@ jobs:
${FC} --version
${CC} --version
mpirun --version
cmake --version
- name: Build pFUnit
run: |
mkdir -p build
Expand Down
4 changes: 4 additions & 0 deletions ChangeLog.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

### Fixed

- Fix GitHub CI workflow by pinning to CMake 3.24.3

## [4.6.1] - 2022-11-15

### Fixed
Expand Down

0 comments on commit 28fcbf6

Please sign in to comment.