Skip to content

feat(starrocks): bring up a Sirius engine context in the CN #47

feat(starrocks): bring up a Sirius engine context in the CN

feat(starrocks): bring up a Sirius engine context in the CN #47

Workflow file for this run

# NOTICE - Actions permissions policy (Settings > Actions > General):
# - "Allow sirius-db, and select non-sirius-db, actions and reusable workflows"
# - Allow actions created by GitHub: YES (covers actions/*)
# - Allow actions by Marketplace verified creators: NO
# - Explicitly allowed third-party actions:
# prefix-dev/setup-pixi@*
# mozilla-actions/sccache-action@*
# - Require actions to be pinned to a full-length commit SHA: NO
#
# Adding a new action? You must:
# 1. Pin it to a full-length commit SHA (e.g. uses: owner/repo@<40-char-sha> # vX.Y.Z)
# 2. If it is not from sirius-db, GitHub, or the explicitly allowed third-party actions above, add it to the
# project-level allowlist above before merging
name: Experimental
on:
pull_request:
paths:
- 'experimental/**'
- '.github/workflows/experimental.yml'
merge_group:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
jobs:
starrocks:
name: starrocks
runs-on: ubuntu-24.04
defaults:
run:
working-directory: experimental/starrocks
steps:
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
with:
submodules: false
- name: Init starrocks submodules
working-directory: ${{ github.workspace }}
run: git submodule update --init --depth=1 experimental/starrocks/starrocks experimental/starrocks/brpc
- uses: prefix-dev/setup-pixi@5185adfbffb4bd703da3010310260805d89ebb11 # v0.9.6
with:
cache: false
pixi-version: v0.70.2
manifest-path: experimental/starrocks/pixi.toml
environments: cn
- name: fmt
run: pixi run -e cn cargo fmt --all -- --check
# The CN's `sirius-engine` feature is on by default but links a Sirius build
# tree (C++ toolchain + RAPIDS/CUDA) that this CI env does not have, so build
# the pure-Rust path here. The engine path is exercised on a GPU box via
# `pixi run cn-build` / `cn-test`.
- name: clippy
run: pixi run -e cn cargo clippy --all-targets --no-default-features -- -D warnings
- name: test
run: pixi run -e cn cargo test --workspace --no-default-features
experimental:
name: experimental
runs-on: ubuntu-24.04
needs: [starrocks]
if: always()
steps:
- name: All checks ok
if: ${{ needs.starrocks.result == 'success' }}
run: exit 0
- name: Some checks failed
if: ${{ needs.starrocks.result != 'success' }}
run: exit 1