Skip to content

Commit

Permalink
path cdb?
Browse files Browse the repository at this point in the history
  • Loading branch information
ax3l committed Jan 3, 2023
1 parent caa181f commit 4e77578
Showing 1 changed file with 13 additions and 5 deletions.
18 changes: 13 additions & 5 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ jobs:
with:
python-version: '3.x'
- uses: seanmiddleditch/gha-setup-ninja@master

- name: Build & Install
run: |
python3 -m pip install -U pip setuptools wheel pytest
Expand All @@ -62,13 +63,20 @@ jobs:
llvm-objdump -p "C:\Program Files (x86)\pyAMReX\bin\amrex.dll"
- name: Add debugger to the PATH
shell: bash
run: |
echo "C:\\Program Files (x86)\\Windows Kits\\10\\Debuggers\\x64" >> $GITHUB_PATH
- name: Add install .dll location to the PATH
shell: bash
run: |
echo "C:\\Program Files (x86)\\pyAMReX\\bin" >> $GITHUB_PATH
- name: Unit tests
run: |
$env:Path += "C:\Program Files (x86)\pyAMReX\bin"
$env:Path += "C:\Program Files (x86)\Windows Kits\10\Debuggers\x64\"
(Get-Command ctest).Path
gflags /i C:\hostedtoolcache\windows\Python\3.11.1\x64\Scripts\ctest.exe +sls
cdb -c "g;q" ctest --test-dir build -C Debug --output-on-failure
Get-Childitem -Path C:\Program Files (x86)\* -Recurse -Filter "*python311.dll, *amrex.dll, *MSVCP140D.dll, KERNEL32.dll, VCRUNTIME140D.dll, VCRUNTIME140_1D.dll, ucrtbased.dll"
# gflags /i C:\hostedtoolcache\windows\Python\3.11.1\x64\Scripts\ctest.exe +sls
# Get-Childitem -Path C:\Program Files (x86)\* -Recurse -Filter "*python311.dll, *amrex.dll, *MSVCP140D.dll, KERNEL32.dll, VCRUNTIME140D.dll, VCRUNTIME140_1D.dll, ucrtbased.dll"

0 comments on commit 4e77578

Please sign in to comment.