Skip to content

Commit

Permalink
Merge pull request #168 from behdadebsh/unstrained-rad-exp
Browse files Browse the repository at this point in the history
Frequency domain output file
  • Loading branch information
behdadebsh authored Nov 29, 2024
2 parents d27a7c0 + faa7a43 commit 500ff7c
Show file tree
Hide file tree
Showing 2 changed files with 1,262 additions and 181 deletions.
28 changes: 22 additions & 6 deletions .github/workflows/build_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ jobs:
matrix:
config:
- {
name: "Windows 2019 MSVC",
name: "Windows 2022 MSVC",
build_type: "Release",
os: windows-2019,
os: windows-2022,
}
- {
name: "Ubuntu 20.04",
Expand All @@ -35,9 +35,16 @@ jobs:
os: ubuntu-20.04,
}
- {
name: "macOS Big Sur 11",
name: "macOS Ventura",
build_type: "Release",
os: macos-11,
os: macos-13,
gfortran: gfortran-13,
}
- {
name: "macOS Sonoma",
build_type: "Release",
os: macos-14,
gfortran: gfortran-14,
}
steps:
# Useful for debugging dll load issues.
Expand Down Expand Up @@ -115,7 +122,7 @@ jobs:
# run: scripts/cache_exclude_windows.ps1

- name: Checkout lungsim
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
path: lungsim

Expand Down Expand Up @@ -143,6 +150,11 @@ jobs:
shell: bash
run: sudo apt-get install libsuperlu-dev

- name: Install SWIG
if: runner.os == 'macOS'
shell: bash
run: brew install swig

- name: Create virtual environment
shell: cmake -P {0}
id: create-venv
Expand Down Expand Up @@ -185,6 +197,7 @@ jobs:
if: runner.os == 'Windows'
run: |
cmake -S lungsim -B build-lungsim -D CMAKE_Fortran_COMPILER="%INTEL_COMPILER_BIN_PATH:\=/%/ifort.exe" -D AETHER_ENABLE_TESTS=FALSE -D Python_EXECUTABLE=${{ steps.create-venv.outputs.python_exe }}
- name: Generate build instructions - Linux
shell: bash
if: runner.os == 'Linux'
Expand All @@ -196,17 +209,19 @@ jobs:
-D AETHER_ENABLE_TESTS=FALSE \
-D CMAKE_BUILD_TYPE=${{ matrix.config.build_type }} \
-D Python_EXECUTABLE=${{ steps.create-venv.outputs.python_exe }}
- name: Generate build instructions - macOS
shell: bash
if: runner.os == 'macOS'
run: |
cmake \
-S lungsim \
-B build-lungsim \
-D CMAKE_Fortran_COMPILER=gfortran-10 \
-D CMAKE_Fortran_COMPILER=${{ matrix.config.gfortran }} \
-D AETHER_ENABLE_TESTS=FALSE \
-D CMAKE_BUILD_TYPE=${{ matrix.config.build_type }} \
-D Python_EXECUTABLE=${{ steps.create-venv.outputs.python_exe }}
- name: Build lungsim
shell: cmake -P {0}
run: |
Expand All @@ -227,6 +242,7 @@ jobs:
message("::error::${error_message}")
message(FATAL_ERROR "Build failed.")
endif()
- name: Test lungsim
shell: bash
run: |
Expand Down
Loading

0 comments on commit 500ff7c

Please sign in to comment.