Skip to content

Commit

Permalink
Python: Test After Install
Browse files Browse the repository at this point in the history
Calling `os.add_dll_directory()` injection is too complicated for now.
https://bugs.python.org/issue43173
  • Loading branch information
ax3l committed Sep 7, 2022
1 parent dd64b5f commit 4b40866
Showing 1 changed file with 11 additions and 15 deletions.
26 changes: 11 additions & 15 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,16 +46,14 @@ jobs:
if(!$?) { Exit $LASTEXITCODE }
cmake --build build --config RelWithDebInfo --parallel 2
if(!$?) { Exit $LASTEXITCODE }
- name: Test
run: |
ctest --test-dir build --build-config RelWithDebInfo --output-on-failure -E AMReX -R py
if(!$?) { Exit $LASTEXITCODE }
- name: Install
- name: Install Python
run: |
cmake --build build --config RelWithDebInfo --target install
if(!$?) { Exit $LASTEXITCODE }
cmake --build build --config RelWithDebInfo --target pip_install
if(!$?) { Exit $LASTEXITCODE }
- name: Test
run: |
ctest --test-dir build --build-config RelWithDebInfo --output-on-failure -E AMReX -R py
if(!$?) { Exit $LASTEXITCODE }
build_win_clang:
name: Clang C++17 w/ OMP w/o MPI
Expand Down Expand Up @@ -102,16 +100,14 @@ jobs:
if errorlevel 1 exit 1
cmake --build build --config Release --parallel 2
if errorlevel 1 exit 1
- name: Test
- name: Install Python
shell: cmd
run: |
call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\vc\Auxiliary\build\vcvarsall.bat" x64
ctest --test-dir build --build-config Release --output-on-failure -E AMReX -R py
cmake --build build --config Release --target pip_install
if errorlevel 1 exit 1
- name: Install
- name: Test
shell: cmd
run: |
cmake --build build --config Release --target install
if errorlevel 1 exit 1
cmake --build build --config Release --target pip_install
if errorlevel 1 exit 1
call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\vc\Auxiliary\build\vcvarsall.bat" x64
ctest --test-dir build --build-config Release --output-on-failure -E AMReX -R py
if errorlevel 1 exit 1

0 comments on commit 4b40866

Please sign in to comment.