Skip to content

Commit

Permalink
fixing gcc memory leak, removing 2019 msvc github action
Browse files Browse the repository at this point in the history
  • Loading branch information
K20shores committed Jun 17, 2024
1 parent f2d03ba commit 28efdc0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 28 deletions.
28 changes: 0 additions & 28 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,34 +40,6 @@ jobs:
cd build
ctest -C Debug --rerun-failed --output-on-failure . --verbose
msvc2019:
runs-on: windows-2019
continue-on-error: true
strategy:
matrix:
build_type: [Release]
architecture: [Win32, x64]

steps:
- uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v5
if: ${{ matrix.architecture == 'Win32' }}
with:
python-version: '3.x'
architecture: x86
- run: pip install -r python/requirements.txt

- name: Run CMake
run: cmake -S . -B build -G "Visual Studio 16 2019" -A ${{ matrix.architecture }} -DCMAKE_BUILD_TYPE=${{ matrix.build_type }} -D MUSICA_ENABLE_TUVX=OFF -D MUSICA_ENABLE_PYTHON_LIBRARY=ON

- name: Build
run: cmake --build build --config ${{ matrix.build_type }} --parallel

- name: Test
run: cd build ; ctest -j 10 -C ${{ matrix.build_type }} --output-on-failure

msvc2022:
runs-on: windows-2022
continue-on-error: true
Expand Down
3 changes: 3 additions & 0 deletions fortran/test/fetch_content_integration/test_tuvx_api.F90
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ subroutine test_tuvx_api()
tuvx => tuvx_t(config_path, error)
ASSERT( error%is_success() )

deallocate( tuvx )

end subroutine test_tuvx_api

! Invalid tuvx solver creation test
Expand Down Expand Up @@ -91,6 +93,7 @@ subroutine test_tuvx_solve()
! call tuvx%solve( grids, profiles, radiators, photo_rates )

deallocate( tuvx )
deallocate( grid )

end subroutine test_tuvx_solve

Expand Down

0 comments on commit 28efdc0

Please sign in to comment.