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
|
make
|
||||||
./main
|
./main
|
||||||
|
|
||||||
# TODO: Disabled for now. Build path issues.
|
test-mingw-fetchcontent:
|
||||||
# test-mingw-fetchcontent:
|
runs-on: windows-2019
|
||||||
# runs-on: windows-2019
|
steps:
|
||||||
# steps:
|
- uses: actions/checkout@v2
|
||||||
# - uses: actions/checkout@v2
|
- name: test
|
||||||
# - name: test
|
run: |
|
||||||
# run: |
|
$tag=$(git rev-parse --abbrev-ref HEAD)
|
||||||
# $tag=$(git rev-parse --abbrev-ref HEAD)
|
cd ..
|
||||||
# cd ..
|
cp -Recurse cpptrace/test/fetchcontent-integration .
|
||||||
# cp -Recurse cpptrace/test/fetchcontent-integration .
|
mkdir fetchcontent-integration/build
|
||||||
# mkdir fetchcontent-integration/build
|
cd fetchcontent-integration/build
|
||||||
# cd fetchcontent-integration/build
|
cmake .. -DCMAKE_BUILD_TYPE=Debug -DCPPTRACE_TAG="$tag" -DCMAKE_BUILD_TYPE=g++ "-GUnix Makefiles"
|
||||||
# cmake .. -DCMAKE_BUILD_TYPE=Debug -DCPPTRACE_TAG="$tag" -DCMAKE_BUILD_TYPE=g++ "-GUnix Makefiles"
|
make
|
||||||
# make
|
.\main.exe
|
||||||
# .\main.exe
|
test-mingw-add_subdirectory:
|
||||||
# test-mingw-add_subdirectory:
|
runs-on: windows-2019
|
||||||
# runs-on: windows-2019
|
steps:
|
||||||
# steps:
|
- uses: actions/checkout@v2
|
||||||
# - uses: actions/checkout@v2
|
- name: test
|
||||||
# - name: test
|
run: |
|
||||||
# run: |
|
cd ..
|
||||||
# cd ..
|
cp -Recurse cpptrace/test/add_subdirectory-integration .
|
||||||
# cp -Recurse cpptrace/test/add_subdirectory-integration .
|
cp -Recurse cpptrace add_subdirectory-integration
|
||||||
# cp -Recurse cpptrace add_subdirectory-integration
|
mkdir add_subdirectory-integration/build
|
||||||
# mkdir add_subdirectory-integration/build
|
cd add_subdirectory-integration/build
|
||||||
# cd add_subdirectory-integration/build
|
cmake .. -DCMAKE_BUILD_TYPE=Debug -DCMAKE_BUILD_TYPE=g++ "-GUnix Makefiles"
|
||||||
# cmake .. -DCMAKE_BUILD_TYPE=Debug -DCMAKE_BUILD_TYPE=g++ "-GUnix Makefiles"
|
make
|
||||||
# make
|
.\main.exe
|
||||||
# .\main.exe
|
test-windows-fetchcontent:
|
||||||
# test-windows-fetchcontent:
|
runs-on: windows-2019
|
||||||
# runs-on: windows-2019
|
steps:
|
||||||
# steps:
|
- uses: actions/checkout@v2
|
||||||
# - uses: actions/checkout@v2
|
- name: Enable Developer Command Prompt
|
||||||
# - name: Enable Developer Command Prompt
|
uses: ilammy/msvc-dev-cmd@v1.10.0
|
||||||
# uses: ilammy/msvc-dev-cmd@v1.10.0
|
- name: test
|
||||||
# - name: test
|
run: |
|
||||||
# run: |
|
$tag=$(git rev-parse --abbrev-ref HEAD)
|
||||||
# $tag=$(git rev-parse --abbrev-ref HEAD)
|
cd ..
|
||||||
# cd ..
|
cp -Recurse cpptrace/test/fetchcontent-integration .
|
||||||
# cp -Recurse cpptrace/test/fetchcontent-integration .
|
mkdir fetchcontent-integration/build
|
||||||
# mkdir fetchcontent-integration/build
|
cd fetchcontent-integration/build
|
||||||
# cd fetchcontent-integration/build
|
cmake .. -DCMAKE_BUILD_TYPE=Debug -DCPPTRACE_TAG="$tag"
|
||||||
# cmake .. -DCMAKE_BUILD_TYPE=Debug -DCPPTRACE_TAG="$tag"
|
msbuild demo_project.sln
|
||||||
# msbuild demo_project.sln
|
.\Debug\main.exe
|
||||||
# .\Debug\main.exe
|
test-windows-add_subdirectory:
|
||||||
# test-windows-add_subdirectory:
|
runs-on: windows-2019
|
||||||
# runs-on: windows-2019
|
steps:
|
||||||
# steps:
|
- uses: actions/checkout@v2
|
||||||
# - uses: actions/checkout@v2
|
- name: Enable Developer Command Prompt
|
||||||
# - name: Enable Developer Command Prompt
|
uses: ilammy/msvc-dev-cmd@v1.10.0
|
||||||
# uses: ilammy/msvc-dev-cmd@v1.10.0
|
- name: test
|
||||||
# - name: test
|
run: |
|
||||||
# run: |
|
cd ..
|
||||||
# cd ..
|
cp -Recurse cpptrace/test/add_subdirectory-integration .
|
||||||
# cp -Recurse cpptrace/test/add_subdirectory-integration .
|
cp -Recurse cpptrace add_subdirectory-integration
|
||||||
# cp -Recurse cpptrace add_subdirectory-integration
|
mkdir add_subdirectory-integration/build
|
||||||
# mkdir add_subdirectory-integration/build
|
cd add_subdirectory-integration/build
|
||||||
# cd add_subdirectory-integration/build
|
cmake .. -DCMAKE_BUILD_TYPE=Debug
|
||||||
# cmake .. -DCMAKE_BUILD_TYPE=Debug
|
msbuild demo_project.sln
|
||||||
# msbuild demo_project.sln
|
.\Debug\main.exe
|
||||||
# .\Debug\main.exe
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user