From 28efdc00d1ab0c7d0a605ff89bb815201b393002 Mon Sep 17 00:00:00 2001 From: Kyle Shores Date: Mon, 17 Jun 2024 10:48:12 -0500 Subject: [PATCH] fixing gcc memory leak, removing 2019 msvc github action --- .github/workflows/windows.yml | 28 ------------------- .../test_tuvx_api.F90 | 3 ++ 2 files changed, 3 insertions(+), 28 deletions(-) diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index 60b9f93d..4920a85e 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -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 diff --git a/fortran/test/fetch_content_integration/test_tuvx_api.F90 b/fortran/test/fetch_content_integration/test_tuvx_api.F90 index a84fe516..ec9dc4c0 100644 --- a/fortran/test/fetch_content_integration/test_tuvx_api.F90 +++ b/fortran/test/fetch_content_integration/test_tuvx_api.F90 @@ -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 @@ -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