Elffuss BraidHub

kikocis/lancedb public

ci: change to use github runner (#1708)

Use github runner
Changesete241c31f237f51ab0fb261dd6e89bcf7ff3675af86d3df6f0d3903d35c3f48a7
AuthorLei Xu <lei@lancedb.com> · 2024-09-27 17:53 -07:00
CommitterGitHub <noreply@github.com> · 2024-09-27 17:53 -07:00
Parents48defa119d65

Browse the files at this changeset

2 files changed

modified .github/workflows/docs_test.yml +2 −2
@@ -24,7 +24,7 @@
2424 jobs:
2525 test-python:
2626 name: Test doc python code
27- runs-on: "warp-ubuntu-latest-x64-4x"
27+ runs-on: ubuntu-24.04
2828 steps:
2929 - name: Checkout
3030 uses: actions/checkout@v4
@@ -60,7 +60,7 @@
6060 for d in *; do cd "$d"; echo "$d".py; python "$d".py; cd ..; done
6161 test-node:
6262 name: Test doc nodejs code
63- runs-on: "warp-ubuntu-latest-x64-4x"
63+ runs-on: ubuntu-24.04
6464 timeout-minutes: 60
6565 strategy:
6666 fail-fast: false
modified .github/workflows/rust.yml +13 −7
@@ -26,14 +26,14 @@
2626 jobs:
2727 lint:
2828 timeout-minutes: 30
29- runs-on: ubuntu-22.04
29+ runs-on: ubuntu-24.04
3030 defaults:
3131 run:
3232 shell: bash
3333 env:
3434 # Need up-to-date compilers for kernels
35- CC: gcc-12
36- CXX: g++-12
35+ CC: clang-18
36+ CXX: clang++-18
3737 steps:
3838 - uses: actions/checkout@v4
3939 with:
@@ -53,17 +53,17 @@
5353 linux:
5454 timeout-minutes: 30
5555 # To build all features, we need more disk space than is available
56- # on the GitHub-provided runner. This is mostly due to the the
56+ # on the free OSS github runner. This is mostly due to the the
5757 # sentence-transformers feature.
58- runs-on: warp-ubuntu-latest-x64-4x
58+ runs-on: ubuntu-2404-4x-x64
5959 defaults:
6060 run:
6161 shell: bash
6262 working-directory: rust
6363 env:
6464 # Need up-to-date compilers for kernels
65- CC: gcc-12
66- CXX: g++-12
65+ CC: clang-18
66+ CXX: clang++-18
6767 steps:
6868 - uses: actions/checkout@v4
6969 with:
@@ -76,6 +76,12 @@
7676 run: |
7777 sudo apt update
7878 sudo apt install -y protobuf-compiler libssl-dev
79+ - name: Make Swap
80+ run: |
81+ sudo fallocate -l 16G /swapfile
82+ sudo chmod 600 /swapfile
83+ sudo mkswap /swapfile
84+ sudo swapon /swapfile
7985 - name: Start S3 integration test environment
8086 working-directory: .
8187 run: docker compose up --detach --wait