Skip to content

Commit

Permalink
Merge pull request #94 from OpenSEMBA/dev
Browse files Browse the repository at this point in the history
Fixing automatic releases
  • Loading branch information
lmdiazangulo authored Dec 26, 2024
2 parents 55e4373 + 9629b8a commit bb53750
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 7 deletions.
1 change: 1 addition & 0 deletions .github/workflows/automatic-release-ubuntu-gnu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ jobs:

- name: Install required packages
run: |
sudo apt update
sudo apt install libhdf5-dev libopenmpi-dev
- name: Build application
Expand Down
26 changes: 19 additions & 7 deletions .github/workflows/automatic-release-windows-intelLLVM.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,12 @@ jobs:

builds-and-tests:
runs-on: windows-latest
strategy:
matrix:
build-type: ["Release"]
mpi: ["No"]
mtln: ["Yes"]
hdf: ["Yes"]

steps:

Expand All @@ -34,17 +40,23 @@ jobs:
- name: CMake build
shell: bash
run: |
.github/workflows/build_windows.bat
cmake -S . -B build -G Ninja \
-DCMAKE_BUILD_TYPE=${{matrix.build-type}} \
-DSEMBA_FDTD_ENABLE_MPI=${{matrix.mpi}} \
-DSEMBA_FDTD_ENABLE_HDF=${{matrix.hdf}} \
-DSEMBA_FDTD_ENABLE_MTLN=${{matrix.mtln}}
cmake --build build -j
- name: Run fdtd unit tests
run: |
build/bin/fdtd_tests.exe
- name: Install python wrapper requirements
run: |
python -m pip install -r requirements.txt
- name: Run all tests
shell: bash
timeout-minutes: 120
run: |
.github/workflows/run_tests_windows.bat
- name: Run all wrapper tests (except codemodel)
run: python -m pytest -m 'not codemodel' test/

- name: Get current date
id: date
Expand Down

0 comments on commit bb53750

Please sign in to comment.