-
Notifications
You must be signed in to change notification settings - Fork 255
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d49be23
commit ebbf522
Showing
5 changed files
with
39 additions
and
78 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
|
@@ -56,12 +56,12 @@ jobs: | |
working-directory: ${{github.workspace}}/build | ||
run: ctest -C ${{matrix.mode}} -j 1 -V | ||
|
||
ubuntu_clang_pb: | ||
ubuntu_clang_tsan: | ||
strategy: | ||
matrix: | ||
mode: [ Release, Debug ] | ||
libcxx: [ OFF ] | ||
ssl: [ ON, OFF ] | ||
ssl: [ ON ] | ||
|
||
runs-on: ubuntu-22.04 | ||
|
||
|
@@ -72,7 +72,6 @@ jobs: | |
- name: Install Dependencies | ||
run: | | ||
sudo apt-get install openssl libssl-dev | ||
sudo apt-get install libprotobuf-dev protobuf-compiler libprotoc-dev | ||
- name: Install ninja-build tool | ||
uses: seanmiddleditch/gha-setup-ninja@v3 | ||
|
@@ -85,9 +84,6 @@ jobs: | |
chmod +x ./llvm.sh | ||
sudo ./llvm.sh 17 | ||
- name: Check protoc | ||
run: protoc --version | ||
|
||
- name: ccache | ||
uses: hendrikmuhs/[email protected] | ||
with: | ||
|
@@ -98,13 +94,15 @@ jobs: | |
cmake -B ${{github.workspace}}/build -G Ninja \ | ||
-DCMAKE_BUILD_TYPE=${{matrix.mode}} -DBUILD_WITH_LIBCXX=${{matrix.libcxx}} -DYLT_ENABLE_SSL=${{matrix.ssl}} \ | ||
-DUSE_CCACHE=${{env.ccache}} -DCMAKE_C_COMPILER=clang-17 -DCMAKE_CXX_COMPILER=clang++-17\ | ||
-DBUILD_CORO_HTTP=OFF -DBUILD_CORO_IO=OFF -DBUILD_STRUCT_PB=ON -DBUILD_CORO_RPC=OFF -DBUILD_EASYLOG=OFF -DBUILD_STRUCT_JSON=OFF -DBUILD_STRUCT_XML=OFF -DBUILD_STRUCT_YAML=OFF -DBUILD_UTIL=OFF | ||
-DENABLE_TSAN=ON | ||
- name: Build | ||
run: cmake --build ${{github.workspace}}/build --config ${{matrix.mode}} | ||
|
||
- name: Test | ||
working-directory: ${{github.workspace}}/build | ||
run: ctest -C ${{matrix.mode}} -j 1 -V | ||
run: | | ||
export TSAN_OPTIONS="halt_on_error=1" | ||
ctest -C ${{matrix.mode}} -j 1 -V | ||
|
||
ubuntu_clang_for_liburing: | ||
strategy: | ||
|
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 |
---|---|---|
|
@@ -48,47 +48,6 @@ jobs: | |
working-directory: ${{github.workspace}}/build | ||
run: ctest -C ${{matrix.mode}} -j 1 -V | ||
|
||
ubuntu_gcc_pb: | ||
strategy: | ||
matrix: | ||
mode: [ Debug ] #[Release, Debug] | ||
ssl: [ ON, OFF ] | ||
runs-on: ubuntu-22.04 | ||
|
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
|
||
- name: Install Dependencies | ||
run: | | ||
sudo apt-get install openssl libssl-dev | ||
sudo apt-get install libprotobuf-dev protobuf-compiler libprotoc-dev | ||
- name: Check protoc | ||
run: protoc --version | ||
|
||
- name: Install ninja-build tool | ||
uses: seanmiddleditch/gha-setup-ninja@v3 | ||
|
||
- name: ccache | ||
uses: hendrikmuhs/[email protected] | ||
with: | ||
key: ${{ github.job }}-${{ matrix.mode}}-ssl( ${{ matrix.ssl}} ) | ||
|
||
- name: Configure | ||
run: | | ||
CXX=g++ CC=gcc | ||
cmake -B ${{github.workspace}}/build -G Ninja \ | ||
-DCMAKE_BUILD_TYPE=${{matrix.mode}} -DBUILD_WITH_LIBCXX=${{matrix.libcxx}} -DYLT_ENABLE_SSL=${{matrix.ssl}} \ | ||
-DUSE_CCACHE=${{env.ccache}} \ | ||
-DBUILD_CORO_HTTP=OFF -DBUILD_CORO_IO=OFF -DBUILD_STRUCT_PB=ON -DBUILD_CORO_RPC=OFF -DBUILD_EASYLOG=OFF -DBUILD_STRUCT_JSON=OFF -DBUILD_STRUCT_XML=OFF -DBUILD_STRUCT_YAML=OFF -DBUILD_UTIL=OFF | ||
- name: Build | ||
run: cmake --build ${{github.workspace}}/build --config ${{matrix.mode}} | ||
|
||
- name: Test | ||
working-directory: ${{github.workspace}}/build | ||
run: ctest -C ${{matrix.mode}} -j 1 -V | ||
|
||
ubuntu_gcc_for_liburing: | ||
strategy: | ||
matrix: | ||
|
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