Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 8 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ "ubuntu-latest", "macos-latest", "macos-14" ]
os: [ "ubuntu-latest", "macos-latest", "macos-14", "windows-latest" ]
python-version: [ "3.10", "3.11", "3.12", "3.13" ]
steps:
- name: checkout
Expand All @@ -44,7 +44,7 @@ jobs:
cd test/ci_tests
python utests.py
- name: check import
if: failure()
if: failure() && runner.os != 'Windows'
run: |
python -m pip show wrf-python
python -m pip show --files wrf-python
Expand All @@ -56,3 +56,9 @@ jobs:
file ${installed_files}
python -vvv -dd -c "import wrf"
ldd $(echo ${installed_files} | grep -F -v -e ".py" -e ".dist-info")
- name: check import (Windows)
if: failure() && runner.os == 'Windows'
run: |
python -m pip show wrf-python
python -m pip show --files wrf-python
python -vvv -dd -c "import wrf"
3 changes: 2 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,8 @@ else()
add_custom_command(
OUTPUT "${CMAKE_CURRENT_BINARY_DIR}/fortran/omp.f90"
DEPENDS "${CMAKE_SOURCE_DIR}/fortran/ompgen.F90"
COMMAND ${CMAKE_Fortran_COMPILER} -E fortran/ompgen.F90 -o fortran/omp.f90 -cpp
COMMAND ${CMAKE_Fortran_COMPILER} -E "${CMAKE_SOURCE_DIR}/fortran/ompgen.F90"
-o "${CMAKE_CURRENT_BINARY_DIR}/fortran/omp.f90" -cpp
)
endif()

Expand Down