Skip to content

Commit

Permalink
github: add a workflow for building scylla with seastar
Browse files Browse the repository at this point in the history
Signed-off-by: Kefu Chai <[email protected]>
  • Loading branch information
tchaikov committed Jun 5, 2024
1 parent ba3da04 commit 17fd0e4
Showing 1 changed file with 47 additions and 0 deletions.
47 changes: 47 additions & 0 deletions .github/workflows/scylla.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
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:
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

0 comments on commit 17fd0e4

Please sign in to comment.