Skip to content

github: add a workflow for building scylla with seastar #2

github: add a workflow for building scylla with seastar

github: add a workflow for building scylla with seastar #2

Workflow file for this run

name: Build Scylla
on:
push:
- 'master'
schedule:
# only at 5AM Saturday
- cron: '0 5 * * SAT'
permissions: {}
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build-scylla:
name: Run clang-tidy
runs-on: ubuntu-latest
container: fedora:40
steps:
- run: |
sudo dnf -y install git
- uses: actions/checkout@v4
with:
repository: scylladb/scylladb
submodules: true
- name: update seastar submodule
run: |
export GIT_EDITOR=true
./scripts/refresh-submodules.sh seastar
- name: Install build dependencies
run: |
sudo ./install-dependencies.sh
- name: Generate the building system
run: |
cmake \
-DCMAKE_BUILD_TYPE=$BUILD_TYPE \
-DCMAKE_C_COMPILER=clang \
-DCMAKE_CXX_COMPILER=clang++ \
-G Ninja \
-B $BUILD_DIR \
-S .
- run: |
cmake --build $BUILD_DIR --target scylla