Skip to content

Ubuntu old LTS fixes #197

Ubuntu old LTS fixes

Ubuntu old LTS fixes #197

Workflow file for this run

name: Dependency matrix
on:
workflow_dispatch:
pull_request:
branches: [main]
paths:
- "flake.nix"
- "flake.lock"
- ".github/workflows/dependencies.yml"
jobs:
qdrant-rustup:
strategy:
fail-fast: false
matrix:
package: [ qdrant ]
target: [
x86_64-unknown-linux-gnu,
x86_64-apple-darwin,
aarch64-apple-darwin,
x86_64-pc-windows-msvc
]
include:
- target: x86_64-unknown-linux-gnu
os: ubuntu-20.04
cross: false
- target: x86_64-apple-darwin
os: macos-11
cross: false
- target: aarch64-apple-darwin
os: macos-11
cross: true
- target: x86_64-pc-windows-msvc
os: windows-latest
cross: false
runs-on: ${{ matrix.os }}
steps:
- name: Install Rust stable
uses: dtolnay/rust-toolchain@stable
with:
toolchain: 1.70.0
target: ${{ matrix.target }}
- name: Install Protoc
uses: arduino/setup-protoc@v2
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
- name: Build qdrant
env:
VERSION: 1.6.1
run: |
cargo install --target ${{ matrix.target }} --git https://github.com/qdrant/qdrant --tag v${{ env.VERSION }} --root . qdrant
- name: Upload binaries
uses: actions/upload-artifact@v3
with:
name: "${{ matrix.package }}_${{ matrix.target }}"
path: bin