Skip to content

Commit

Permalink
refactor CMake build (#900)
Browse files Browse the repository at this point in the history
* refactor CMake build

Signed-off-by: albert <92109627+Albkat@users.noreply.github.com>

some update

Signed-off-by: albert <92109627+Albkat@users.noreply.github.com>

refactor CMake build

Signed-off-by: albert <92109627+Albkat@users.noreply.github.com>

* Update CMakeLists.txt

* allow cmake v 3.17 or newer

---------

Signed-off-by: albert <92109627+Albkat@users.noreply.github.com>
  • Loading branch information
Albkat committed Nov 22, 2023
1 parent 9a76e94 commit fc056d1
Show file tree
Hide file tree
Showing 10 changed files with 336 additions and 290 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/fortran-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,15 +73,15 @@ jobs:

steps:
- name: Checkout code
uses: actions/checkout@v3

uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: 3.x

- name: Install CMake
run: pip3 install ninja cmake==3.26.4
run: pip3 install ninja cmake

- name: Configure build
run: cmake -B ${{ env.BUILD_DIR }} -G Ninja
Expand Down Expand Up @@ -157,7 +157,7 @@ jobs:
python-version: 3.x

- name: Install CMake
run: pip3 install ninja cmake==3.26.4
run: pip3 install ninja cmake

- name: Configure build
run: cmake -B ${{ env.BUILD_DIR }} -DWITH_CPCMX=false -DWITH_TBLITE=false -G Ninja
Expand Down
Loading

0 comments on commit fc056d1

Please sign in to comment.