Re-enable windows cmake integration tests
This commit is contained in:
parent
ac95720789
commit
01d0fef78f
121
.github/workflows/cmake-integration.yml
vendored
121
.github/workflows/cmake-integration.yml
vendored
@ -99,64 +99,63 @@ jobs:
|
||||
make
|
||||
./main
|
||||
|
||||
# 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
|
||||
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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user