Skip to content

Commit bb53750

Browse files
authored
Merge pull request #94 from OpenSEMBA/dev
Fixing automatic releases
2 parents 55e4373 + 9629b8a commit bb53750

File tree

2 files changed

+20
-7
lines changed

2 files changed

+20
-7
lines changed

.github/workflows/automatic-release-ubuntu-gnu.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ jobs:
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

.github/workflows/automatic-release-windows-intelLLVM.yml

Lines changed: 19 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,12 @@ jobs:
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

0 commit comments

Comments
 (0)