Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
70 changes: 13 additions & 57 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,9 @@ jobs:
python-lint:
name: "Python (lint)"
runs-on:
- runs-on=${{ github.run_id }}
- runs-on=${{ github.run_id }}/image=vortex-ci-amd64
- family=m7i+m7i-flex+m7a
- cpu=16
- image=ubuntu24-full-x64
- extras=s3-cache
- tag=python-lint
timeout-minutes: 120
Expand Down Expand Up @@ -72,10 +71,9 @@ jobs:
python-test:
name: "Python (test)"
runs-on:
- runs-on=${{ github.run_id }}
- runs-on=${{ github.run_id }}/image=vortex-ci-amd64
- family=m7i+m7i-flex+m7a
- cpu=16
- image=ubuntu24-full-x64
- extras=s3-cache
- tag=python-test
timeout-minutes: 120
Expand Down Expand Up @@ -156,20 +154,16 @@ jobs:
name: "Rust (docs)"
timeout-minutes: 120
runs-on:
- runs-on=${{ github.run_id }}
- runs-on=${{ github.run_id }}/image=vortex-ci-amd64
- family=m7i+m7i-flex+m7a
- cpu=8
- image=ubuntu24-full-x64
- extras=s3-cache
- tag=rust-docs
steps:
- uses: runs-on/action@v2
with:
sccache: s3
- uses: actions/checkout@v6
- uses: ./.github/actions/setup-rust
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
- name: Docs
run: |
RUSTDOCFLAGS="-D warnings" cargo doc --no-deps
Expand All @@ -180,10 +174,9 @@ jobs:
name: "Rust build (${{matrix.config.name}})"
timeout-minutes: 120
runs-on:
- runs-on=${{ github.run_id }}
- runs-on=${{ github.run_id }}/image=vortex-ci-amd64
- family=m7i+m7i-flex+m7a
- cpu=8
- image=ubuntu24-full-x64
- extras=s3-cache
- tag=${{ matrix.config.name }}
env:
Expand Down Expand Up @@ -213,14 +206,9 @@ jobs:
with:
sccache: s3
- uses: actions/checkout@v6
- uses: ./.github/actions/setup-rust
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
- name: Install wasm32 target
if: ${{ matrix.config.target == 'wasm32-unknown-unknown' }}
run: rustup target add wasm32-unknown-unknown
- name: Install cargo-hack
uses: taiki-e/install-action@cargo-hack
- name: Rust Build (${{matrix.config.name}})
run: ${{matrix.config.env.rustflags}} cargo hack ${{matrix.config.command}} --locked ${{matrix.config.args}} --ignore-private
- name: "Make sure no files changed after build"
Expand All @@ -232,43 +220,32 @@ jobs:
name: "Check build with minimal dependencies"
timeout-minutes: 120
runs-on:
- runs-on=${{ github.run_id }}
- runs-on=${{ github.run_id }}/image=vortex-ci-amd64
- family=m7i+m7i-flex+m7a
- cpu=8
- image=ubuntu24-full-x64
- extras=s3-cache
- tag=rust-min-deps
steps:
- uses: runs-on/action@v2
with:
sccache: s3
- uses: actions/checkout@v6
- uses: ./.github/actions/setup-rust
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
- uses: taiki-e/install-action@cargo-hack
- uses: taiki-e/install-action@cargo-minimal-versions
- run: cargo minimal-versions check --direct --workspace --ignore-private

rust-lint:
name: "Rust (lint)"
timeout-minutes: 120
runs-on:
- runs-on=${{ github.run_id }}
- runs-on=${{ github.run_id }}/image=vortex-ci-amd64
- family=m7i+m7i-flex+m7a
- cpu=16
- image=ubuntu24-full-x64
- extras=s3-cache
- tag=rust-lint
steps:
- uses: runs-on/action@v2
with:
sccache: s3
- uses: actions/checkout@v6
- uses: ./.github/actions/setup-rust
with:
toolchain: nightly
repo-token: ${{ secrets.GITHUB_TOKEN }}
- name: Rust Lint - Format
run: cargo +nightly fmt --all --check
- name: Rustc check
Expand All @@ -280,26 +257,21 @@ jobs:
- name: Rust Lint - Clippy Default Features
run: cargo clippy --locked --all-targets -- -D warnings


rust-lint-no-default:
name: "Rust (lint, no default)"
timeout-minutes: 120
runs-on:
- runs-on=${{ github.run_id }}
- runs-on=${{ github.run_id }}/image=vortex-ci-amd64
- family=m7i+m7i-flex+m7a
- cpu=16
- image=ubuntu24-full-x64
- extras=s3-cache
- tag=rust-lint-no-default
steps:
- uses: runs-on/action@v2
with:
sccache: s3
- uses: actions/checkout@v6
- uses: ./.github/actions/setup-rust
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
- name: Install cargo-hack
uses: taiki-e/install-action@cargo-hack
- name: Rust Lint - Clippy No Default Features
shell: bash
run: |
Expand Down Expand Up @@ -355,10 +327,9 @@ jobs:
- tpc-h
- ffi
runs-on:
- runs-on=${{ github.run_id }}
- runs-on=${{ github.run_id }}/image=vortex-ci-amd64
- family=m7i+m7i-flex+m7a
- cpu=16
- image=ubuntu24-full-x64
- extras=s3-cache
- tag=rust-coverage
- tag=suite-${{ matrix.suite }}
Expand All @@ -372,15 +343,6 @@ jobs:
with:
sccache: s3
- uses: actions/checkout@v6
- uses: ./.github/actions/setup-rust
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
- name: Install grcov
uses: taiki-e/install-action@grcov
- name: Install nextest
uses: taiki-e/install-action@v2
with:
tool: nextest
- name: Rust Tests
if: ${{ matrix.suite == 'tests' }}
run: |
Expand All @@ -395,8 +357,6 @@ jobs:
run: |
cargo build -p vortex-ffi
cargo run -p vortex-ffi --example hello_vortex
- name: Install llvm-tools-preview
run: rustup component add llvm-tools-preview
- name: Generate coverage report
run: |
grcov . --binary-path target/debug/ -s . -t lcov --llvm --ignore-not-existing \
Expand All @@ -421,10 +381,9 @@ jobs:
name: "Rust tests (sanitizer)"
timeout-minutes: 120
runs-on:
- runs-on=${{ github.run_id }}
- runs-on=${{ github.run_id }}/image=vortex-ci-amd64
- family=m7i+m7i-flex+m7a
- cpu=16
- image=ubuntu24-full-x64
- extras=s3-cache
- tag=rust-test-sanitizer
env:
Expand Down Expand Up @@ -531,10 +490,9 @@ jobs:
build-java:
name: "Java"
runs-on:
- runs-on=${{ github.run_id }}
- runs-on=${{ github.run_id }}/image=vortex-ci-amd64
- family=m7i+m7i-flex+m7a
- cpu=16
- image=ubuntu24-full-x64
- extras=s3-cache
- tag=java
timeout-minutes: 120
Expand Down Expand Up @@ -568,10 +526,9 @@ jobs:
name: "Benchmark with Codspeed (Shard #${{ matrix.shard }})"
timeout-minutes: 120
runs-on:
- runs-on=${{ github.run_id }}
- runs-on=${{ github.run_id }}/image=vortex-ci-amd64
- family=c7i.8xlarge
- extras=s3-cache
- image=ubuntu24-full-x64
- tag=bench-codspeed-${{ matrix.shard }}
steps:
- uses: runs-on/action@v2
Expand Down Expand Up @@ -615,10 +572,9 @@ jobs:
name: "C++ build"
timeout-minutes: 120
runs-on:
- runs-on=${{ github.run_id }}
- runs-on=${{ github.run_id }}/image=vortex-ci-amd64
- family=m7i+m7i-flex+m7a
- cpu=8
- image=ubuntu24-full-x64
- extras=s3-cache
- tag=cxx-build
steps:
Expand Down
Loading