Skip to content

Commit

Permalink
fix(ci): run in ubuntu 22.04 container
Browse files Browse the repository at this point in the history
  • Loading branch information
McPatate committed Nov 6, 2023
1 parent 9509f72 commit 5356748
Show file tree
Hide file tree
Showing 3 changed files with 72 additions and 70 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ concurrency:
jobs:
testbed:
runs-on: [self-hosted, intel-cpu, 8-cpu, ci]
container:
image: ubuntu:22.04
steps:
- name: Checkout repository
uses: actions/checkout@v4
Expand Down
70 changes: 35 additions & 35 deletions crates/testbed/repositories-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -92,41 +92,41 @@ repositories:
- ["starlette-venv/bin/python3", ["-m", "pip", "install", "--upgrade", "pip"]]
- ["starlette-venv/bin/python3", ["-m", "pip", "install", "-r", "requirements.txt"]]
holes_file: starlette-smol.json
# - source:
# type: github
# owner: lancedb
# name: lancedb
# revision: 682e95fa8388d5839c8a782063beb307c4fca4bc
# src_path: rust/vectordb/src
# build_command: cargo
# build_args: ["build"]
# language: rust
# runner: cargo
# # this is to avoid skewing the average hole completion time
# setup_commands:
# - ["cargo", ["build"]]
# holes_file: lancedb-smol.json
# - source:
# type: github
# owner: lancedb
# name: lance
# revision: 4f7fb490c6b36a659b2c40b3945b4d533356acf2
# src_path: rust
# exclude_paths:
# - .cargo
# - .vscode
# - .gitignore
# - README.md
# - img.png
# build_command: cargo
# build_args: ["build", "--all-features"]
# language: rust
# runner: cargo
# runner_extra_args: ["--all-features"]
# # this is to avoid skewing the average hole completion time
# setup_commands:
# - ["cargo", ["build", "--all-features"]]
# holes_file: lance-smol.json
- source:
type: github
owner: lancedb
name: lancedb
revision: 682e95fa8388d5839c8a782063beb307c4fca4bc
src_path: rust/vectordb/src
build_command: cargo
build_args: ["build"]
language: rust
runner: cargo
# this is to avoid skewing the average hole completion time
setup_commands:
- ["cargo", ["build"]]
holes_file: lancedb-smol.json
- source:
type: github
owner: lancedb
name: lance
revision: 4f7fb490c6b36a659b2c40b3945b4d533356acf2
src_path: rust
exclude_paths:
- .cargo
- .vscode
- .gitignore
- README.md
- img.png
build_command: cargo
build_args: ["build", "--all-features"]
language: rust
runner: cargo
runner_extra_args: ["--all-features"]
# this is to avoid skewing the average hole completion time
setup_commands:
- ["cargo", ["build", "--all-features"]]
holes_file: lance-smol.json
- source:
type: github
owner: tkaitchuck
Expand Down
70 changes: 35 additions & 35 deletions crates/testbed/repositories.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -92,41 +92,41 @@ repositories:
- ["starlette-venv/bin/python3", ["-m", "pip", "install", "--upgrade", "pip"]]
- ["starlette-venv/bin/python3", ["-m", "pip", "install", "-r", "requirements.txt"]]
holes_file: starlette.json
# - source:
# type: github
# owner: lancedb
# name: lancedb
# revision: 682e95fa8388d5839c8a782063beb307c4fca4bc
# src_path: rust/vectordb/src
# build_command: cargo
# build_args: ["build"]
# language: rust
# runner: cargo
# # this is to avoid skewing the average hole completion time
# setup_commands:
# - ["cargo", ["build"]]
# holes_file: lancedb.json
# - source:
# type: github
# owner: lancedb
# name: lance
# revision: 4f7fb490c6b36a659b2c40b3945b4d533356acf2
# src_path: rust
# exclude_paths:
# - .cargo
# - .vscode
# - .gitignore
# - README.md
# - img.png
# build_command: cargo
# build_args: ["build", "--all-features"]
# language: rust
# runner: cargo
# runner_extra_args: ["--all-features"]
# # this is to avoid skewing the average hole completion time
# setup_commands:
# - ["cargo", ["build", "--all-features"]]
# holes_file: lance.json
- source:
type: github
owner: lancedb
name: lancedb
revision: 682e95fa8388d5839c8a782063beb307c4fca4bc
src_path: rust/vectordb/src
build_command: cargo
build_args: ["build"]
language: rust
runner: cargo
# this is to avoid skewing the average hole completion time
setup_commands:
- ["cargo", ["build"]]
holes_file: lancedb.json
- source:
type: github
owner: lancedb
name: lance
revision: 4f7fb490c6b36a659b2c40b3945b4d533356acf2
src_path: rust
exclude_paths:
- .cargo
- .vscode
- .gitignore
- README.md
- img.png
build_command: cargo
build_args: ["build", "--all-features"]
language: rust
runner: cargo
runner_extra_args: ["--all-features"]
# this is to avoid skewing the average hole completion time
setup_commands:
- ["cargo", ["build", "--all-features"]]
holes_file: lance.json
- source:
type: github
owner: tkaitchuck
Expand Down

0 comments on commit 5356748

Please sign in to comment.