tuning: fix thread counts #1328
Workflow file for this run
This file contains hidden or 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
| name: Conda Packages | |
| on: | |
| push: | |
| branches: | |
| - main | |
| - future/* | |
| - series/* | |
| pull_request: | |
| release: | |
| types: [published] | |
| concurrency: | |
| group: conda-test-${{github.ref}} | |
| cancel-in-progress: true | |
| jobs: | |
| conda-build: | |
| name: Build Conda packages on ${{matrix.platform}} | |
| runs-on: ${{matrix.platform}} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| platform: | |
| - ubuntu-latest | |
| - ubuntu-24.04-arm | |
| - macos-latest | |
| - macos-15-intel | |
| - windows-latest | |
| steps: | |
| - name: 🛒 Checkout | |
| uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| - name: 🏷️ Fetch Git tags | |
| run: git fetch --tags | |
| - name: Install mise-en-place | |
| uses: jdx/mise-action@v2 | |
| - name: Build LensKit source distribution | |
| id: source | |
| run: | | |
| uv sync --only-group=scripting -p 3.13 | |
| mise run version --github | |
| mise run build:dist -sd | |
| - name: 🔨 Build Conda packages | |
| uses: prefix-dev/rattler-build-action@v0.2.34 | |
| with: | |
| recipe-path: conda/recipe.yaml | |
| build-args: --noarch-build-platform linux-64 --output-dir dist/conda | |
| env: | |
| LK_PACKAGE_VERSION: ${{steps.source.outputs.version}} | |
| - name: Save package | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: conda-dist-${{matrix.platform}} | |
| path: dist/conda | |
| conda-upload: | |
| name: "Upload to prefix.dev" | |
| needs: conda-build | |
| runs-on: ubuntu-latest | |
| environment: prefix-dev | |
| if: github.event_name == 'push' || github.event_name == 'release' | |
| permissions: | |
| id-token: write | |
| steps: | |
| - name: Fetch Conda packages | |
| uses: actions/download-artifact@v4 | |
| with: | |
| pattern: conda-dist-* | |
| path: dist/conda | |
| merge-multiple: true | |
| - name: List Conda packages | |
| run: ls -R dist/conda | |
| - name: Install rattler-build | |
| uses: jaxxstorm/action-install-gh-release@v2.0.0 | |
| with: | |
| repo: prefix-dev/rattler-build | |
| - name: Upload dev package | |
| if: github.event_name == 'push' | |
| run: | | |
| rattler-build upload prefix --channel lenskit-dev dist/conda/*/*.conda | |
| - name: Upload release package | |
| if: github.event_name == 'release' | |
| run: | | |
| rattler-build upload prefix --channel lenskit dist/conda/*/*.conda |