diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 37cda778..812b99ae 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -12,7 +12,7 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - os: [macos-latest, ubuntu-latest] + os: [macos-latest, ubuntu-latest, windows-latest] python_version: ["3.8", "3.9", "3.10"] defaults: diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 5a56acef..35399241 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -38,29 +38,29 @@ jobs: name: wheels path: dist - # windows: - # runs-on: windows-latest - # strategy: - # matrix: - # target: [x64, x86] - # steps: - # - uses: actions/checkout@v3 - # - uses: actions/setup-python@v4 - # with: - # python-version: "3.10" - # architecture: ${{ matrix.target }} - # - name: Build wheels - # uses: PyO3/maturin-action@v1 - # with: - # target: ${{ matrix.target }} - # args: --release --out dist --find-interpreter - # sccache: "true" - # rust-toolchain: nightly - # - name: Upload wheels - # uses: actions/upload-artifact@v3 - # with: - # name: wheels - # path: dist + windows: + runs-on: windows-latest + strategy: + matrix: + target: [x64, x86] + steps: + - uses: actions/checkout@v3 + - uses: actions/setup-python@v4 + with: + python-version: "3.10" + architecture: ${{ matrix.target }} + - name: Build wheels + uses: PyO3/maturin-action@v1 + with: + target: ${{ matrix.target }} + args: --release --out dist --find-interpreter + sccache: "true" + rust-toolchain: nightly + - name: Upload wheels + uses: actions/upload-artifact@v3 + with: + name: wheels + path: dist macos: runs-on: macos-latest diff --git a/conda/environment.yml b/conda/environment.yml index f6eecada..4f995ab7 100644 --- a/conda/environment.yml +++ b/conda/environment.yml @@ -1,9 +1,8 @@ name: av2 channels: - - pytorch - - conda-forge/label/rust_dev - conda-forge dependencies: + - conda-forge/label/rust_dev::rust - av - click - joblib @@ -22,7 +21,6 @@ dependencies: - pyarrow - pyproj - rich - - rust - scipy - pytorch - tqdm diff --git a/rust/src/lib.rs b/rust/src/lib.rs index 58c242c0..26c3abef 100644 --- a/rust/src/lib.rs +++ b/rust/src/lib.rs @@ -5,6 +5,9 @@ #![warn(missing_docs)] #![warn(missing_doc_code_examples)] +#[cfg(feature = "blas")] +extern crate blas_src; + pub mod constants; pub mod data_loader; pub mod geometry;