From 44acb08ea9cd8a2f2a43ae57f403d63ca28105d3 Mon Sep 17 00:00:00 2001 From: Wilson Snyder Date: Sat, 8 Jun 2024 19:36:50 -0400 Subject: [PATCH] Tests: Commentary - enable msbuild debug --- ci/ci-win-compile.ps1 | 13 +++++++++++++ ci/ci-win-test.ps1 | 15 +++++++++++++++ 2 files changed, 28 insertions(+) diff --git a/ci/ci-win-compile.ps1 b/ci/ci-win-compile.ps1 index e4146b033..d5a469fd4 100644 --- a/ci/ci-win-compile.ps1 +++ b/ci/ci-win-compile.ps1 @@ -1,3 +1,15 @@ +# DESCRIPTION: Verilator: CI Windows Power Shell - Compile Verilator +# +# Copyright 2024 by Wilson Snyder. This program is free software; you +# can redistribute it and/or modify it under the terms of either the GNU +# Lesser General Public License Version 3 or the Perl Artistic License +# Version 2.0. +# +# SPDX-License-Identifier: LGPL-3.0-only OR Artistic-2.0 +################################################################################ + +Set-PSDebug -Trace 1 + if (-Not (Test-Path $PWD/../.ccache/win_bison.exe)) { git clone --depth 1 https://github.com/lexxmark/winflexbison cd winflexbison @@ -8,6 +20,7 @@ if (-Not (Test-Path $PWD/../.ccache/win_bison.exe)) { cmake --install . --prefix $PWD/../../../.ccache cd ../.. } + mkdir build cd build cmake .. --install-prefix $PWD/../install diff --git a/ci/ci-win-test.ps1 b/ci/ci-win-test.ps1 index 1406126d6..7f4ad9e44 100644 --- a/ci/ci-win-test.ps1 +++ b/ci/ci-win-test.ps1 @@ -1,3 +1,16 @@ +# DESCRIPTION: Verilator: CI Windows Power Shell - Verilate a test +# +# Copyright 2024 by Wilson Snyder. This program is free software; you +# can redistribute it and/or modify it under the terms of either the GNU +# Lesser General Public License Version 3 or the Perl Artistic License +# Version 2.0. +# +# SPDX-License-Identifier: LGPL-3.0-only OR Artistic-2.0 +################################################################################ + + +Set-PSDebug -Trace 1 + cd install $Env:VERILATOR_ROOT=$PWD cd examples/cmake_tracing_c @@ -5,6 +18,8 @@ mkdir build cd build cmake .. cmake --build . --config Release -j 3 + Release/example.exe + cd .. Remove-Item -path build -recurse