-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Fix py.typed file path in installation script The install script was updated to correct the relative path of the py.typed file. This ensures the file is properly included in the installation process, aligning with project requirements. * Add Libalgebra_lite to project dependencies Included Libalgebra_lite in the list of linked libraries in CMakeLists.txt to support necessary algebraic computations. This ensures proper functionality and integration with the project's requirements. * Fix incorrect install destination for Python files The Python source files are now installed in the correct `roughpy` directory instead of the project root. This ensures proper package structure and resolves issues with module imports. * Refactor Python module installation to top-level CMakeLists. Moved Python module installation logic from `roughpy/CMakeLists.txt` to the main `CMakeLists.txt` for better organization and clarity. This ensures all installation steps are consolidated and improves maintainability of the build configuration. * Fix py.typed installation path in CMake configuration Updated the path for the py.typed file to include the correct directory, ensuring proper installation. This resolves potential issues with type hinting in package deployments. * Update Python packaging rules in CMakeLists.txt Adjusted the install command to ensure `py.typed` is included correctly by matching patterns. This change ensures proper packaging of Python-related files while excluding unnecessary source directories. * Update CI workflows to improve Windows support and build tools Upgraded Windows runner to windows-2022 and added missing setup steps for Windows builds, including msbuild, ninja, and pkgconfig. Standardized CMake generator to "Ninja" across workflows for consistency. Removed redundant "use ninja" step in tests.yml for cleanup. * "Remove redundant blank lines in build_wheels.yml" Cleaned up unnecessary blank lines in the GitHub Actions workflow file. This improves readability and maintains consistency in the file structure. * Remove unused dependency on boost-stacktrace Boost-stacktrace was unnecessary and has been removed to streamline the dependency list. This change reduces potential overhead and improves maintainability. * Refactor vcpkg setup and remove OS-specific dependencies. Simplified the script by removing OS-specific dependency installations and unused Mono setup. Updated `vcpkg` cloning to target the `tools/vcpkg` directory and streamlined the bootstrap process. Unused and commented-out token-based binary caching logic was also removed.
- Loading branch information
1 parent
02b5f22
commit a742cec
Showing
6 changed files
with
50 additions
and
68 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -72,7 +72,7 @@ jobs: | |
matrix: | ||
os: | ||
- ubuntu-latest | ||
- windows-2019 | ||
- windows-2022 | ||
- macos-13 # Uses x64 | ||
- macos-14 # Uses Apple Silicon | ||
|
||
|
@@ -89,6 +89,24 @@ jobs: | |
core.exportVariable('ACTIONS_CACHE_URL', process.env.ACTIONS_CACHE_URL || ''); | ||
core.exportVariable('ACTIONS_RUNTIME_TOKEN', process.env.ACTIONS_RUNTIME_TOKEN || ''); | ||
- name: Setup msbuild on Windows | ||
if: runner.os == 'Windows' | ||
uses: microsoft/setup-msbuild@v2 | ||
|
||
- name: Setup ninja on Windows | ||
if: runner.os == 'Windows' | ||
uses: ashutoshvarma/[email protected] | ||
|
||
- name: Enable developer command prompt | ||
if: runner.os == 'Windows' | ||
uses: ilammy/msvc-dev-cmd@v1 | ||
|
||
- name: install pkgconfig on windows | ||
if: runner.os == 'Windows' | ||
shell: bash | ||
run: | | ||
choco install pkgconfiglite | ||
- name: Install build deps on MacOs | ||
if: runner.os == 'macOs' | ||
run: brew install autoconf automake libtool m4 ninja | ||
|
@@ -98,18 +116,19 @@ jobs: | |
env: | ||
MACOSX_DEPLOYMENT_TARGET: 11.0.0 | ||
GITHUB_TOK: "${{ secrets.GITHUB_TOKEN }}" | ||
CMAKE_GENERATOR: "Ninja" | ||
|
||
- uses: actions/upload-artifact@v4 | ||
with: | ||
name: cibw-wheels-${{ matrix.os }}-${{ strategy.job-index }} | ||
path: ./wheelhouse/*.whl | ||
|
||
|
||
|
||
publish: | ||
|
||
runs-on: ubuntu-latest | ||
needs: [ build_wheels, build_sdist ] | ||
if: ${{ github.event_name == 'push' }} | ||
|
||
steps: | ||
- name: Setup Python | ||
uses: actions/setup-python@v5 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters