Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 20 additions & 1 deletion .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,29 @@ jobs:
build-combined:
name: Combined build and test
runs-on: windows-2022
permissions:
packages: write
env:
VCPKG_BINARY_SOURCES: "clear;x-gha,readwrite"
USERNAME: FEniCS
VCPKG_EXE: C:/vcpkg/vcpkg
FEED_URL: https://nuget.pkg.github.com/FEniCS/index.json
VCPKG_BINARY_SOURCES: "clear;nuget,https://nuget.pkg.github.com/FEniCS/index.json,readwrite"

steps:
- name: Add NuGet sources
shell: pwsh
run: |
.$(${{ env.VCPKG_EXE }} fetch nuget) `
sources add `
-Source "${{ env.FEED_URL }}" `
-StorePasswordInClearText `
-Name GitHubPackages `
-UserName "${{ env.USERNAME }}" `
-Password "${{ secrets.GITHUB_TOKEN }}"
.$(${{ env.VCPKG_EXE }} fetch nuget) `
setapikey "${{ secrets.GITHUB_TOKEN }}" `
-Source "${{ env.FEED_URL }}"

- uses: actions/checkout@v5

- name: Export GitHub Actions cache environment variables
Expand Down
4 changes: 4 additions & 0 deletions python/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -81,3 +81,7 @@ else()
endif()

install(TARGETS _basixcpp LIBRARY DESTINATION basix)

# and the nanobind typing stubs.
nanobind_add_stub(_basixcpp_stub MODULE _basixcpp OUTPUT $<TARGET_FILE_DIR:_basixcpp>/_basixcpp.pyi MARKER_FILE $<TARGET_FILE_DIR:_basixcpp>/py.typed PYTHON_PATH $<TARGET_FILE_DIR:_basixcpp> DEPENDS _basixcpp)
install(FILES $<TARGET_FILE_DIR:_basixcpp>/py.typed $<TARGET_FILE_DIR:_basixcpp>/_basixcpp.pyi DESTINATION basix)
Loading
Loading