File tree Expand file tree Collapse file tree 2 files changed +20
-7
lines changed
Expand file tree Collapse file tree 2 files changed +20
-7
lines changed Original file line number Diff line number Diff line change 2222
2323 - name : Install required packages
2424 run : |
25+ sudo apt update
2526 sudo apt install libhdf5-dev libopenmpi-dev
2627
2728 - name : Build application
Original file line number Diff line number Diff line change 99
1010 builds-and-tests :
1111 runs-on : windows-latest
12+ strategy :
13+ matrix :
14+ build-type : ["Release"]
15+ mpi : ["No"]
16+ mtln : ["Yes"]
17+ hdf : ["Yes"]
1218
1319 steps :
1420
@@ -34,17 +40,23 @@ jobs:
3440 - name : CMake build
3541 shell : bash
3642 run : |
37- .github/workflows/build_windows.bat
38-
43+ cmake -S . -B build -G Ninja \
44+ -DCMAKE_BUILD_TYPE=${{matrix.build-type}} \
45+ -DSEMBA_FDTD_ENABLE_MPI=${{matrix.mpi}} \
46+ -DSEMBA_FDTD_ENABLE_HDF=${{matrix.hdf}} \
47+ -DSEMBA_FDTD_ENABLE_MTLN=${{matrix.mtln}}
48+ cmake --build build -j
49+
50+ - name : Run fdtd unit tests
51+ run : |
52+ build/bin/fdtd_tests.exe
53+
3954 - name : Install python wrapper requirements
4055 run : |
4156 python -m pip install -r requirements.txt
4257
43- - name : Run all tests
44- shell : bash
45- timeout-minutes : 120
46- run : |
47- .github/workflows/run_tests_windows.bat
58+ - name : Run all wrapper tests (except codemodel)
59+ run : python -m pytest -m 'not codemodel' test/
4860
4961 - name : Get current date
5062 id : date
You can’t perform that action at this time.
0 commit comments