Skip to content

Commit

Permalink
Fix Windows artifact; include qrack_cl_precompile
Browse files Browse the repository at this point in the history
  • Loading branch information
WrathfulSpatula committed Jun 18, 2024
1 parent 6bc3378 commit 0aa5ee6
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,9 @@ jobs:
- name: Build Wheel
run: |
mkdir pyqrack/qrack_system/qrack_lib
mkdir pyqrack/qrack_system/qrack_cl_precompile
cp qrack/build/libqrack_pinvoke.* pyqrack/qrack_system/qrack_lib/
cp qrack/build/qrack_cl_precompile pyqrack/qrack_system/qrack_cl_precompile/
python setup.py bdist_wheel --plat-name=${{ matrix.platform }}
- name: Upload Artifacts
Expand Down Expand Up @@ -135,12 +137,14 @@ jobs:
powershell -c "Invoke-WebRequest -Uri 'https://github.com/ckormanyos/xxd/releases/download/v1.1/xxd-win64-msvc.zip' -OutFile 'xxd-win64-msvc.zip'"
powershell -c "Expand-Archive -Path xxd-win64-msvc.zip -DestinationPath ."
cmake .. -DCMAKE_TOOLCHAIN_FILE="C:/vcpkg/scripts/buildsystems/vcpkg.cmake" -DXXD_BIN="xxd.exe" -DQBCAPPOW=12 -DCPP_STD=14
cmake --build . --config Release --target qrack_invoke
cmake --build . --config Release --target qrack_pinvoke qrack_cl_precompile
- name: Build Wheel
run: |
mkdir pyqrack/qrack_system/qrack_lib
mkdir pyqrack/qrack_system/qrack_cl_precompile
copy qrack/build/Release/qrack_pinvoke.dll pyqrack/qrack_system/qrack_lib/
copy qrack/build/Release/qrack_cl_precomple.exe pyqrack/qrack_system/qrack_cl_precompile/
python setup.py bdist_wheel --plat-name=${{ matrix.platform }}
- name: Upload Artifacts
Expand Down

0 comments on commit 0aa5ee6

Please sign in to comment.