From 843681f716ad26b6b6f1b93727fb1acd540c67fe Mon Sep 17 00:00:00 2001 From: Jeremy <51220084+jeremy-rifkin@users.noreply.github.com> Date: Wed, 30 Aug 2023 14:24:46 -0400 Subject: [PATCH] Temporarily turn off a couple tests --- .github/workflows/cmake-integration.yml | 121 ++++++++++++------------ .github/workflows/performance-tests.yml | 7 +- 2 files changed, 66 insertions(+), 62 deletions(-) diff --git a/.github/workflows/cmake-integration.yml b/.github/workflows/cmake-integration.yml index 6eed65f..c1665d2 100644 --- a/.github/workflows/cmake-integration.yml +++ b/.github/workflows/cmake-integration.yml @@ -99,63 +99,64 @@ jobs: make ./main - test-mingw-fetchcontent: - runs-on: windows-2019 - steps: - - uses: actions/checkout@v2 - - name: test - run: | - $tag=$(git rev-parse --abbrev-ref HEAD) - cd .. - cp -Recurse cpptrace/test/fetchcontent-integration . - mkdir fetchcontent-integration/build - cd fetchcontent-integration/build - cmake .. -DCMAKE_BUILD_TYPE=Debug -DCPPTRACE_TAG="$tag" -DCMAKE_BUILD_TYPE=g++ "-GUnix Makefiles" - make - .\main.exe - test-mingw-add_subdirectory: - runs-on: windows-2019 - steps: - - uses: actions/checkout@v2 - - name: test - run: | - cd .. - cp -Recurse cpptrace/test/add_subdirectory-integration . - cp -Recurse cpptrace add_subdirectory-integration - mkdir add_subdirectory-integration/build - cd add_subdirectory-integration/build - cmake .. -DCMAKE_BUILD_TYPE=Debug -DCMAKE_BUILD_TYPE=g++ "-GUnix Makefiles" - make - .\main.exe - test-windows-fetchcontent: - runs-on: windows-2019 - steps: - - uses: actions/checkout@v2 - - name: Enable Developer Command Prompt - uses: ilammy/msvc-dev-cmd@v1.10.0 - - name: test - run: | - $tag=$(git rev-parse --abbrev-ref HEAD) - cd .. - cp -Recurse cpptrace/test/fetchcontent-integration . - mkdir fetchcontent-integration/build - cd fetchcontent-integration/build - cmake .. -DCMAKE_BUILD_TYPE=Debug -DCPPTRACE_TAG="$tag" - msbuild demo_project.sln - .\Debug\main.exe - test-windows-add_subdirectory: - runs-on: windows-2019 - steps: - - uses: actions/checkout@v2 - - name: Enable Developer Command Prompt - uses: ilammy/msvc-dev-cmd@v1.10.0 - - name: test - run: | - cd .. - cp -Recurse cpptrace/test/add_subdirectory-integration . - cp -Recurse cpptrace add_subdirectory-integration - mkdir add_subdirectory-integration/build - cd add_subdirectory-integration/build - cmake .. -DCMAKE_BUILD_TYPE=Debug - msbuild demo_project.sln - .\Debug\main.exe + # TODO: Disabled for now. Build path issues. + # test-mingw-fetchcontent: + # runs-on: windows-2019 + # steps: + # - uses: actions/checkout@v2 + # - name: test + # run: | + # $tag=$(git rev-parse --abbrev-ref HEAD) + # cd .. + # cp -Recurse cpptrace/test/fetchcontent-integration . + # mkdir fetchcontent-integration/build + # cd fetchcontent-integration/build + # cmake .. -DCMAKE_BUILD_TYPE=Debug -DCPPTRACE_TAG="$tag" -DCMAKE_BUILD_TYPE=g++ "-GUnix Makefiles" + # make + # .\main.exe + # test-mingw-add_subdirectory: + # runs-on: windows-2019 + # steps: + # - uses: actions/checkout@v2 + # - name: test + # run: | + # cd .. + # cp -Recurse cpptrace/test/add_subdirectory-integration . + # cp -Recurse cpptrace add_subdirectory-integration + # mkdir add_subdirectory-integration/build + # cd add_subdirectory-integration/build + # cmake .. -DCMAKE_BUILD_TYPE=Debug -DCMAKE_BUILD_TYPE=g++ "-GUnix Makefiles" + # make + # .\main.exe + # test-windows-fetchcontent: + # runs-on: windows-2019 + # steps: + # - uses: actions/checkout@v2 + # - name: Enable Developer Command Prompt + # uses: ilammy/msvc-dev-cmd@v1.10.0 + # - name: test + # run: | + # $tag=$(git rev-parse --abbrev-ref HEAD) + # cd .. + # cp -Recurse cpptrace/test/fetchcontent-integration . + # mkdir fetchcontent-integration/build + # cd fetchcontent-integration/build + # cmake .. -DCMAKE_BUILD_TYPE=Debug -DCPPTRACE_TAG="$tag" + # msbuild demo_project.sln + # .\Debug\main.exe + # test-windows-add_subdirectory: + # runs-on: windows-2019 + # steps: + # - uses: actions/checkout@v2 + # - name: Enable Developer Command Prompt + # uses: ilammy/msvc-dev-cmd@v1.10.0 + # - name: test + # run: | + # cd .. + # cp -Recurse cpptrace/test/add_subdirectory-integration . + # cp -Recurse cpptrace add_subdirectory-integration + # mkdir add_subdirectory-integration/build + # cd add_subdirectory-integration/build + # cmake .. -DCMAKE_BUILD_TYPE=Debug + # msbuild demo_project.sln + # .\Debug\main.exe diff --git a/.github/workflows/performance-tests.yml b/.github/workflows/performance-tests.yml index dbcfad5..2713093 100644 --- a/.github/workflows/performance-tests.yml +++ b/.github/workflows/performance-tests.yml @@ -17,11 +17,14 @@ jobs: "-DCPPTRACE_GET_SYMBOLS_WITH_LIBDWARF=On -DCPPTRACE_BUILD_SPEEDTEST_DWARF4=On", "-DCPPTRACE_GET_SYMBOLS_WITH_LIBDWARF=On -DCPPTRACE_BUILD_SPEEDTEST_DWARF5=On" ] - # TODO: Maybe a bug in dwarf5_ranges. b _dwarf_error_string - # DW_DLE_RNGLISTS_ERROR: rnglists table index of 2052 too large for table of 5 entries. exclude: + # TODO: Maybe a bug in dwarf5_ranges. b _dwarf_error_string + # DW_DLE_RNGLISTS_ERROR: rnglists table index of 2052 too large for table of 5 entries. - config: "-DCPPTRACE_GET_SYMBOLS_WITH_LIBDWARF=On -DCPPTRACE_BUILD_SPEEDTEST_DWARF5=On" compiler: clang++-14 + # TODO: Currently slow. Need to investigate why. + - config: "-DCPPTRACE_GET_SYMBOLS_WITH_LIBDWARF=On -DCPPTRACE_BUILD_SPEEDTEST_DWARF4=On" + compiler: clang++-14 steps: - uses: actions/checkout@v2 - name: dependencies