Temporarily turn off a couple tests

This commit is contained in:
Jeremy 2023-08-30 14:24:46 -04:00
parent 6ed6e623ed
commit 843681f716
No known key found for this signature in database
GPG Key ID: 19AA8270105E8EB4
2 changed files with 66 additions and 62 deletions

View File

@ -99,63 +99,64 @@ jobs:
make make
./main ./main
test-mingw-fetchcontent: # TODO: Disabled for now. Build path issues.
runs-on: windows-2019 # test-mingw-fetchcontent:
steps: # runs-on: windows-2019
- uses: actions/checkout@v2 # steps:
- name: test # - uses: actions/checkout@v2
run: | # - name: test
$tag=$(git rev-parse --abbrev-ref HEAD) # run: |
cd .. # $tag=$(git rev-parse --abbrev-ref HEAD)
cp -Recurse cpptrace/test/fetchcontent-integration . # cd ..
mkdir fetchcontent-integration/build # cp -Recurse cpptrace/test/fetchcontent-integration .
cd fetchcontent-integration/build # mkdir fetchcontent-integration/build
cmake .. -DCMAKE_BUILD_TYPE=Debug -DCPPTRACE_TAG="$tag" -DCMAKE_BUILD_TYPE=g++ "-GUnix Makefiles" # cd fetchcontent-integration/build
make # cmake .. -DCMAKE_BUILD_TYPE=Debug -DCPPTRACE_TAG="$tag" -DCMAKE_BUILD_TYPE=g++ "-GUnix Makefiles"
.\main.exe # make
test-mingw-add_subdirectory: # .\main.exe
runs-on: windows-2019 # test-mingw-add_subdirectory:
steps: # runs-on: windows-2019
- uses: actions/checkout@v2 # steps:
- name: test # - uses: actions/checkout@v2
run: | # - name: test
cd .. # run: |
cp -Recurse cpptrace/test/add_subdirectory-integration . # cd ..
cp -Recurse cpptrace add_subdirectory-integration # cp -Recurse cpptrace/test/add_subdirectory-integration .
mkdir add_subdirectory-integration/build # cp -Recurse cpptrace add_subdirectory-integration
cd add_subdirectory-integration/build # mkdir add_subdirectory-integration/build
cmake .. -DCMAKE_BUILD_TYPE=Debug -DCMAKE_BUILD_TYPE=g++ "-GUnix Makefiles" # cd add_subdirectory-integration/build
make # cmake .. -DCMAKE_BUILD_TYPE=Debug -DCMAKE_BUILD_TYPE=g++ "-GUnix Makefiles"
.\main.exe # make
test-windows-fetchcontent: # .\main.exe
runs-on: windows-2019 # test-windows-fetchcontent:
steps: # runs-on: windows-2019
- uses: actions/checkout@v2 # steps:
- name: Enable Developer Command Prompt # - uses: actions/checkout@v2
uses: ilammy/msvc-dev-cmd@v1.10.0 # - name: Enable Developer Command Prompt
- name: test # uses: ilammy/msvc-dev-cmd@v1.10.0
run: | # - name: test
$tag=$(git rev-parse --abbrev-ref HEAD) # run: |
cd .. # $tag=$(git rev-parse --abbrev-ref HEAD)
cp -Recurse cpptrace/test/fetchcontent-integration . # cd ..
mkdir fetchcontent-integration/build # cp -Recurse cpptrace/test/fetchcontent-integration .
cd fetchcontent-integration/build # mkdir fetchcontent-integration/build
cmake .. -DCMAKE_BUILD_TYPE=Debug -DCPPTRACE_TAG="$tag" # cd fetchcontent-integration/build
msbuild demo_project.sln # cmake .. -DCMAKE_BUILD_TYPE=Debug -DCPPTRACE_TAG="$tag"
.\Debug\main.exe # msbuild demo_project.sln
test-windows-add_subdirectory: # .\Debug\main.exe
runs-on: windows-2019 # test-windows-add_subdirectory:
steps: # runs-on: windows-2019
- uses: actions/checkout@v2 # steps:
- name: Enable Developer Command Prompt # - uses: actions/checkout@v2
uses: ilammy/msvc-dev-cmd@v1.10.0 # - name: Enable Developer Command Prompt
- name: test # uses: ilammy/msvc-dev-cmd@v1.10.0
run: | # - name: test
cd .. # run: |
cp -Recurse cpptrace/test/add_subdirectory-integration . # cd ..
cp -Recurse cpptrace add_subdirectory-integration # cp -Recurse cpptrace/test/add_subdirectory-integration .
mkdir add_subdirectory-integration/build # cp -Recurse cpptrace add_subdirectory-integration
cd add_subdirectory-integration/build # mkdir add_subdirectory-integration/build
cmake .. -DCMAKE_BUILD_TYPE=Debug # cd add_subdirectory-integration/build
msbuild demo_project.sln # cmake .. -DCMAKE_BUILD_TYPE=Debug
.\Debug\main.exe # msbuild demo_project.sln
# .\Debug\main.exe

View File

@ -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_DWARF4=On",
"-DCPPTRACE_GET_SYMBOLS_WITH_LIBDWARF=On -DCPPTRACE_BUILD_SPEEDTEST_DWARF5=On" "-DCPPTRACE_GET_SYMBOLS_WITH_LIBDWARF=On -DCPPTRACE_BUILD_SPEEDTEST_DWARF5=On"
] ]
exclude:
# TODO: Maybe a bug in dwarf5_ranges. b _dwarf_error_string # 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. # DW_DLE_RNGLISTS_ERROR: rnglists table index of 2052 too large for table of 5 entries.
exclude:
- config: "-DCPPTRACE_GET_SYMBOLS_WITH_LIBDWARF=On -DCPPTRACE_BUILD_SPEEDTEST_DWARF5=On" - config: "-DCPPTRACE_GET_SYMBOLS_WITH_LIBDWARF=On -DCPPTRACE_BUILD_SPEEDTEST_DWARF5=On"
compiler: clang++-14 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: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- name: dependencies - name: dependencies