Skip to content

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

github: add a workflow for building scylla with seastar

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

Workflow file for this run

name: Build Scylla
on:
push:
branches:
- 'master'
- 'scylla'
schedule:
# only at 5AM Saturday
- cron: '0 5 * * SAT'
permissions: {}
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build-scylla:
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: |
git fetch origin master
git reset --hard origin/master
- 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