diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 37803dfb..c5e267a6 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -36,7 +36,7 @@ jobs: run: sudo apt install libunwind-dev if: runner.os == 'Linux' - name: Build - run: cargo build --release --verbose --examples + run: cargo build --release --verbose --examples --all-features - uses: actions/setup-python@v4 with: python-version: 3.9 @@ -55,7 +55,7 @@ jobs: - name: Build Wheel run: | pip install --upgrade maturin - maturin build --release -o dist + maturin build --release -o dist --all-features if: runner.os != 'Linux' - name: Build Wheel - universal2 env: @@ -97,7 +97,7 @@ jobs: - name: Build run: | python3 -m pip install --upgrade maturin - maturin build --release -o dist --target $RUST_MUSL_CROSS_TARGET + maturin build --release -o dist --target $RUST_MUSL_CROSS_TARGET --all-features maturin sdist -o dist - name: Rename Wheels run: | @@ -174,7 +174,7 @@ jobs: matrix: python-version: [3.6.7, 3.6.15, 3.7.1, 3.7.17, 3.8.0, 3.8.18, 3.9.0, 3.9.20, 3.10.0, 3.10.1, 3.10.2, 3.10.3, 3.10.4, 3.10.5, 3.10.6, 3.10.7, 3.10.8, 3.10.9, 3.10.10, 3.10.11, 3.10.12, 3.10.13, 3.10.14, 3.10.15, 3.11.0, 3.11.1, 3.11.2, 3.11.3, 3.11.4, 3.11.5, 3.11.6, 3.11.7, 3.11.8, 3.11.9, 3.11.10] # TODO: also test windows - os: [ubuntu-20.04, macos-13] + os: [ubuntu-22.04, macos-13] # some versions of python can't be tested on GHA with osx because of SIP: exclude: - os: macos-13