-
Notifications
You must be signed in to change notification settings - Fork 300
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat ci: add alpine build #769
Closed
Closed
Changes from all commits
Commits
Show all changes
28 commits
Select commit
Hold shift + click to select a range
85aa104
alpine
segoon 5290cc9
fix
segoon 5fb4d2e
fix
segoon c749252
fix
segoon 5356fd5
fix
segoon f227cfc
fix
segoon 988fec8
work
segoon b55dc94
work
segoon 3b9b4c8
fix
segoon 41b87ba
name
segoon c2296b1
work
segoon bb78fc8
docs
segoon 17c0ee3
fixes
segoon d10a48f
work
segoon c0c5084
cmake --build
segoon 73bc66d
build fix
segoon 7d49539
work
segoon 841f53d
fix
segoon b788f56
work
segoon 27bc79d
up rocksdb
segoon 870d5bc
kafka=OFF
segoon 2e874af
w
segoon 60fbd50
fix
segoon 92b4b08
w
segoon df2a3fa
fix?
segoon a251ccd
-san
segoon 137922b
Merge remote-tracking branch 'gh/develop' into feature/alpine
segoon 9f1a334
ctest
segoon File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
name: Alpine Linux | ||
|
||
'on': | ||
pull_request: | ||
push: | ||
branches: | ||
- master | ||
- develop | ||
- feature/** | ||
|
||
env: | ||
UBSAN_OPTIONS: print_stacktrace=1 | ||
ASAN_OPTIONS: detect_odr_violation=2 | ||
CXX: clang++-18 | ||
|
||
jobs: | ||
posix: | ||
strategy: | ||
fail-fast: false | ||
|
||
name: Alpine Linux | ||
runs-on: ubuntu-24.04 | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: Setup latest Alpine Linux | ||
uses: jirutka/setup-alpine@v1 | ||
|
||
- name: Run script inside Alpine chroot as root | ||
shell: alpine.sh --root {0} | ||
run: | | ||
pwd | ||
cat /etc/alpine-release | ||
apk add $(cat scripts/docs/en/deps/alpine.md) | ||
|
||
- name: Run cmake | ||
shell: alpine.sh {0} | ||
run: | | ||
pwd | ||
mkdir build_debug | ||
cd build_debug | ||
cmake \ | ||
-DCMAKE_BUILD_TYPE=Debug \ | ||
-DUSERVER_NO_WERROR=OFF \ | ||
-DUSERVER_BUILD_ALL_COMPONENTS=1 \ | ||
-DUSERVER_BUILD_SAMPLES=1 \ | ||
-DUSERVER_BUILD_TESTS=1 \ | ||
-DUSERVER_FEATURE_JEMALLOC=OFF \ | ||
-DUSERVER_FEATURE_KAFKA=OFF \ | ||
-DUSERVER_FEATURE_STACKTRACE=OFF \ | ||
-DUSERVER_DOWNLOAD_PACKAGE_PROTOBUF=ON \ | ||
-DUSERVER_DISABLE_RSEQ_ACCELERATION=YES \ | ||
.. | ||
|
||
- name: Compile | ||
shell: alpine.sh {0} | ||
run: | | ||
cd build_debug | ||
make -j$(nproc) | ||
|
||
- name: Run tests | ||
shell: alpine.sh {0} | ||
run: | | ||
cd build_debug | ||
ctest -V |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
boost1.84-dev | ||
clang17-extra-tools | ||
clang18 | ||
cmake | ||
curl-dev | ||
gflags-dev | ||
git | ||
grpc-cpp | ||
grpc-dev | ||
hiredis-dev | ||
jemalloc-dev | ||
krb5-dev | ||
libev-dev | ||
lz4-dev | ||
lz4-static | ||
make | ||
mariadb-dev | ||
mariadb-static | ||
mongo-c-driver-dev | ||
nghttp2-dev | ||
openldap-dev | ||
postgresql16 | ||
postgresql16-dev | ||
protobuf-c-compiler | ||
protobuf-c-dev | ||
protobuf-dev | ||
protoc | ||
pugixml-dev | ||
py3-jinja2 | ||
py3-protobuf | ||
python3 | ||
python3-dev | ||
snappy-dev | ||
snappy-static | ||
yaml-cpp-dev | ||
compiler-rt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: